# go: example.com/module@v1.0.0: reading https://proxy.golang.org/example.com/module/@v/v1.0.0.mod: dial tcp: lookup proxy.golang.org: i/o timeout

- **ID:** `go/proxy-connectivity-timeout`
- **Domain:** go
- **Category:** network_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Network connectivity to the Go module proxy is unavailable, often due to firewall restrictions, DNS issues, or proxy being down.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.11 | active | — | — |
| 1.12 | active | — | — |
| 1.13 | active | — | — |
| 1.14 | active | — | — |
| 1.15 | active | — | — |
| 1.16 | active | — | — |
| 1.17 | active | — | — |
| 1.18 | active | — | — |
| 1.19 | active | — | — |
| 1.20 | active | — | — |
| 1.21 | active | — | — |
| 1.22 | active | — | — |
| 1.23 | active | — | — |

## Workarounds

1. **Set GOPROXY=off to bypass proxy and fetch directly from VCS** (70% success)
   ```
   export GOPROXY=off && go mod download
   ```
2. **Use a different proxy or direct connection** (80% success)
   ```
   export GOPROXY=https://goproxy.io,direct && go mod download
   ```

## Dead Ends

- **Retrying the same command repeatedly** — Network timeout is likely persistent; retrying without fixing connectivity will continue to fail. (90% fail)
- **Setting GOPROXY=https://proxy.golang.org,direct** — This is the default; if the proxy is unreachable, it will still timeout before falling back to direct. (50% fail)
