I am receiving a lot of timeouts since yesterday:
The only thing I did was deploying a new release to one of my apps around the same time the timeouts started. But it’s not the actual one causing the timeouts. The one causing the timeouts did not change anything recently.
I have a nginx container running in front of my applications and I restarted it a couple of times to make sure that it’s not trying to contact outdated instances. When I ssh into the instance and CURL my app instances I don’t get any timeouts.
The log’s dont give me anything useful, just that it happens across the 3 regions nginx is deployed and displaying the 499 errors which indicate that the client closed the connection before nginx was able to serve a response from the application servers:
2022-10-11T04:56:52Z app[4f19a8e1] iad [info]45.33.100.21 - - [11/Oct/2022:04:56:52 +0000] "GET https://example.org/api/v1/health/ping HTTP/2.0" 499 0 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 29.505
2022-10-11T04:56:52Z app[3dd9e2c4] ewr [info]23.88.41.31 - - [11/Oct/2022:04:56:52 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.050
2022-10-11T04:56:53Z app[4f19a8e1] iad [info]172.105.206.169 - - [11/Oct/2022:04:56:53 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.081
2022-10-11T04:56:53Z app[4f19a8e1] iad [info]45.33.100.21 - - [11/Oct/2022:04:56:53 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.059
2022-10-11T04:56:55Z app[3dd9e2c4] ewr [info]172.105.173.108 - - [11/Oct/2022:04:56:55 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.044
2022-10-11T04:56:55Z app[22468dbb] yyz [info]45.79.47.102 - - [11/Oct/2022:04:56:55 +0000] "GET https://example.org/api/v1/health/ping HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.043
2022-10-11T04:56:58Z app[3dd9e2c4] ewr [info]168.119.96.54 - - [11/Oct/2022:04:56:58 +0000] "GET https://example.org/api/v1/health/ping HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.046
2022-10-11T04:56:59Z app[4f19a8e1] iad [info]45.33.100.21 - - [11/Oct/2022:04:56:59 +0000] "GET https://example.org/api/v1/health/ping HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.084
2022-10-11T04:57:00Z app[4f19a8e1] iad [info]74.207.228.249 - - [11/Oct/2022:04:57:00 +0000] "GET https://example.org/api/v1/health/ping HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.057
2022-10-11T04:57:05Z app[4f19a8e1] iad [info]172.104.109.161 - - [11/Oct/2022:04:57:05 +0000] "GET https://example.org/api/v1/health/redis HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.116
2022-10-11T04:57:06Z app[3dd9e2c4] ewr [info]168.119.96.203 - - [11/Oct/2022:04:57:06 +0000] "GET https://example.org/api/v1/health/redis HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.087
2022-10-11T04:57:06Z app[22468dbb] yyz [info]45.56.78.139 - - [11/Oct/2022:04:57:06 +0000] "GET https://example.org/api/v1/health/redis HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.076
2022-10-11T04:57:07Z app[3dd9e2c4] ewr [info]172.105.190.118 - - [11/Oct/2022:04:57:07 +0000] "GET https://example.org/api/v1/health/redis HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.085
2022-10-11T04:57:27Z app[3dd9e2c4] ewr [info]168.119.96.54 - - [11/Oct/2022:04:57:27 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.044
2022-10-11T04:57:27Z app[3dd9e2c4] ewr [info]23.88.41.31 - - [11/Oct/2022:04:57:27 +0000] "GET https://example.org/api/v1/health/ping HTTP/2.0" 499 0 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 29.957
2022-10-11T04:57:39Z app[4f19a8e1] iad [info]139.162.109.252 - - [11/Oct/2022:04:57:39 +0000] "GET https://example.org/api/v1/health/redis HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.100
2022-10-11T04:57:46Z app[3dd9e2c4] ewr [info]172.105.190.118 - - [11/Oct/2022:04:57:46 +0000] "GET https://example.org/api/v1/health/redis HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.082
2022-10-11T04:57:50Z app[3dd9e2c4] ewr [info]168.119.96.54 - - [11/Oct/2022:04:57:50 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.044
2022-10-11T04:57:54Z app[4f19a8e1] iad [info]172.105.206.169 - - [11/Oct/2022:04:57:54 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.058
2022-10-11T04:57:54Z app[22468dbb] yyz [info]45.79.47.102 - - [11/Oct/2022:04:57:54 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.052
2022-10-11T04:57:56Z app[3dd9e2c4] ewr [info]168.119.96.54 - - [11/Oct/2022:04:57:56 +0000] "GET https://example.org/api/v1/health/ping HTTP/2.0" 499 0 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 29.690
2022-10-11T04:58:06Z app[4f19a8e1] iad [info]45.33.100.21 - - [11/Oct/2022:04:58:06 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 499 0 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 29.595
2022-10-11T04:58:07Z app[3dd9e2c4] ewr [info]172.105.169.250 - - [11/Oct/2022:04:58:07 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 499 0 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 28.358
2022-10-11T04:58:07Z app[4f19a8e1] iad [info]172.105.206.169 - - [11/Oct/2022:04:58:07 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 499 0 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 28.618
2022-10-11T04:58:15Z app[3dd9e2c4] ewr [info]23.88.41.31 - - [11/Oct/2022:04:58:15 +0000] "GET https://example.org/api/v1/health/redis HTTP/2.0" 499 0 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 29.692
2022-10-11T04:58:16Z app[4f19a8e1] iad [info]45.33.100.21 - - [11/Oct/2022:04:58:16 +0000] "GET https://example.org/api/v1/health/redis HTTP/2.0" 499 0 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 29.803
2022-10-11T04:58:21Z app[3dd9e2c4] ewr [info]23.88.41.31 - - [11/Oct/2022:04:58:21 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 200 36 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 0.043
2022-10-11T04:58:22Z app[4f19a8e1] iad [info]45.33.100.21 - - [11/Oct/2022:04:58:22 +0000] "GET https://example.org/api/v1/health/ping HTTP/2.0" 499 0 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 29.524
2022-10-11T04:58:23Z app[3dd9e2c4] ewr [info]172.105.169.250 - - [11/Oct/2022:04:58:23 +0000] "GET https://example.org/api/v1/health/database HTTP/2.0" 499 0 "-" "Better Uptime Bot Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36" 29.292