{
  "id": "go/http-client-timeout-while-reading",
  "signature": "Get \"http://example.com\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)",
  "signature_zh": "Get \"http://example.com\": 上下文截止时间已超过（等待响应头时客户端超时）",
  "regex": "Get\\ \"http://example\\.com\":\\ context\\ deadline\\ exceeded\\ \\(Client\\.Timeout\\ exceeded\\ while\\ awaiting\\ headers\\)",
  "domain": "go",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The HTTP client's timeout expired while waiting for the server's response headers, possibly due to slow server or network congestion.",
  "root_cause_type": "generic",
  "root_cause_zh": "HTTP客户端在等待服务器响应头时超时，可能由服务器缓慢或网络拥塞导致。",
  "versions": [
    {
      "version": "1.21",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "May hide underlying issues and cause user frustration",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Requests will fail consistently",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.9,
      "how": "Use context.WithTimeout and set a reasonable timeout based on SLA",
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "success_rate": 0.8,
      "how": "Implement circuit breaker to stop hitting slow endpoints",
      "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.87,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-03-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}