P0 hosted: WebSocket transport must traverse a reverse proxy on the standard HTTPS port #72
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority:P1
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/quasar#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
frontend/src/control-plane/client.ts#defaultWebSocketUrlhardcodes port 8081:\`${scheme}://``${window.location.hostname}:8081?session=...`. A hosted deployment behind the shared web origin (Cloudflare -> ord-edge -> mallcop -> web Caddy on 443, quasar.starintel.actor) cannot expose a second public port, so the browser can never reach the control-plane WebSocket: the hosted UI is permanently standalone.The websocket server also binds 127.0.0.1:8081 by default; behind the origin's reverse proxy it needs a path-mapped same-origin route.
Required
quasar-control-wsmeta tag emitted alongside the existingquasar-session-token), falling back to today's behavior for local/desktop use./control-ws) through the reverse proxy while CLOG keeps serving the SPA.Acceptance