# go: github.com/foo/bar@v1.0.0: 读取 TCP 10.0.0.1:443->10.0.0.2:443: I/O 超时

- **ID:** `go/go-mod-download-timeout`
- **领域:** go
- **类别:** network_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

网络连接问题阻止 Go 工具链访问模块代理或源服务器，导致超时。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| 1.16 | active | — | — |

## 解决方案

1. **** (80% 成功率)
   ```
   Check network connectivity and proxy settings; use 'go env -w GOPROXY=https://goproxy.cn,direct' if in China or a different proxy.
   ```
2. **** (70% 成功率)
   ```
   Use 'GOPROXY=direct go mod download' to bypass the proxy and fetch directly from VCS.
   ```

## 无效尝试

- **** — GOPROXY_TIMEOUT is not a standard Go environment variable; it has no effect. (95% 失败率)
- **** — If the network is down, retrying will continue to fail. (50% 失败率)
