nutritious-wolf-47573
07/08/2022, 3:11 AMversion: v0.8.0-alpha.2
log:
format: json
leak_sensitive_values: false
level: debug
serve:
read:
host: localhost
port: 4466
write:
host: localhost
port: 4467
namespaces:
- accounts
#dsn: memory
dsn: <postgres://keto:keto@localhost:5432/keto>
Steps followed:
export KETO_WRITE_REMOTE=localhost:4467
export KETO_READ_REMOTE=localhost:4466
$ keto status
neither flag --read-remote nor env var KETO_READ_REMOTE are set, falling back to 127.0.0.1:4466
SERVING
$ keto migrate up -c config/keto.yml
I am getting following error when I run keto relation-tuple create config/myAccountEditableByTarak.json
neither flag --write-remote nor env var KETO_WRITE_REMOTE are set, falling back to 127.0.0.1:4467
Error doing the request: rpc error: code = Unavailable desc = error reading from server: EOF
JSON
{
"namespace": "accounts",
"object": "person-uuid-1",
"relation": "owner",
"subject_id": "person-uuid-1"
}
Also, I am not able to connect to REST API as well.
IS there any additional configuration required for the setup?nutritious-wolf-47573
07/08/2022, 5:35 AM- id: 0
name: accounts