I have a self hosted appwrite on a digital ocean and of my executions failed with a error saying "Failed to connect to appwrite-executor port 80 after 3 ms: Couldn't connect to server with status code 0\nError Code: 0"
What is that error?
Could be a docker network problem. What are the networks the openruntimes-executor and appwrite containers are in?
Sorry for my ignorance, but how can I see that? I'm still learning docker π€
docker network ls
to show the networks first
I didn't see your reply until I entered this post to check again, sorry for that
This is what the docker network ls shows
What's the containers section of docker inspect appwrite
?
Is this the containers part?
[ { "Type": "volume", "Name": "appwrite_appwrite-certificates", "Source": "/var/lib/docker/volumes/appwrite_appwrite-certificates/_data", "Destination": "/storage/certificates", "Driver": "local", "Mode": "z", "RW": true, "Propagation": "" }, { "Type": "volume", "Name": "appwrite_appwrite-functions", "Source": "/var/lib/docker/volumes/appwrite_appwrite-functions/_data", "Destination": "/storage/functions", "Driver": "local", "Mode": "z", "RW": true, "Propagation": "" }, { "Type": "volume", "Name": "appwrite_appwrite-uploads", "Source": "/var/lib/docker/volumes/appwrite_appwrite-uploads/_data", "Destination": "/storage/uploads", "Driver": "local", "Mode": "z", "RW": true, "Propagation": "" }, { "Type": "volume", "Name": "appwrite_appwrite-cache", "Source": "/var/lib/docker/volumes/appwrite_appwrite-cache/_data", "Destination": "/storage/cache", "Driver": "local", "Mode": "z", "RW": true, "Propagation": "" }, { "Type": "volume", "Name": "appwrite_appwrite-config", "Source": "/var/lib/docker/volumes/appwrite_appwrite-config/_data", "Destination": "/storage/config", "Driver": "local", "Mode": "z", "RW": true, "Propagation": "" } ],
No this is the volumes part...and I think it's of the container...
How about docker network inspect appwrite
?
heres the containers part
So the executor and worker are in the same network. Can you inspect the executor container and share the networks section?
alright let me check π
sorry for being a noob with Docker, but how can I check that?
I try this commands but it doesn't work: docker network inspect openruntimes-executor docker inspect openruntimes-executor docker inspect appwrite-executor
One of the bottom two should work. I never remember the name of the executor container. You can also try passing the ID of the container to docker inspect
Suddenly the docker inspect openruntimes-executor command worked
So the appwrite-executor alias is set so the hostname should route to that container correctly π§
why could this have happened and how can I solve it?
Recommended threads
- 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...
- Create admin user?
I'm not really sure how this is supposed to work, I installed Appwrite through docker-compose and set it up. When I launched the app and went into it, I created...