when trying to curl to url /whoami, im getting 404...
# ory-selfhosting
a
when trying to curl to url /whoami, im getting 404 page not found
m
Can you confirm your Ory Kratos is running? https://www.ory.sh/docs/reference/api#tag/metadata/operation/isAlive Otherwise hard to say what is going on without more information.
a
ory is running
serve: public: base_url: https://auth-jaguar.test.app #http://kratos-public cors: enabled: true allowed_origins: - http://kratos-public - https://auth-jaguar.test.app - https://auth-ui-jaguar.test.app - https://portal-jaguar.test.app allowed_methods: - POST - GET - PUT - PATCH - DELETE allowed_headers: - Authorization - Cookie - Content-Type exposed_headers: - Content-Type - Set-Cookie request_log: disable_for_health: true admin: base_url: http://kratos-admin/ request_log: disable_for_health: true selfservice: default_browser_return_url: https://auth-jaguar.test.app #http://kratos-public/ methods: password: enabled: true totp: config: # The "issuer" is the name in the TOTP application users see when getting a one-time password. issuer: test.app enabled: true flows: error: ui_url: https://auth-jaguar.test.app/error #http://kratos-public/error settings: ui_url: https://auth-jaguar.test.app/settings #http://kratos-public/settings privileged_session_max_age: 15m recovery: enabled: true ui_url: https://auth-jaguar.test.app/recovery #http://kratos-public/recovery verification: enabled: true ui_url: https://auth-jaguar.test.app/verification #http://kratos-public/verification after: default_browser_return_url: https://auth-jaguar.test.app #http://kratos-public/ logout: after: default_browser_return_url: https://auth-jaguar.test.app/login #http://kratos-public/login login: ui_url: https://auth-jaguar.test.app/login #http://kratos-public/login lifespan: 10m registration: lifespan: 10m ui_url: https://auth.test.app/registration #http://kratos-public/registration after: password: hooks: - hook: session automigration: enabled: true type: job log: level: debug format: json leak_sensitive_values: true #false for prod ciphers: algorithm: xchacha20-poly1305 hashers: algorithm: bcrypt bcrypt: cost: 12
are the URLs correct?
traefik config: apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute metadata: name: ingressroute-auth-dev namespace: ory spec: entryPoints: - websecure routes: - kind: Rule match: Host("auth-jaguar.test.app") priority: 200 services: - kind: Service name: kratos-public namespace: ory passHostHeader: true port: 80 weight: 10 tls: secretName: auth-dev-tls options: name: tls-option namespace: ory