Backend unavailable — start sensing-server #55
Reference in New Issue
Block a user
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?
I ran this on WSL2 and here is the commands I use:
Fixed in 3b72f353 and the Docker Hub image has been republished.
Root Cause
The UI had three hardcoded port references that didn't match the Docker container:
The server binary defaults to HTTP on 8080 and WebSocket on 8765. Inside Docker, the Dockerfile passes `--http-port 3000 --ws-port 3001`. The UI was ignoring the actual serving port and always trying 8080/8765 — which don't exist inside the container.
What Changed
UI auto-detects port — `BASE_URL` and WebSocket URL now use `window.location.origin` / `window.location.host`, so the UI works on any port (Docker :3000, native :8080, custom)
WebSocket on HTTP port — Added `/ws/sensing` route to the HTTP server (port 3000) so the UI only needs one port to reach both REST and WebSocket. The dedicated WS port (3001) still works for direct connections.
Verify
The "Backend unavailable" warning should no longer appear. The Sensing tab's Gaussian splat visualization should connect and show live simulated data.
Verified endpoints on the new image:
the UI is a work on progress. i generally use Claude Code as the UI.
great