Toi
06/01/2025, 5:09 AM"Error: 12 UNIMPLEMENTED: Received http STATUS CODE 404"
From the traces, I'm hitting /authzed.api.v1.PermissionService/CheckPermission
, which seems correct.
Any ideas what could it be? I'm hosting my own spicedb instance. The grpc port is 50051, right?Toi
06/02/2025, 1:08 PMToi
06/02/2025, 1:09 PMfoundations
https://cdn.discordapp.com/attachments/1378601448484372540/1379084559362162708/Screenshot_2025-06-02_at_10.08.40.png?ex=683ef415&is=683da295&hm=68c72004c58af9385675827bec619fb78d7b8f1961e24115539b4af7d28329f4&Joey
06/02/2025, 2:57 PMJoey
06/02/2025, 2:57 PMzed
command lineToi
06/02/2025, 3:01 PMJoey
06/02/2025, 3:03 PMzed
permissions command should workToi
06/02/2025, 3:10 PMJoey
06/02/2025, 3:21 PMJoey
06/02/2025, 3:21 PMToi
06/02/2025, 3:29 PMJoey
06/02/2025, 3:50 PMToi
06/02/2025, 5:29 PMToi
06/02/2025, 5:29 PMToi
06/02/2025, 5:30 PMthis.client = v1.NewClient(
serverToken,
serverUrl,
v1.ClientSecurity.INSECURE_PLAINTEXT_CREDENTIALS,
);
Toi
06/02/2025, 5:40 PMzed schema read --endpoint spicedb.foundations:50051 --token my-secret-token
Then the serverUrl
to be used on the node client should also be spicedb.foundations:50051
, correct?Toi
06/02/2025, 5:48 PMgateway
. This means the REST gateway that is also served, right?
Cause it seems that I'm hitting the REST port (80), even though on the span says 50051Joey
06/02/2025, 9:13 PMJoey
06/02/2025, 9:13 PMToi
06/02/2025, 9:33 PM"Error: 12 UNIMPLEMENTED: Received http STATUS CODE 404"
Toi
06/02/2025, 9:33 PMToi
06/02/2025, 9:36 PMToi
06/02/2025, 9:43 PMToi
06/02/2025, 9:46 PM[2025-06-02T17:48:58.947Z] "POST /authzed.api.v1.PermissionsService/CheckPermission HTTP/1.1" 404 - "-" 0 0 "grpc-node-js/1.13.4"
Joey
06/02/2025, 10:25 PMJoey
06/02/2025, 10:25 PMJoey
06/02/2025, 10:25 PMToi
06/02/2025, 10:51 PMJoey
06/02/2025, 11:00 PM