Connection hangs/does not timeout after 350 seconds. #2968
Unanswered
mittalsuraj18
asked this question in
Potential Issue
Replies: 1 comment 5 replies
-
Okay, it'd be helpful to understand if this behaviour is consistent across different clients...
Also can you show what the traceback is for the timeout here? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When an application is running on an AWS VPC and using NAT gateway to communicate, there is a specific behavior in NAT gateway which is described here https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-troubleshooting.html as such
For example, if i have a single connection. and do something like,
The connection does not respond to RST packet. And times out after 1200 seconds instead of 350 seconds.
The behavior should have been either of the following
How i currently have solved it is by doing a periodic call every 60 seconds, which just calls a healtcheck endpoint of the same baseurl, to use the same connection.
Beta Was this translation helpful? Give feedback.
All reactions