hey guys I am on kratos v0.8, I am trying to hit t...
# talk-kratos
b
hey guys I am on kratos v0.8, I am trying to hit this endpoint http://localhost:4434/admin/identities to get all the identities but the response is coming as not found, any idea what I might be doing wrong?
p
Hi @boundless-hydrogen-45841 I believe the admin port is 4434
Checking the quickstart docs
Copy code
kratos_1 | time="2020-01-20T14:52:13Z" level=info msg="Starting the admin httpd on: 0.0.0.0:4434"
kratos_1 | time="2020-01-20T14:52:13Z" level=info msg="Starting the public httpd on: 0.0.0.0:4433"
b
@proud-plumber-24205 Sorry actually it is 4434 on the local too, but still I am getting not found response
Copy code
kratos_1          | time=2022-09-02T08:43:52Z level=info msg=completed handling request func=<http://github.com/ory/x/reqlog.(*Middleware).ServeHTTP|github.com/ory/x/reqlog.(*Middleware).ServeHTTP> file=/go/pkg/mod/github.com/ory/x@v0.0.300/reqlog/middleware.go:139 http_request=map[headers:map[accept:*/* accept-encoding:gzip, deflate, br connection:keep-alive cookie:csrf_token_2d785ea2f6536900108362e9bfff73eef3a32be3921b3abc74b0a990093487c9=HUDKn6iy0T/z745q60Z4uHpt8VKP4wm31ONiiJQyJxU= postman-token:846060ad-2923-4187-9d94-35bec7d9be3d user-agent:PostmanRuntime/7.29.2 x-user:1] host:localhost:4434 method:GET path:/admin/identities query:<nil> remote:172.18.0.1:57770 scheme:http] http_response=map[headers:map[content-type:text/plain; charset=utf-8 x-content-type-options:nosniff] size:19 status:404 text_status:Not Found took:6.456375ms]
@proud-plumber-24205 these are logs for the local request
p
which version of kratos is this?
If this is an old version, you could try strip the
admin
path and keep it as http://localhost:4434/identities
b
it worked thanks @proud-plumber-24205