https://authzed.com logo
Title
s

seeruyy

11/10/2022, 10:18 PM
Hey there! I've been trying to figure out an issue with connection to SpiceDB within Kubernetes cluster. I have 3 pods running and one endpoint on port 80. Maybe I missed something?
<_MultiThreadedRendezvous of RPC that terminated with:
    status = StatusCode.UNAVAILABLE
    details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:172.20.219.130:80: Endpoint is neither UDS or TCP loopback address."
    debug_error_string = "UNKNOWN:failed to connect to all addresses; last error: UNKNOWN: ipv4:172.20.219.130:80: Endpoint is neither UDS or TCP loopback address. {grpc_status:14, created_time:"2022-11-10T22:12:13.945987969+00:00"}"
>
Traceback (most recent call last):
  File "/home/logdna/.cache/pypoetry/virtualenvs/kong-benchmark-tq7C0_9c-py3.7/lib/python3.7/site-packages/locust/user/task.py", line 347, in run
    self.execute_next_task()
  File "/home/logdna/.cache/pypoetry/virtualenvs/kong-benchmark-tq7C0_9c-py3.7/lib/python3.7/site-packages/locust/user/task.py", line 372, in execute_next_task
    self.execute_task(self._task_queue.pop(0))
  File "/home/logdna/.cache/pypoetry/virtualenvs/kong-benchmark-tq7C0_9c-py3.7/lib/python3.7/site-packages/locust/user/task.py", line 490, in execute_task
    task(self.user).run()
  File "/opt/app/kong_bench/spicedb/check_permissions.py", line 83, in __init__
    token_per_user=self.token_per_user,
  File "/opt/app/kong_bench/spicedb/seed.py", line 126, in run
    init_counter=max(user_amount, self.default_amount_to_check),
  File "/opt/app/kong_bench/spicedb/seed.py", line 367, in findLastId
    does_exist = checkId(end)
  File "/opt/app/kong_bench/spicedb/seed.py", line 428, in isUserWithId
    optional_relation='inheritor',