Status: Accepted (2026-11-29). Refines 0012 and 0603. Found by an MCP field test on 2026-11-29, in which an agent drew one screen through the hosted MCP.
On the prod-like stack (docker-compose.prod.yml), open_page never answered. Claude Code gave up after 329 s and again after 300 s, on two different files. Every page tool then answered no_page, so nothing could be drawn. The user’s first Atlas file had been left empty, most likely for the same reason.
url that POST /v1/realtime/token returns. That url is the API’s LINORA_REALTIME_URL, which is browser-facing: ws://127.0.0.1:8080.mcp container, 127.0.0.1:8080 is the container itself. A check with the container’s node gave ECONNREFUSED for 127.0.0.1:8080 and 200 for edge:8080.RealtimeConnection.connect() retries with backoff (1 s to 30 s) and never rejects on a refused socket. That is the right behaviour for a browser tab, but open_page had no deadline, so the agent waited until its client gave up. The connection then kept retrying in the background.deploy/smoke.mjs only sent MCP initialize, so the smoke test passed with a broken adapter.LINORA_MCP_REALTIME_URL is a ws[s]://host[:port] origin. It replaces the scheme, host and port of the token’s url, and the path and query are kept (withRealtimeOrigin, apps/mcp/src/session.ts).LINORA_MCP_REALTIME_URL: ws://edge:8080.
hash $arg_file) still picks the realtime instance.LINORA_TRUSTED_PROXIES = the edge subnet).open_page waits at most LINORA_MCP_JOIN_TIMEOUT_MS (default 15,000 ms) for the connection and the room join together.unavailable. The message names the url it tried, without the query, and the connection state. The fix hint tells the operator about LINORA_MCP_REALTIME_URL.initialize, deploy/smoke.mjs calls open_page on its smoke page, then create_nodes and get_nodes, over Streamable HTTP through the edge. A broken realtime path now fails the smoke test within 15 s.realtime:8788. This bypasses the edge’s per-file routing. With more than one realtime instance, a page could be joined on the wrong instance.RealtimeConnection.connect() reject after N failures. This would change the browser, which should keep retrying through network blips. The deadline belongs to the caller that has a time budget (a tool call).open_page either answers within about 15 s or explains what to fix. It can no longer hold a call slot (ADR 0603 gates) for minutes.LINORA_REALTIME_MAX_CONN_PER_IP 2,000 per address.
open_page fails in about 1.5 s with the url in the message, and the same session joins, writes and reads once realtimeUrl is set.