Gadric
11/13/2023, 12:22 PMunable to check permission: rpc error: code = PermissionDenied desc = invalid preshared key: invalid token
. The ReadSchemaRequest which is executed right beforehand will not fail.
Now I deployed the same setup (1 postgres, 1 readonly spicedb node, 1 default spicedb node) with the same version (v1.20.0) locally and I don't run into any issues.
Does anyone have an idea what the problem could be?
The psk is the right one. Which I prove by intentionally passing the wrong PSK to the read only client. Which then will result in a failing ReadSchemaRequest() too.vroldanbet
11/13/2023, 12:41 PMvroldanbet
11/13/2023, 12:41 PMvroldanbet
11/13/2023, 12:42 PMGadric
11/13/2023, 1:49 PMSPICEDBB_DISPATCH_CLUSTER_ENABLED
and now it works. Funny enough I also thought this could be the problem before I took a nap. Thanks for beeing my rubber duck 😄