Skip to content
Back

Functions timing out

  • 0
  • Self Hosted
  • Functions
faye
16 Dec, 2024, 16:49

Hey, on 1.6.0 self hosted, my import products function is still giving me this error:

Synchronous function execution timed out. Use asynchronous execution instead, or ensure the execution duration doesn't exceed 30 seconds.\nError Code: 408

TL;DR
Developers are experiencing timeouts with functions, particularly async executions with a 60s timeout limit. An error code 408 is occurring for an import products function, suggesting a synchronous execution issue. The solution recommended is to switch to asynchronous execution or ensure the function's duration is under 30 seconds.
faye
16 Dec, 2024, 16:49

cc: @Meldiron

D5
16 Dec, 2024, 16:51

The execution needs more than 30s?

faye
16 Dec, 2024, 16:54

yes, but the timeout is set to 60s

Joshi
16 Dec, 2024, 16:54

Only affects aync executions

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