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
What do the docker logs for the executor say?
Building container : 65196a7a4ab351c8b23e-6571cbbc0b008bd19a81
Build Stage completed in 15 seconds
[Error] Type: Exception
[Error] Message: Runtime not found. Please create the runtime.
[Error] File: /usr/src/code/app/executor.php
[Error] Line: 469
Building container : 65196a7a4ab351c8b23e-6571cbbc0b008bd19a81
Build Stage completed in 1 seconds
[Error] Type: Exception
[Error] Message: An internal curl error has occurred within the executor! Error Msg: Connection refused
[Error] File: /usr/src/code/app/executor.php
[Error] Line: 541
Executing Runtime: 65196a7a4ab351c8b23e-6571cbbc0b008bd19a81
Executing Runtime: 65196a7a4ab351c8b23e-6571cbbc0b008bd19a81
[Error] Type: Exception
[Error] Message: An internal curl error has occurred within the executor! Error Msg: Connection refused
[Error] File: /usr/src/code/app/executor.php
[Error] Line: 541
Executing Runtime: 65196a7a4ab351c8b23e-6571cbbc0b008bd19a81
[Error] Type: Exception
[Error] Message: An internal curl error has occurred within the executor! Error Msg: Operation timed out
[Error] File: /usr/src/code/app/executor.php
[Error] Line: 544
Running maintenance task ...
Successfully removed 65196a7a4ab351c8b23e-6571cbbc0b008bd19a81
also, I found this log from a container with the same name as the deployment ID
Traceback (most recent call last):
File "/usr/local/src/server.py", line 1, in <module>
from flask import Flask, request, jsonify
File "/usr/local/src/userlib/runtime-env/lib/python3.10/site-packages/flask/__init__.py", line 7, in <module>
from .app import Flask as Flask
File "/usr/local/src/userlib/runtime-env/lib/python3.10/site-packages/flask/app.py", line 28, in <module>
from . import cli
File "/usr/local/src/userlib/runtime-env/lib/python3.10/site-packages/flask/cli.py", line 18, in <module>
from .helpers import get_debug_flag
File "/usr/local/src/userlib/runtime-env/lib/python3.10/site-packages/flask/helpers.py", line 16, in <module>
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/src/userlib/runtime-env/lib/python3.10/site-packages/werkzeug/urls.py)
okay I found the problem
so Flask 2.0.1 apparently isn't compatible with Werkzeug 3.0.1
I had to put Werkzeug==2.3.8
in the requirements.txt to override the one installed in the build
I can say it's solved, but I need to use this workaround until I upgrade to the latest Appwrite.
Recommended threads
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...