http socket might get reset instead of normal close while handling timeout #26166
Labels
help wanted
Issues that need assistance from volunteers or PRs that need help to proceed.
http
Issues or PRs related to the http subsystem.
We were experiencing unexpected dropped connections between AWS ALB and nodejs application resulting in 502 errors from load balancer.
Managed to replicate a condition when nodejs abnormally closes socket with RST packet instead of normal FIN packets.
Here's exact conditions:
We kept doing requests to the same connection every 10 seconds to trigger the condition.
Note that data was received and acknowledged, but instead of handling data or closing socket in a normal way nodejs reset the tcp connection.
The text was updated successfully, but these errors were encountered: