{
  "id": "grpc/max-concurrent-streams-exceeded-client",
  "signature": "INTERNAL: grpc: max concurrent streams exceeded on client for server localhost:8080",
  "signature_zh": "内部错误：客户端上针对服务器 localhost:8080 的最大并发流数已超出",
  "regex": "max concurrent streams exceeded on client for server",
  "domain": "grpc",
  "category": "resource_error",
  "subcategory": null,
  "root_cause": "Client-side gRPC stream multiplexing exceeds the configured maximum concurrent streams limit (default 100) per HTTP/2 connection.",
  "root_cause_type": "generic",
  "root_cause_zh": "客户端 gRPC 流多路复用超出了每个 HTTP/2 连接配置的最大并发流限制（默认 100）。",
  "versions": [
    {
      "version": "gRPC v1.62.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "gRPC v1.59.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "gRPC v1.56.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "Go gRPC v1.63.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Increasing server-side max concurrent streams",
      "why_fails": "The error is client-side; server config doesn't affect client limits.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "Restarting the client without code changes",
      "why_fails": "The limit is hit again under the same load pattern.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    },
    {
      "action": "Disabling HTTP/2 flow control",
      "why_fails": "Flow control and stream limits are separate; disabling flow control doesn't increase stream count.",
      "fail_rate": 0.85,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Increase the client-side max concurrent streams via channel config: `grpc.ChannelConfig{MaxConcurrentStreams: 200}` in Go, or `withMaxConcurrentStreams(200)` in C++.",
      "success_rate": 0.85,
      "how": "Increase the client-side max concurrent streams via channel config: `grpc.ChannelConfig{MaxConcurrentStreams: 200}` in Go, or `withMaxConcurrentStreams(200)` in C++.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Create multiple gRPC channels to distribute streams across connections. Each channel gets its own HTTP/2 connection.",
      "success_rate": 0.78,
      "how": "Create multiple gRPC channels to distribute streams across connections. Each channel gets its own HTTP/2 connection.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "通过通道配置增加客户端最大并发流数：Go 中使用 `grpc.ChannelConfig{MaxConcurrentStreams: 200}`，C++ 中使用 `withMaxConcurrentStreams(200)`。",
    "创建多个 gRPC 通道以将流分布到多个连接上。每个通道都有自己的 HTTP/2 连接。"
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://grpc.io/docs/guides/performance/#connection-concurrency",
  "official_doc_section": null,
  "error_code": "ECONCSTRM",
  "verification_tier": "ai_generated",
  "confidence": 0.88,
  "fix_success_rate": 0.82,
  "resolvable": "true",
  "first_seen": "2024-03-15",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}