Cannot access Dokploy dashboard on domain. How can I debug CloudFlare bad gateway error?
I use a VPS on Hetzner and a domain on CloudFlare. I have two A records on Cloudflare pointing to the IP address of the server. 1.
*.domain.com
*.domain.com
2.
domain.com
domain.com
In Dokploy I successfuly deployed an app and specified the domain to be
domain.com
domain.com
. I also specified the Dokploy domain to be available on
dokploy.domain.com
dokploy.domain.com
in Dokploy settings.
This setup worked this week. I stopped and started the server on Hetzner. While the app is still available on
domain.com
domain.com
I no longer can access the Dokploy dashobard on
dokploy.domain.com
dokploy.domain.com
.
I am getting a bad gateway error from CloudFlare:
Bad gateway Error code 502Visit cloudflare.com for more information.2024-08-28 13:59:35 UTC
Bad gateway Error code 502Visit cloudflare.com for more information.2024-08-28 13:59:35 UTC
Restarting the VPS doesn't help. And Im unsure of how to debug this, any help is welcome.
The
dokploy.domain.com
dokploy.domain.com
worked this week without problems. I am unsure of what caused the issue to happen. - Why would a VPS restart cause this? - I think cleaning the storage in Settings might have caused this? But I don't know...