[bug] Tower World stuck on INITIALIZING — backend unreachable #5
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?
Problem
The Tower World frontend at
/tower/loads but never completes initialization.Connection status shows OFFLINE. AGENTS: 0, JOBS: 0, FPS: --.
The HUD elements are all present in the DOM (chat input, agent list, transcript
controls, presence HUD, bark container) but nothing activates because the
WebSocket/backend connection never establishes.
Root Cause
The backend agent service (tower-hermes) is not running, or the WebSocket
endpoint the frontend expects is unreachable. The frontend has no timeout or
error handling for this case — it just says "INITIALIZING..." forever.
Acceptance Criteria
(e.g. "Backend unreachable — retrying..." with a retry button)
Files
tower/orpublic/tower/directoryReported By
Perplexity Comet automated browser test, 2026-03-19
PR #10 created.
Root cause:
main.jswas never loaded (script tag commented out) and contained no connection logic — just a placeholder stub. The page had no status HUD, so it showed nothing useful.Fix:
world/index.htmlwith dot indicator (pulsing yellow → green/red) and agent counttower-hermesat/ws/towerwith 5s timeoutmain.jsmodule scriptAll three acceptance criteria are addressed.