gRPC Error Code 14 UNAVAILABLE (Connection Refused / HTTP/2 Downgrade)
Reverse proxy stripped HTTP/2 or backend closed idle stream without keepalive.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: gRPC Error Code 14 UNAVAILABLE (Connection Refused / HTTP/2 Downgrade)
Platform: APIs
Common Root Causes:
- Reverse proxy stripped HTTP/2 or backend closed idle stream without keepalive.
Interactive Diagnostic Checklist
Verified Solutions:
- Use `grpc_pass` in Nginx (not `proxy_pass`) and configure HTTP/2 keepalive pings.
Safe Diagnostic Command:
grpcurl -plaintext <host>:<port> list
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
Reverse proxy stripped HTTP/2 or backend closed idle stream without keepalive. Recommended diagnostic: `grpcurl -plaintext <host>:<port> list`. Remediation: Use `grpc_pass` in Nginx (not `proxy_pass`) and configure HTTP/2 keepalive pings.
Worked Examples
- Run `grpcurl -plaintext <host>:<port> list` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-grpc-status-14-unavailable · Independently verified: 2026-11-25