You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have some tests running on aws lambda and lately they've been failing with the following message:
Run gagoar/invoke-aws-lambda@v3.3.1 with: FunctionName: BackendTests REGION: eu-west-1 AWS_ACCESS_KEY_ID: *** AWS_SECRET_ACCESS_KEY: *** SUCCEED_ON_FUNCTION_FAILURE: false MAX_RETRIES: 0 HTTP_TIMEOUT: 12000000 LogType: Tail Payload: [{"suite": "shipments","verbose": true},{"suite": "shipment-list","verbose": true},{"suite": "shipment-api","verbose": true}] InvocationType: RequestResponse Error: read ECONNRESET
This error seems to happen after around 4-5 minutes even though I set HTTP_TIMEOUT to a very high number and my tests are passing.
The text was updated successfully, but these errors were encountered:
I tried upgrading to v3.3.2 and it still fails every time. I have several actions that use invoke-aws-lambda, but only my longest running one fails.
The new error message is Run gagoar/invoke-aws-lambda@v3.3.2 with: FunctionName: BackendTests REGION: eu-west-1 AWS_ACCESS_KEY_ID: *** AWS_SECRET_ACCESS_KEY: *** SUCCEED_ON_FUNCTION_FAILURE: false MAX_RETRIES: 0 HTTP_TIMEOUT: 12000000 LogType: None Payload: [{"suite": "shipments","verbose": true},{"suite": "shipment-list","verbose": true},{"suite": "shipment-api","verbose": true}] InvocationType: RequestResponse Error: Inaccessible host: lambda.eu-west-1.amazonaws.com'. This service may not be available in the eu-west-1' region.
There is mention online about setting the keep-alive in the http agent but I did not manage to get that to work. I did however manage to hack a fix by updating to aws-sdk-js-v3 which enables keep-alive by default.
Hello,
I have some tests running on aws lambda and lately they've been failing with the following message:
Run gagoar/invoke-aws-lambda@v3.3.1 with: FunctionName: BackendTests REGION: eu-west-1 AWS_ACCESS_KEY_ID: *** AWS_SECRET_ACCESS_KEY: *** SUCCEED_ON_FUNCTION_FAILURE: false MAX_RETRIES: 0 HTTP_TIMEOUT: 12000000 LogType: Tail Payload: [{"suite": "shipments","verbose": true},{"suite": "shipment-list","verbose": true},{"suite": "shipment-api","verbose": true}] InvocationType: RequestResponse Error: read ECONNRESET
This error seems to happen after around 4-5 minutes even though I set HTTP_TIMEOUT to a very high number and my tests are passing.
The text was updated successfully, but these errors were encountered: