Skip to content
Back

Urgent: Functions randomly failing with "Failed to connect to 68a3931c41438 port 3000 after 5001 ms"

  • 0
  • Functions
Y
22 Aug, 2025, 01:02

Hi all, I’m facing a critical issue with my Appwrite self-hosted instance where some of my functions have randomly started failing with the following error:

Internal curl errors has occurred within the executor! Error Number: 28. Error Msg: Failed to connect to 68a3931c41438 port 3000 after 5001 ms: Timeout was reached Error Code: 500

• If I redeploy the affected function, it works again, but after some time, the same error returns. • After redeploying, the function execution time jumps to 5–8 seconds for a while (normally it’s <100ms). • This issue started on Appwrite 1.6.1 and persists after upgrading to 1.6.2. • Issue occurs randomly, not tied to specific function code • Redeploying or compose down/up is only a temporary fix • I also noticed that when running ‎docker compose down, I get this error:

failed to remove network runtimes: Error response from daemon: error while removing network: network runtimes id 63e0f1892c4c2e55eff9168e2bb654909ac30a2f721f232711294f3c9ba8d1d2 has active endpoints

This started appearing around the same time as the function failures.

This is causing major disruption for us.

Any assistance or suggestions would be greatly appreciated!

Thanks in advance for any help!

TL;DR
Critical issue with functions randomly failing with "Failed to connect to 68a3931c41438 port 3000 after 5001 ms" error. Redeploy of function temporarily fixes it but problem returns. Issue not related to specific code, started on Appwrite 1.6.1, persists on 1.6.2. Redeploment or compose down/up only temporary fixes. Docker compose down error also occurring. Major disruption.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more