# read tcp 192.168.1.1:8080->192.168.1.2:54321: i/o timeout

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

## Root Cause

Network read operation exceeded the timeout set on the connection or context.

## Version Compatibility

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

## Workarounds

1. **** (90% success)
   ```
   Set reasonable timeout: net.Dialer{Timeout: 5 * time.Second} and use context with timeout.
   ```
2. **** (85% success)
   ```
   Implement exponential backoff with context: for { select { case <-ctx.Done(): return; default: try again } }
   ```

## Dead Ends

- **** — May cause indefinite blocking; not scalable. (70% fail)
- **** — If network is down, retries fail repeatedly. (60% fail)
