https://cerbos.dev logo
#help
Title
# help
c

Charles Moga

11/29/2023, 6:11 AM
Is this something I need to worry about?
Copy code
dev.cerbos.sdk.CerbosException: RPC exception [Status{code=DEADLINE_EXCEEDED, description=deadline exceeded after 0.820751800s. Name resolution delay 0.007160300 seconds.
c

Charith (Cerbos)

11/29/2023, 8:17 AM
Sounds like the client can't connect to Cerbos. Is the service up?
c

Charles Moga

11/29/2023, 9:35 AM
Seems to be up, at least when looking at docker containers
The http server is responding well
image.png
c

Charith (Cerbos)

11/29/2023, 10:06 AM
Is port 3593 exposed to the host? That's the port used by the SDK.
c

Charles Moga

11/29/2023, 10:09 AM
Yes,
Copy code
$ docker ps -a
CONTAINER ID   IMAGE                          COMMAND                  CREATED      STATUS                PORTS                              NAMES
e851317e2a02   <http://ghcr.io/cerbos/cerbos:0.31.0|ghcr.io/cerbos/cerbos:0.31.0>   "/cerbos server --co…"   5 days ago   Up 5 days (healthy)   0.0.0.0:3592-3593->3592-3593/tcp   cerbos
c

Charith (Cerbos)

11/29/2023, 10:19 AM
Interesting... it should be fine then. You could try increasing the timeout in the client builder to see if that makes a difference. There's a
WithTimeout
option for that.
c

Charles Moga

11/29/2023, 12:18 PM
That did the trick. I added a 1s timeout and was able to check access
Copy code
{create=false, view:public=false}
👍 1
2 Views