coollabsio / coolify

An open-source & self-hostable Heroku / Netlify / Vercel alternative.
https://coolify.io
Apache License 2.0
34.62k stars 1.89k forks source link

[Bug]: Cannot view pop-up panel when restarting a service via proxy #4314

Open Bilge opened 6 days ago

Bilge commented 6 days ago

Error Message and Logs

502 Bad Gateway

2024/11/15 23:50:47 [error] 1060871#1060871: *3930357 upstream prematurely closed connection while reading response header from upstream, client: REDACTED, server: REDACTED, request: "POST /livewire/update HTTP/2.0", upstream: "https://127.0.0.1:444/livewire/update", host: "REDACTED", referrer: "https://REDACTED/project/REDACTED/production/service/REDACTED"

Steps to Reproduce

  1. Restart a service whilst connected to Coolify over HTTPS via Caddy proxy (in this case, Windmill)

Example Repository URL

No response

Coolify Version

v4.0.0-beta.370

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 22.04.4 LTS

Additional Information

The above error message is from NGINX because I have NGINX sitting in front of Caddy, but this detail should not matter since it proxies directly to Caddy and every other page seems to work, especially for non-Coolify services. I think perhaps Caddy is being reloaded or restarted when the service is restarted, which causes the popup panel connection to be interrupted before it completes. To be clear, this popup panel usually shows the Docker logs of restarting the service containers, but it doesn't work when accessing Coolify via Caddy.