I’m using a realm function to call a HTTP endpoint which is running on Lambda@Edge.
Fairly frequently, event under light load, the request is failing with “HTTP request failed: Post “…url…”: i/o timeout”
I am using the context.http module to make the request.
The function is executed by a trigger.
I have noticed that every time this happens, the duration of the request is around 5000ms. My guess is that Lambda is having a cold start and exceeding 5 seconds, I cannot however see any way of configuring the HTTP module timeout to wait a little longer for requests. This may not be the issue however.
Anyone have any ideas or experienced a similar issue?