Regular "Gateway Timeout" errors from Mattermost / Traefik
I'm hosting Mattermost. While it works, the service is super unstable. Every couple of minutes I receive a 504 error from the HTTP service from traefik. After a couple of seconds it works again.
Using a terminal in the machine, I can do "curl http://localhost:8065" and it works. So the service is running and the issue stems from traefik.
The system is not used, it's just me testing it. So it's not a load issue.
What can I do to analyze / fix the issue?
This is the error I get in the logs:
5 Replies
This is the (standard) docker-compose I use to set it up:
The last uptime checks ... lots of short downtimes
all other containers work fine, so it's just Mattermost having issues. I'm at the latest dokploy version, a system restart did not help
After a system reboot mattermost requests to the public domain failed with 504. While the terminal & curl to localhost worked fine and there were no apparant errors.
Redeploying and rebuilding didn't help.
I then did server, space, clean all (in Dokploy). The machine became available and has been running fine for 30 minutes now.
Did you used dokploy-network in each service?
aaaand now it's gone again, not coing up. So it wasn't the docker cache. See the above docker-compose file. I had to create an app-network (for some reason) to get it work
this is the docker inspect of the mattermost image: https://pastecode.io/s/z4iik55m
Gateway Timeout on public domain, works via terminal on localhost.
Traefik Log
yeah but if you want to use a domain you need to link all the services to dokploy-network
ok I switched the network to dokploy yesterday. And the machine ran through.
So while creating another network works, in principle, it's too unreliable.
Thanks for the help!