One of my Node.js server applications at work had constant 502 errors at AWS ELB (Application Load Balancer) in front of it (HTTPCode_ELB_502_Count). The number was very small. It was around 0.001% of the entire requests. It was not happening on other applications with the same configuration but with shorter response times and more throughputs. Because of the low frequency, I hadn’t bothered inves
![Check your server.keepAliveTimeout](https://cdn-ak-scissors.b.st-hatena.com/image/square/9d34fd6d89783e52305565a66ffc6dde53acbf07/height=288;version=1;width=512/https%3A%2F%2Fshuheikagawa.com%2Fcached%2FfglGEZVLgZ-680.png)