Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: setup kratos admin base url #200

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Conversation

adityathebe
Copy link
Member

@adityathebe adityathebe commented Sep 11, 2024

time=2024-09-05T09:06:58Z level=warning msg=The config has no version specified. Add the version to improve your development experience. audience=application service_name=Ory Kratos service_version=v0.13.0
time=2024-09-09T19:37:28Z level=warning msg=Configuration key serve.admin.base_url was left empty. Optimistically guessing the server's base URL. Please set a value to avoid problems with redirects and cookies. audience=application service_name=Ory Kratos service_version=v0.13.0
time=2024-09-10T05:32:03Z level=warning msg=Configuration key serve.admin.base_url was left empty. Optimistically guessing the server's base URL. Please set a value to avoid problems with redirects and cookies. audience=application service_name=Ory Kratos service_version=v0.13.0
time=2024-09-10T14:25:30Z level=warning msg=Configuration key serve.admin.base_url was left empty. Optimistically guessing the server's base URL. Please set a value to avoid problems with redirects and cookies. audience=application service_name=Ory Kratos service_version=v0.13.0
time=2024-09-10T14:32:28Z level=warning msg=Configuration key serve.admin.base_url was left empty. Optimistically guessing the server's base URL. Please set a value to avoid problems with redirects and cookies. audience=application service_name=Ory Kratos service_version=v0.13.0
time=2024-09-10T14:37:36Z level=warning msg=Configuration key serve.admin.base_url was left empty. Optimistically guessing the server's base URL. Please set a value to avoid problems with redirects and cookies. audience=application service_name=Ory Kratos service_version=v0.13.0
time=2024-09-11T15:21:22Z level=warning msg=Configuration key serve.admin.base_url was left empty. Optimistically guessing the server's base URL. Please set a value to avoid problems with redirects and cookies. audience=application service_name=Ory Kratos service_version=v0.13.0
time=2024-09-11T15:24:47Z level=warning msg=Configuration key serve.admin.base_url was left empty. Optimistically guessing the server's base URL. Please set a value to avoid problems with redirects and cookies. audience=application service_name=Ory Kratos service_version=v0.13.0

resolves: flanksource/mission-control#1378

When the kratos client makes call to any admin endpoints (eg: updating traits of identities), it requires the admin url. If not provided it uses the kratos api URL with port 4434.

"https://kratos-6c96d4c97f-p7rq2:4434/admin/identities/5146f95d-0180-43c5-bc43-92460d3b021e\": dial tcp: lookup kratos-6c96d4c97f-p7rq2 on 172.20.0.10:53: no such host

Setting the admin base_url solves this.

@moshloop moshloop merged commit 4d3fbac into main Sep 11, 2024
5 checks passed
@moshloop moshloop deleted the fix/kratos-admin-base-url branch September 11, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

/people/update POST Internal Server Error
2 participants