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
- Clean install of 1.9.0 shows errors in a...
I just run a full clean install of Appwrite on my server following the Manual installation guide in the docs page. The console seems to work, visually there d...
- Setup custom domain on selfhosted behind...
Hello everyone, can anyone help me to setup a custom domain on a selfhosted appwrite instance thats running behind cloudflare tunnels? Current setup: Appwrite r...
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...