Open antoniantonov opened 8 months ago
I'm facing the same issue. Have you found any workaround? @antoniantonov
Can't reproduce the issue. Works for me on both v0.11 and v0.12 Are you sure your infra config is correct? It looks like ports/proxies (public and admin/write APIs) are mixed at some point.
Preflight checklist
Ory Network Project
No response
Describe the bug
Deploying keto to Docker container and trying to hit it with GET verb on
localhost:4466/relation-tuples/check/
to check permissions, I'm getting weird HTTP code 404 with text body: "404 Not Found". When using the Ory Network with the same path -https://blissful-leavitt-njmmzsufwj.projects.oryapis.com/relation-tuples/check/
I'm getting either allowed or not allowed in JSON format, regardless if the namespace or any other query parameter is found or not. Another interesting fact is the the write API works on localhost:4467. I can create tuples. Also, GET on localhost:4466/relation-tuples/` dumps the database. So, keto service is up and running. But it can't check permissions.Reproducing the bug
volumes: kratos-sqlite: keto-sqlite: mongodb:
version: v0.11.1-alpha.1 debug: true
log: level: debug
namespaces:
serve: read: host: 0.0.0.0 port: 4466 write: host: 0.0.0.0 port: 4467
dsn: sqlite:///var/lib/sqlite/db.sqlite?_fk=true&mode=rwc
Relevant configuration
Version
latest
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Docker Compose
Additional Context
No response