You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Configure gRPC client keepalive so dead connections surface as Unavailable #35
NewConnection in internal/grpc/conn.go sets no gRPC keepalive. On a half-open connection (idle-timeout load balancer or NAT, or a gateway node lost without FIN/RST), stream.Recv() blocks instead of returning Unavailable. For WatchLogs this means the transparent reconnect never runs, and a quiet sandbox stream stalls until the caller's context ends. The WatchLogs godoc currently documents this limitation.
Keepalive goes on the shared connection, so it affects every RPC and has to match the gateway's enforcement policy (PermitWithoutStream, minimum ping interval). Options: set conservative defaults in NewConnection, or expose keepalive.ClientParameters as a client option.
Activity