johannes0910
Regular "Gateway Timeout" errors from Mattermost / Traefik
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
10 replies
Regular "Gateway Timeout" errors from Mattermost / Traefik
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.
10 replies
Impossible to start two deploys at once?
oho, and now the second docker image is confused. I cannot get a terminal:
The Logs section show the container as "restarting" as well.
shows me an error about unknown host in my proxy conf. OK my bad, why didn't it show the error in Dokploy?
OK so I fixed my broken nginx.conf.
Dokploy is still conused - not showing any logs or giving me a preciuos terminal. Both things work using CLI, so it's not Docker or my incompetence
2 replies
Headless Chrome Timing Out on Dokploy Deployment
it's really weird, the code now also fails with a normal Docker image on another VPS. So I don't think the issue is particularly related to Dokploy. I created an issue with a minimal sample at the Chrome wrapper lib that I'm using https://github.com/YusukeIwaki/puppeteer-ruby/issues/339
38 replies
Headless Chrome Timing Out on Dokploy Deployment
the Puma threads don't help me, because I don't fully grasp how things work internally. Rails usually works like magic... until it doesn't.
Updating to Rails 8 was another thing I wanted to try - but then again, it works on my machine (tm)
38 replies
Headless Chrome Timing Out on Dokploy Deployment
yes. Controller Actions are HTTP Endpoints, such as /foo
Alternatively I start a background job that gets processed in the same process as the webserver. Both fail in production on Dokploy
38 replies
Headless Chrome Timing Out on Dokploy Deployment
1) Working:
- Dokploy terminal
- bin/rails console
- ExtractContent.new.fetch_content("https://www.google.com")
2) Not working:
- The same ExtractContent.new.fetch_content called via a controller action or background job
Both are running in the same container.
38 replies
Headless Chrome Timing Out on Dokploy Deployment
From the issue:
"Dokploy doesn't do anything than just building the image and running in to a container, so is basically the same thing you run the commands manually in your server, but dokploy automatize that process"
That's what I assume too and that's why I don't understand why it doesn't work.
It doesn't help me though. My server has 16gb ram and lots of cores. It's not a resource issue. Besides, it works in rails console???
38 replies