Back

Timeout inside appwrite function

  • 1
  • Tools
  • Functions
  • Cloud
Horsty - Cyril (he/him)
21 Jun, 2024, 11:03

I get this error sometimse on my batch process I update 1000 documents in an appwrite function, here i get this error on the 386 doc with an ip i don't know

[386] Error: Error: connect ETIMEDOUT 157.230.79.70:443

TL;DR
Developers are experiencing timeout errors randomly while using functions in Appwrite cloud. The issue occurs specifically with batch processes, usually around the 386th document update. A possible solution suggested is to implement a sleep-like logic, but the error persists. The error message received is "connect ETIMEDOUT 157.230.79.70:443".
D5
21 Jun, 2024, 11:13

This is in appwrite cloud?

D5
21 Jun, 2024, 11:13

What's the code?

darShan
21 Jun, 2024, 11:23

sameeee issue. been seeing this for a while now. batch processess usually cause this. i've tried to use some sleep like logic, doesn't really help. the same code works fine locally.

Horsty - Cyril (he/him)
21 Jun, 2024, 11:24

Yes on appwrite cloud

D5
21 Jun, 2024, 11:28

The issue only happens with functions?

darShan
21 Jun, 2024, 11:29

yeah, self hosted too

Horsty - Cyril (he/him)
21 Jun, 2024, 11:37

Yes only fonctions

Horsty - Cyril (he/him)
21 Jun, 2024, 11:38

It’s totally random =\

Horsty - Cyril (he/him)
21 Jun, 2024, 11:38

Not often in my case but it’s happen sometimes

D5
21 Jun, 2024, 11:38

What's the code to reply the issue? Could someone send an example?

Horsty - Cyril (he/him)
21 Jun, 2024, 11:40

@D5 I have tag you in other thread where I describe the code and the process

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