Skip to content
Back

function timed out during cold start

  • 0
  • Self Hosted
anonvt
11 Aug, 2024, 08:02

Self hosted app write instance. Just created starter function from template, it deploys fine but any execution fails with timed out. Have increased the timeout value as well.

The log shows: function timed out during cold start error code 400

Anything obvious that I am missing?

TL;DR
Developers encountering timeout issues during cold start for a self-hosted app. Created a starter function from a template and deployed it successfully, but all executions fail due to timeouts. Increased the timeout value without success. Error code 400 specifically mentions "function timed out during cold start." Concerned about potential oversight in their setup. Solution: Ensure the function is optimized for cold starts and consider revising the code to improve performance during cold starts.
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