Ben Simpson
03/17/2025, 12:54 AMauth/organisation didn't exist, for example)
rpc error: code = Unknown desc = object definition `auth/organisation` not found
I see these for authzed.api.v1.PermissionsService.CheckPermission and dispatch.v1.DispatchService.DispatchCheck. I assume these errors are making their way back to the client, but I have our clients configured to retry on Unknown
There's a tiny number of these compared to the number of incoming requests but it's kinda strange to seeBen Simpson
03/17/2025, 1:05 AMyetitwo
03/17/2025, 4:00 AMJoey
03/17/2025, 10:06 AMBen Simpson
03/17/2025, 8:33 PMns-cache- args)Joey
03/17/2025, 8:47 PMJoey
03/17/2025, 8:47 PMBen Simpson
03/27/2025, 2:17 AMUNKNOWN but testing against a local instance querying a nonexistent definition I get a FAILED_PRECONDITION.
Have some logs correlated on requestID and it looks like it may be dispatch relatedBen Simpson
03/28/2025, 12:41 AMUnknown responses sometimes it ends up bubbling up to the client, which would seem to indicate it happens repeatedly for a given check 🤔 With a configuration like this:
csharp
new RetryPolicy
{
MaxAttempts = 5,
InitialBackoff = TimeSpan.FromMilliseconds(50),
MaxBackoff = TimeSpan.FromSeconds(5),
BackoffMultiplier = 4,
RetryableStatusCodes = { StatusCode.Unavailable, StatusCode.Unknown }
}Ben Simpson
03/28/2025, 1:05 AMFailedPrecondition ... This was the only log entry for this requestID:
json
{
"message": "finished call",
"grpc.component": "server",
"grpc.service": "authzed.api.v1.PermissionsService",
"grpc.method": "CheckPermission",
"grpc.method_type": "unary",
"peer.address": "10.0.2.112:53646",
"grpc.start_time": "2025-03-28T00:34:38Z",
"grpc.code": "FailedPrecondition",
"grpc.time_ms": 2,
"source": "stderr",
"requestID": "cviut7hj2f0sco5qqur0",
"protocol": "grpc",
"grpc.error": "object definition `auth/user` not found",
"time": "2025-03-28T00:34:38Z",
"level": "warn"
}Joey
03/28/2025, 9:36 AMJoey
03/28/2025, 9:36 AMJoey
03/28/2025, 9:36 AMJoey
03/28/2025, 9:37 AMJoey
03/28/2025, 9:37 AMBen Simpson
04/02/2025, 10:30 PMsp132
10/28/2025, 12:59 PMJoey
10/28/2025, 3:10 PMsp132
10/29/2025, 7:37 AMrequestID from SpiceDB logs correlate to span IDs in any way?Joey
10/29/2025, 6:09 PMsp132
10/30/2025, 11:36 AM