--- id: a4874d65-095a-4b71-8342-1e662d962430 type: solution title: "Fix infinite WebSocket reconnection loop" tags: [strat-gameplay-webapp, vue, websocket, fix] importance: 0.6 confidence: 0.8 created: "2026-01-14T02:49:14.941128+00:00" updated: "2026-01-14T02:49:14.941128+00:00" --- After max reconnection attempts (10), the stuck state detector was continuing to retry forever. Fixed by adding permanentlyFailed state flag, stopping stuck state detector when max attempts reached, and adding manualRetry() method for UI recovery. The flag is exposed in public API for error boundary component (HIGH-001).