DokployD
Dokploy15mo ago
37 replies
johannes0910

Headless Chrome Timing Out on Dokploy Deployment

I have an issue getting a headless Chrome browser to run in my Ruby on Rails app deployed via Dokploy. The browser times out on all requests when started from the web server, but it works perfectly when launched from the Rails console in the Terminal (via Dokploy UI).

The goal is to fetch a remote URL and extract its content.

My Docker setup is solid, as the app runs smoothly when built and executed with plain Docker, on Coolify (a competitor), and on my local development machine. The problem appears to be specific to the Dokploy deployment.

The only feedback I get from Dokploy logs is a series of messages like:

[1] ! reaped unknown child process pid=1709 status=pid 1709 exit 0
[1] ! reaped unknown child process pid=1805 status=pid 1805 exit 0
(lots more)


I’m not sure what’s causing this. I'm not even sure it's related to Dokploy. However I'm at my wits end. Anybody have any ideas?


Dockerfile: https://pastebin.com/GywVfPT7

Chrome (error) messages when starting (successfully) from Rails console: https://pastebin.com/R7xfT21a
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Was this page helpful?