go
network_error
ai_generated
true
go: github.com/user/[email protected]: read tcp 192.0.2.1:443->proxy.golang.org:443: i/o timeout
ID: go/proxy-tls-handshake-timeout
80%Fix Rate
82%Confidence
0Evidence
2024-05-20First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 1.16 | active | — | — | — |
| 1.21 | active | — | — | — |
Root Cause
Network connectivity issue to the Go module proxy, often due to firewall, DNS, or temporary proxy outage.
generic中文
与 Go 模块代理的网络连接问题,通常由防火墙、DNS 或代理临时故障引起。
Workarounds
-
80% success
GOPROXY=direct go mod download
-
85% success
GOPROXY=https://goproxy.cn,direct go mod download
Dead Ends
Common approaches that don't work:
-
100% fail
Go does not have a direct timeout setting for GOPROXY; the timeout is OS-level and cannot be changed via Go env.
-
70% fail
If the network issue is persistent (e.g., firewall), retry will keep failing.