I have a haproxy instance deployed. The container starts perfectly fine but after a short while the logs show this error:
2023-01-11T14:53:08Z proxy[d9b5872f] fra [error]timed out while connecting to instance
When I ssh into the app I can make requests to haproxy just fine.
$ fly ssh console -s ? Select instance: fra.XXX.internal Connecting to fdaa:xxxx... complete / # wget 127.0.0.1 Connecting to 127.0.0.1 (127.0.0.1:80) wget: server returned error: HTTP/1.1 403 Forbidden
403 Forbidden is an expected return value in my case
The application ran perfectly for a few weeks. I redeployed the application by restart and also deleted it completely and set it up again. No luck.
There is no other error message in the logs. HAProxy starts and after 15 seconds I get the error.
2023-01-11T14:50:49Z app[d9b5872f] fra [info]Server formel1_backend/server1 is UP, reason: Layer4 check passed, check duration: 53ms. 1 active and 0 backup servers online. 0 sessions requeued, 0 total in queue. 2023-01-11T14:53:04Z proxy[d9b5872f] fra [error]timed out while connecting to instance
The application is not reachable from the outside.
What can I do?