robin
05/30/2024, 3:26 PMrobin
05/30/2024, 3:26 PMGrpc.Core.Api
and Grpc.Net.Client
using versions ranging from 2.52.0
to 2.62.0
.
- The spicedb server was originally configured by spicedb-operator
. We’ve tried versions 1.26.0
, 1.30.0
, 1.30.1
and 1.31.0
, all having this issue.
- We added OTEL tracing to see if SpiceDB was seeing the error, but it was not. It rather seems related to session / transport / network layers.
- Sometimes, usually after restarting the application, we have encountered recurring errors on regular intervals. It seems to happen after a server GOAWAY
, client reset handshake, when trying to open a new connection. It often happens every minute (after x2 30-second GOAWAY
-reset cycles) that we experience freezing, the client waiting for a timeout. The client becomes operational again after the timeout.
- On this topic we've noticed that when using a domain name and DNS to target the server, the client switches from IPv6 to IPv4 when recovering after the timeout.
- When forcing the client onto one of the versions we typically get additional errors between the timeout and recovery, but no clear conclusions to draw here.
- Other times, we have not experienced any errors at all despite running several processes concurrently and handling all of over 100,000 requests successfully throughout an hour.
- Running two clients concurrently, both having this issue, on the same IPv4/IPv6 version, they don't encounter the issue at the same time, so connections seem independent.robin
05/30/2024, 3:27 PMJake
05/30/2024, 3:32 PMJake
05/30/2024, 3:32 PMperg
05/30/2024, 3:33 PMJake
05/30/2024, 3:33 PMperg
05/30/2024, 3:34 PMJake
05/30/2024, 3:37 PMperg
05/30/2024, 3:38 PMecordell
05/30/2024, 11:33 PM- name: GRPC_GO_LOG_SEVERITY_LEVEL
value: info
- name: GRPC_GO_LOG_VERBOSITY_LEVEL
value: "2"
To confirm there is no issue on the spicedb side.ecordell
05/30/2024, 11:34 PMperg
05/31/2024, 12:14 PMperg
05/31/2024, 12:27 PMperg
05/31/2024, 12:28 PMperg
05/31/2024, 12:30 PMrobin
06/04/2024, 11:26 AMperg
06/06/2024, 9:24 PM