{
  "id": "python/aiohttp-ssl-handshake-timeout",
  "signature": "asyncio.exceptions.TimeoutError: SSL handshake timeout",
  "signature_zh": "asyncio.exceptions.TimeoutError: SSL 握手超时",
  "regex": "asyncio\\.exceptions\\.TimeoutError:\\ SSL\\ handshake\\ timeout",
  "domain": "python",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "SSL handshake takes longer than the default timeout, often due to network latency or server issues.",
  "root_cause_type": "generic",
  "root_cause_zh": "SSL 握手时间超过默认超时，通常由网络延迟或服务器问题引起。",
  "versions": [
    {
      "version": "3.10",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.85,
      "how": "timeout=aiohttp.ClientTimeout(sock_connect=10, sock_read=30) # adjust sock_connect",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.7,
      "how": "Use a custom SSL context with longer handshake timeout: ssl.create_default_context()",
      "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.83,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-06-18",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}