And what about the build command?
Every function execution is failing
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 1: Thread
kept the same, that was part of the python starter function pip install -r requirements.txt
Rank 1: Thread
i used that as template
That's weird....I'm surprised that built successfully...
Rank 1: Thread
why?
Maybe you can start from a starter template and add code incrementally testing in Appwrite as you go
It didn't work before
Rank 1: Thread
no the build is working fine, the issue is when i hit the curl
Rank 1: Thread
its the execution that is failing
Rank 1: Thread
with that particular error
What do you mean when YOU hit the curl?
Rank 1: Thread
after i hit this, and when i check the errors for the execution
Anyways, I still recommend this
You can also share your code too and I can scan it quickly.
You can also try to increase the function timeout
Rank 1: Thread
did that, maxed it to 900 sec, still the same 😦
And the execution fails after how long?
Rank 1: Thread
after that much time
Interesting
Rank 1: Thread
the code ^^
Rank 1: Thread
i will cycle the key now
You should probably not pass exceptions directly into context.err(). Maybe convert to string first
Rank 1: Thread
okay got it, let me try that, will update
Technically, it is possible for there to be an infinite loop with your whiles
This is still probably the best approach
Rank 1: Thread
makes sense, that is possible, will put in max retries, and the function execution is not completing , but i was expecting some of the context logs to get logged, but none did, hence, did not debug in the line of infinite loop