Joey
08/07/2022, 6:44 PMPrchowdh
08/07/2022, 6:47 PMJoey
08/07/2022, 6:47 PMJoey
08/07/2022, 6:48 PMJoey
08/07/2022, 6:49 PMJaroslav Holaň
08/08/2022, 6:46 AMsrolevink
08/08/2022, 6:54 AMwilliamdclt
08/08/2022, 12:27 PMgrpc_health_probe
is returning NOT_SERVING
(screenshot 1)
- On SpiceDB side, I'm seeing this log: {"level":"debug","datastoreReady":false,"dispatchReady":true,"time":"2022-08-08T12:20:53Z","message":"completed dispatcher and datastore readiness checks"}
. That's with LOG_LEVEL=trace.
My old service on v1.7.1
has no problem: pods report healthy and can connect to the DB. Spinning up a new pod on v.1.7.1
works as well.
I can't see anything wrong database-side.
How can we know why does SpiceDB think that the datastore isn't ready?williamdclt
08/08/2022, 12:40 PMJoey
08/08/2022, 1:15 PMJoey
08/08/2022, 1:16 PMgub98
08/09/2022, 7:08 PMJoey
08/09/2022, 7:34 PMgub98
08/09/2022, 7:56 PMconnor
08/10/2022, 12:26 AMzed
client, things work fine.
For some more context, I have the SpiceDB container port forwarded to my machine so I'm running the Java client and the zed
client from the same place, to the same port. I have configured the client exactly how this is configured: https://github.com/authzed/authzed-java/blob/2a2cbb53334a50fdb6eaa1472973b12557bc2756/examples/v1/App.java#L42-L54
And here is the errorVangelisP
08/10/2022, 10:06 AMdeirdre
08/10/2022, 5:04 PMyetitwo
08/10/2022, 7:11 PMdefinition site {
relation accesses: user | persona
one of the constraints of personas is that a persona shouldn't grant access to an object that a user wouldn't otherwise have. the way we're currently approaching this is in calling logic, asking for readPermissions
on both the persona and user and then returning the intersection of the results.Saturas
08/11/2022, 7:40 AMvroldanbet
08/11/2022, 7:42 AMexamples
repository:
https://github.com/authzed/examples/tree/main/integration-testingyetitwo
08/11/2022, 5:35 PMpjec
08/11/2022, 11:12 PM.zed
file with the .yaml
files for relations to create the unified .zaml
for running tests?yetitwo
08/12/2022, 3:53 PMsajel
08/12/2022, 9:06 PMsajel
08/12/2022, 10:15 PMcaiokf
08/13/2022, 12:36 AMv1.NewClient
, using the @authzed/authzed-node
lib. Any ideas on what to look out for on why is it so slow? Thank youJoey
08/13/2022, 4:52 AMJoey
08/13/2022, 4:53 AMcaiokf
08/13/2022, 5:03 AMJoey
08/13/2022, 5:05 AM