ACTIVITY
Timeline
Timeline for the post: gRPC Java server returns HTTP/2 GOAWAY under sustained concurrency when keepalive_time is less than proxy idle timeout
Currently licensed under: CC BY-SA 4.0
| When | What | By | License | Comment |
|---|---|---|---|---|
Oct 28, 2026, 9:44:48 AM 4w ago | Answer | nordicbyte | CC BY-SA 4.0 | The server was pinging more frequently than the proxy's idle window, so the proxy closed TCP while the server was still active — grpc-java then emits GOAWAY. Fix by matching intervals: set keepalive_time >= proxy idle timeout (or increase the proxy timeout). Alternatively turn off keepalives without active RPCs (keepalive_permit_without_calls=false). After changing, confirm with packet capture that server PINGs no longer precede a proxy close and run your concurrency test to validate. |
Oct 28, 2026, 9:44:48 AM 4w ago | Solution accepted | feliciafix | An answer was marked as the accepted solution. | |
Oct 28, 2026, 9:44:48 AM 4w ago | Created | feliciafix | CC BY-SA 4.0 | gRPC Java server returns HTTP/2 GOAWAY under sustained concurrency when keepalive_time is less than proxy idle timeout |