Skip to content

Client loses Lambda connection after 300 secs (per OP from #2325) #2510

@cajund

Description

@cajund

Describe the bug
This is in reference to #2325 - that issue was closed without a resolution.

Evidence here:

From the scripts log. Note the client is set to time out at 15 minutes, and it does so as instructed.

2020-07-11 19:25:33.237197	DEBUG: Start Lambda: 07/11/2020, 19:25:33
2020-07-11 19:40:33.431392	ERROR: Error invoking lambda
2020-07-11 19:40:33.431446	ERROR: Read timeout on endpoint URL: "https://lambda.us-east-1.amazonaws.com/2015-03-31/functions/*********/invocations"
2020-07-11 19:40:33.431480	DEBUG: Finish Lambda: 07/11/2020, 19:40:33

From the Cloudwatch logs - note the Lambda finishes in just about 7 minutes:

2020-07-11T15:25:35.093-04:00  START RequestId: 6204a7f0-1673-432f-9098-d1b4b5c2de8e Version: $LATEST
2020-07-11T15:32:32.042-04:00  END RequestId: 6204a7f0-1673-432f-9098-d1b4b5c2de8e
2020-07-11T15:32:32.042-04:00  REPORT RequestId: 6204a7f0-1673-432f-9098-d1b4b5c2de8e	Duration: 416944.79 ms	Billed Duration: 417000 ms	Memory Size: 128 MB	Max Memory Used: 92 MB	Init Duration: 962.30 ms	

I cannot verify the original statement about a 300 second issue, but this worked fine for a long time until the data set on which this was operating grew large enough to extend the Lambda execution time to longer than 5 minutes. So there is definitely something happening with the client's connection to Lambda independent of the timeout set for the client.

BTW, this is happening with v.1.10.45 but I will be testing with the latest version. Expecting the same result given there are no other discussions regarding this issue.

Thanks for you help

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions