Back

Functions Error

  • 0
  • Functions
  • Web
  • Cloud
Mordi Goldstein
12 Mar, 2024, 10:39

I am getting this error: Multiple internal curl errors has occurred within the executor! Error Number: 111. Error Msg: Connection refused\nError Code: 500

TL;DR
Avoid logging excessive data, as it can cause function errors in Appwrite cloud. User successfully ran function with minimal logs. Error may be due to multiple curl errors, causing a connection refusal. Try redeploying the function to resolve.
ideclon
12 Mar, 2024, 10:41

Can you please try just redeploying? This happens sometimes

Mordi Goldstein
12 Mar, 2024, 10:46

Redeploying doesn't fix it unfortunately, @ideclon

ideclon
12 Mar, 2024, 10:50

This is in Cloud? Did this just start happening, or is it a new Function?

Mordi Goldstein
12 Mar, 2024, 10:52

In cloud and it just started happening

Faye
12 Mar, 2024, 10:54

Hey, what's your function code looking like?

Mordi Goldstein
12 Mar, 2024, 10:59

I just removed everything except for 2 logs and was able to successfully execute the function from my Appwrite console. I'm going to slowly add stuff back in and see where it breaks

Faye
12 Mar, 2024, 10:59

Make sure to not log too much data, that usually breaks the function.

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