I am executing a very simple hello world Python function. I have restarted my containers. The error alternates from "Error Msg: Could not resolve host: 651d27bceddca7186c6c-652937f899eca464d919" to "An internal curl error has occurred within the executor!". I have gone through all the solutions but I can't go past this. Could someone help me out here? Thanks
What's your Appwrite version ?
1.3.7
What do you get after running docker compose logs appwrite-executor
Attached screenshot on the question
Those logs are from executor container?
Or from appwrite main container?
Executor
What's your function code? Does it ever work? Or does it error every now and then?
I am in fact just printing Hello World. nothing much
If that's the only thing you're doing, that won't work
Appwrite functions must follow a certain format and you need to return a response
Isn't this example outdated ? It doesn't use context
I'm lookin for a new working function example... All my functions broke since the upgrade
Yes because the original poster is on 1.3.7
No need to post in other people's threads. Just wait after you've created your post
Recommended threads
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- Error trying to deploy functions from CL...
✗ Error • on-auth-create (6a00b2ab000c9ce2949b) • Server Error ✗ Error: No functions were pushed. Prject ID: 69ffe0270033a4ac420a
- Intermittent Deploy and Execution Errors...
Project: project-fra-658e2f5f4ba30df91177 Function ID: 69bde006001c56757f49 **Several execution errors with:** Timed out waiting for runtime.\nError Code: 400...