AlanaOriginal post
Python Developer
An internal curl error has occurred within the executor! Error Msg: Operation timed out
My code:
def main(req, res):
return res.send("Hello World")
I'm running Appwrite 1.2.1
Summary
Recently created Appwrite Functions are consistently failing. The issue was identified as an incompatibility between Flask 2.0.1 and Werkzeug 3.0.1. To resolve this, the user had to include `Werkzeug==2.3.8` in the requirements.txt file. Additionally, a log from a container with the same name as the deployment ID showed an ImportError when trying to import 'url_quote' from 'werkzeug.urls'. The error message also mentioned that the runtime was not found and there was an internal curl error with a connection refused or operation timed out. The user is currently using Appwrite