# rpc error: code = Unavailable desc = keepalive ping failed: connection closed

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

## Root Cause

The gRPC connection was closed because the keepalive ping did not receive a response within the timeout period.

## Version Compatibility

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

## Workarounds

1. **** (85% success)
   ```
   Configure keepalive parameters on both client and server to match network conditions.
   ```
2. **** (90% success)
   ```
   Implement automatic reconnection logic in the client to handle transient network failures.
   ```

## Dead Ends

- **** —  (70% fail)
- **** —  (50% fail)
