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
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...
- functions domain error
I cannot set up the domain for function I’m trying to add the domain api.example.com I can only use Cloudflare as the DNS provider because my domain provider do...
- Storage Bucket Permissions
Hey folks, when enabling CRUD on the bucket level for the role any, should the bucket be accessible when using a session client?