# http: server gave HTTP response to HTTPS client

- **ID:** `go/http-request-header-too-large`
- **Domain:** go
- **Category:** network_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

客户端使用HTTPS连接，但服务端仅支持HTTP，或端口配置错误。

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.20 | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   确保客户端和服务端协议一致，使用正确的URL scheme。
   ```

## Dead Ends

- **** — 忽略错误继续发送，导致数据不一致。 (70% fail)
- **** — 修改客户端协议但服务端未调整，仍然失败。 (60% fail)
