DerShodan
03/21/2022, 4:18 PMconnection error: desc = \"transport: Error while dialing dial tcp: missing address\
with status code 503
Looks to me like a small misconfiguration, but I set nothing but spicedb serve --grpc-preshared-key "<somesecret>" --http-enabled
Joey
03/21/2022, 5:09 PMDerShodan
03/22/2022, 9:20 AMJoey
03/22/2022, 9:23 AMDerShodan
03/22/2022, 9:35 AMhttp://localhost:8443/v1/schema/read
with the headers Auhtorization Bearer <token>
and Content-type application/json
Joey
03/22/2022, 10:10 AMDerShodan
03/22/2022, 10:13 AMDerShodan
03/22/2022, 10:14 AM{"code":5,"message":"Not Found","details":[]}
. is the raw responseJoey
03/22/2022, 10:15 AMJoey
03/22/2022, 10:17 AMJoey
03/22/2022, 10:17 AMDerShodan
03/22/2022, 10:21 AMJoey
03/22/2022, 10:25 AMJoey
03/22/2022, 10:25 AMcurl -X POST -H "Authorization: Bearer yoursecretkeyhere" http://localhost:8443/v1/schema/read
DerShodan
03/22/2022, 10:26 AMcurl -X POST -H "Authorization: Bearer aabbccddeeff" http://localhost:8443/v1/schema/read
{"code":14,"message":"connection error: desc = \"transport: Error while dialing dial tcp: missing address\"","details":[]}%
DerShodan
03/22/2022, 10:26 AMJoey
03/22/2022, 10:26 AMJoey
03/22/2022, 10:27 AMDerShodan
03/22/2022, 10:27 AMspicedb version
spicedb development build (unknown exact version
DerShodan
03/22/2022, 10:29 AMDerShodan
03/22/2022, 10:29 AMbrew install authzed/tap/spicedb
. I ran yesterdayJoey
03/22/2022, 10:30 AMJoey
03/22/2022, 10:30 AMJoey
03/22/2022, 10:30 AMJoey
03/22/2022, 10:30 AMJoey
03/22/2022, 10:30 AMJoey
03/22/2022, 10:30 AMDerShodan
03/22/2022, 10:34 AMDerShodan
03/22/2022, 10:34 AMJoey
03/22/2022, 10:38 AMbrew install spicedb@1.4.0
might do itDerShodan
03/22/2022, 10:43 AMbrew install spicedb@1.4.0
Warning: No available formula with the name "spicedb@1.4.0". Did you mean spicedb?
==> Searching for similarly named formulae...
This similarly named formula was found:
spicedb ✔
To install it, run:
brew install spicedb ✔
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
Joey
03/22/2022, 10:44 AMDerShodan
03/22/2022, 10:45 AMJoey
03/22/2022, 10:45 AMDerShodan
03/22/2022, 10:45 AMJoey
03/22/2022, 3:05 PM