#Every function execution is failing

38 messages · Page 1 of 1 (latest)

humble swan
#

Its failing with message Unexpected curl error between proxy and executor ID exc4 (110): Operation timed out\nError Code: 500 how Do i go about debugging this?
I am using AppWrite Cloud

#

This happen for both scheduled trigger as well as custom trigger.

#

I added mutliple logs throughout the main funtion to get context of where the execution is reaching, but, no logs are getting printed also.

magic junco
#

And was the function created before or after the upgrade?

humble swan
#

not sure of any upgrade, but it was created last week, it worked okay, but was changing some code now, since then its continuously failing.
Today i deleted the function and re-created new one thinking some network issue, internal to the system, but even that did not help, still getting the same error.
Code is Python

#

selected runtime is python 3.9

magic junco
humble swan
#

hmm added pandas to it for some calculation, that increased the build size from 7 mb to 44 mb, but the code works fine, locally, when i remove the context and test it

magic junco
humble swan
#

added pandas to requirement.txt

magic junco
humble swan
#

sure any pointers how i can debug this?

magic junco
#

I'm exaggerating...I always highly suggest creating the function incrementally and testing it incrementally in Appwrite because if you deploy to Appwrite at the end and you run into an error like this, you have no idea where to start troubleshooting

magic junco
humble swan
#

kept the same, that was part of the python starter function pip install -r requirements.txt

#

i used that as template

magic junco
humble swan
#

why?

magic junco
magic junco
humble swan
#

no the build is working fine, the issue is when i hit the curl

#

its the execution that is failing

#

with that particular error

magic junco
humble swan
#

after i hit this, and when i check the errors for the execution

magic junco
#

You can also share your code too and I can scan it quickly.

You can also try to increase the function timeout

humble swan
#

did that, maxed it to 900 sec, still the same 😦

magic junco
humble swan
#

after that much time

magic junco
humble swan
#

the code ^^

#

i will cycle the key now

magic junco
humble swan
#

okay got it, let me try that, will update

magic junco
magic junco