WebUI tab froze silently while gateway stayed healthy (heartbeat stopped 1h49m); reproducible /auth refresh dead-end fixed in #1392
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 22/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, nodejs, python
- Domain
- developer-experience, frontend
Research direction
Start with the /auth route handling in the web UI and the one-time nonce redemption flow referenced by #1392, which already proposes a fix for the spent-link dead-end. The freeze itself has no reproduction, so the first step is gathering the DevTools Console and /rpc WebSocket capture from a frozen tab, which needs the reporter. Done means the spent-link refresh no longer strands the tab, and the freeze cause is either identified from client-side evidence or left open.
Written by the indexing model from the issue text.
Description
Environment
- Raven v0.2.8 (installed via
curl -fsSL https://raven.evermind.ai/install.sh | bash) - macOS 27.2 arm64, Chrome 158
Observed
The WebUI tab froze silently. Evidence from the gateway log (~/.raven/logs/gateway.log) and pmset:
- The page sends a
HEAD /heartbeat every 30 s. It ran continuously from gateway start (01:20) until 12:17:27, then stopped for 1 h 49 min while the machine stayed awake (no sleep/wake entries inpmset -g log, 45% memory free). - The last browser request before the gap:
12:17:59 GET /with referer.../auth— the tab had just been sent from the sign-in page back to the app. - During the frozen window the gateway kept serving other clients normally: LLM calls flowing,
/health200,/rpcupgrades 101. - A headless Chromium (Playwright) load of the same page: WebSocket opens, zero JS errors, zero console errors, heartbeat present. Could not reproduce the freeze.
Separately, one reproducible dead-end that looks identical from the outside: refreshing /auth after the one-time nonce was redeemed (the page clears its own hash) leaves the tab stuck on the spent-link text forever. This is fixed by #1392.
Client-side evidence still missing
The freeze itself was not reproduced, so its cause is not established. The frozen tab's DevTools (Console + the /rpc WebSocket entry in Network) is the missing evidence. Two signals worth checking against it:
providers.litellm_providerloggedLLM first byte: nothing from custom after 120.0s ... giving the call up as stalledseveral times, plusUnclosed client sessionerrors — provider stalls coincided with heavy TUI usage on the same machine.- The gateway, two
raven tuiprocesses, and the web page shared one~/.ravenhome simultaneously; the code comments inraven/cli/serve_commands.pywarn that two engines on one agent home race over sessions/store.
Request
- If the DevTools capture shows the JS thread blocked (e.g. a large
trajectory.turns/session.resumepayload parsed on the main thread, or an unhandled rejection loop in the RPC client), the page-side fix likely belongs inui-web. - The one-shot-hash dead-end at
/authis real and reproducible now; #1392 proposes the fix.
- Dominant language
- Python
- Stars
- 4.1k
- Forks
- 94
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 216
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EverMind-AI/Raven
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
EverMind-AI/Raven#1413 ·
Maintainers usually reply within 1 day
-
feat: allow users to build ui-web and ui-tui with `bun`May be free again @0warning0error claimed this 8 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
EverMind-AI/Raven#1283 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
EverMind-AI/Raven#121 ·
Maintainers usually reply within 1 day
-
fix: Feishu channel status wrongly reports missing credentials and "not connected" while WebSocket is livePossibly taken @pcbeingused333 claimed this 1 day ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 18/100
EverMind-AI/Raven#1399 · 1 comment ·
Maintainers usually reply within 1 day
-
fix(memory_engine): guard RAVEN_HOME in project skill rootsPossibly taken @pcbeingused333 claimed this 2 days ago. Openbug security
Difficulty 3/5 1-2 days Newbie friendliness 22/100
EverMind-AI/Raven#1388 ·
Maintainers usually reply within 1 day
All issues in EverMind-AI/Raven
Similar issues
-
bug docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ActivityWatch/docs#223 ·
-
[Bug]: OpenCode v2 skips an assistant message that gains text after an earlier capturePossibly taken @jianyx1 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
volcengine/OpenViking#8354 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ARTPARK-SAHAI-ORG/calibrate-frontend#842 ·
Maintainers usually reply within 1 day
-
comp/tools P2 tool/skills type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NousResearch/hermes-agent#159541 ·
Maintainers usually reply within 1 day