{
  "id": "python/aiohttp-ws-receive-timeout",
  "signature": "asyncio.exceptions.TimeoutError: WebSocket receive timed out",
  "signature_zh": "asyncio异常：WebSocket接收超时",
  "regex": "asyncio\\.exceptions\\.TimeoutError:\\ WebSocket\\ receive\\ timed\\ out",
  "domain": "python",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "WebSocket connection does not receive a message within the specified timeout period.",
  "root_cause_type": "generic",
  "root_cause_zh": "WebSocket连接在指定超时时间内未收到消息。",
  "versions": [
    {
      "version": "3.7",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "May cause the application to hang indefinitely.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Blocks forever if no message arrives.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "msg = await asyncio.wait_for(ws.receive(), timeout=10)",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.85,
      "how": "await ws.ping(); await asyncio.wait_for(ws.receive(), timeout=10)",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.82,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2025-03-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}