When deploying my code, I’m getting these errors regardless of the region and not just after deploying, but since more than a day now and sometimes more than 10 times a second:
error.message="problem connecting to app instance" 2022-02-01T22:03:11.910 proxy[b436dd06] ams [error]error.code=2000
This also happens when I remove the health check from the fly.toml. Also, my health checks indicate that there are CONNRESET and CONNREFUSED errors happening quite randomly which also result in 525s at Cloudflare or plain browser errors similar to the error codes when bypassing Cloudflare.
Any idea where this is coming from? Any help or clues would be appreciated. :S
Edit: I’ve seen multiple similar threads about this that have been solved, but indicated health checks or errors around the time of deployments.
Have you tried deploying on of the “hello” apps for your language/framework? If that works then it’s config issue and you have something to compare against.
I can confirm that this was indeed an issue on my end that had to do with too little memory and missing swap that was different on the machines I previously used. After adding the necessary configuration and fixing it, the issue resolved itself for most request hitting our app.
Thanks for the quick response though and sorry for flagging this false alarm!