# rpc error: code = Unavailable desc = transport is closing

- **ID:** `go/grpc-connection-reset`
- **Domain:** go
- **Category:** network_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The gRPC connection is closed while a call is in progress, often due to server shutdown or network issues.

## Version Compatibility

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

## Workarounds

1. **** (70% success)
   ```
   for i := 0; i < 3; i++ { err := client.Call(ctx, req); if err == nil { break }; time.Sleep(time.Duration(i)*time.Second) }
   ```
2. **** (90% success)
   ```
   conn, _ := grpc.Dial("addr", grpc.WithInsecure()); client := pb.NewClient(conn)
   ```

## Dead Ends

- **** — If the server is down, retry will fail again. (80% fail)
- **** — Keepalive doesn't prevent abrupt connection resets. (60% fail)
