[viewer] WebUI randomly disconnects, backend remains healthy, only page refresh fixes it

Author: BenBenJianCreated Sep 14, 2026Updated Sep 14, 2026

Version: 0.9.29 Provider: llm Embedding: embeddings Flags: GRAPH_EXTRACTION_ENABLED=on, CONSOLIDATION_ENABLED=on, AGENTMEMORY_AUTO_COMPRESS=on, AGENTMEMORY_INJECT_CONTEXT=on User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36 Edg/153.0.0.0

What went wrong

The WebUI frequently loses connection. When this issue occurs, the page cannot display content correctly. The backend service remains running without disconnection, and only refreshing the browser page can restore normal display

Steps to reproduce

  1. Open the AgentMemory WebUI and keep using it for a period of time
  2. The frontend will randomly get disconnected, UI rendering breaks
  3. Backend service is still alive; page refresh fixes the problem temporarily