You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Combo Studio frontend ignores proxy variables and forces hardcoded WebSocket port 20132 (/live-ws) #11331
When deploying OmniRoute in a rootless container (Podman/Docker) behind a reverse proxy (Traefik) on port 443, the Combo Studio dashboard fails to connect to the live tracking socket. The UI constantly states: Live disabled — WebSocket disconnected. Showing last known state.
Inspecting the network traffic reveals that the frontend UI ignores container-side environment configuration variables (LIVE_WS_PORT) and blindly attempts to establish a client-side connection directly to wss://omniroute.domain.tld:20132/live-ws.
Steps to Reproduce
Deploy OmniRoute inside a Podman container.
Proxy the container via Traefik routing standard traffic to the primary web interface port (PORT=20128).
Set environment parameters LIVE_WS_HOST=0.0.0.0 and attempt to override the socket port.
Access the dashboard externally via HTTPS/443 and navigate to Combo Studio.
Inspect the Network Tab (WS filter).
Expected Behavior
The frontend should recognize when it is being served via a reverse proxy/different port context and build its WebSocket handshake relative to the origin host/port (e.g., using a standard path prefix like /live-ws over the established web port), or respect a client-facing environment configuration variable.
Actual Behavior
The browser attempts a connection directly to external port 20132, completely bypassing the proxy topology and failing.
Test Impact
Unsure
Error Logs / Output
Screenshots
No response
Additional Context
It seems like src/hooks/useLiveDashboard.ts function getDefaultWsUrl() hardcodes literal WebSocket port 20132 on every browser-side path, ignoring the server's actual LIVE_WS_PORT config.
Activity
fix(dashboard): honour the live WebSocket port the handshake reports (#…
fix(dashboard): restore resolveLiveWsUrl/sanitizeLiveWsPort dropped f…
fix(dashboard): implement resolveLiveWsUrl/sanitizeLiveWsPort in wsPath
fix(cli): write jcode settings as [providers.omniroute] in config.toml (
fix(ws): remove duplicate sanitizeLiveWsPort/resolveLiveWsUrl declara…
fix(cli): write jcode settings as [providers.omniroute] in config.toml (
fix(dashboard): honour the live WebSocket port the handshake reports (c…