Hi All, while using AdminApi i am getting below er...
# help
a
Hi All, while using AdminApi i am getting below error
could not list policies: rpc error: code = Unavailable desc = name resolver error: dns: A record lookup error: lookup cerbos: Temporary failure in name resolution
a
Morning that seems like a network issue. Can you hit the PDP directly?
a
@Alex Olivier (Cerbos) direct hit is working
a
Using the host name?
That error is stating that it canโ€™t resolve the host name of the cerbos instance. How are you running the PDP and how are you calling the admin api?
a
a
By default it is expecting to find a cerbos instance running with a hostname of
cerbos
unless overridden by the
CERBOS_HOST
env var. How are you running the Cerbos instance?
s
Hello! Let me know if there are any issues with the above - if I can make the demo clearer then I shall endeavour to do so ๐Ÿ‘
๐Ÿ‘ 1
a
@Alex Olivier (Cerbos) and @Sam Lock (Cerbos) thanks issue fixed admin api is working as @Alex Olivier (Cerbos) mentioned issue with my env var
๐Ÿ‘Œ 1