Some one knows why when setting up SERVER_ADMIN_HO...
# ory-network
a
Some one knows why when setting up SERVER_ADMIN_HOST it becomes empty? Error while introspecting token: Post “<http:///admin/oauth2/introspect%E2%80%9D|http///admin/oauth2/introspect”:> http: no Host in request URL I set it up in docker container env: "SERVE_ADMIN_HOST": "172.19.0.4" If i set up it with https:// prefix I would get this error: error=map[message:listen tcp: address https://172.19.0.4:4445: too many colons in address] service_name=Ory Hydra service_version=v2.1.1 So env works… Any ideas?
I also tried config file and get the same result…
e
Hi there, the env you’re trying to set might not be the one you want 😉 host is for
The interface or unix socket Ory Hydra should listen and handle administrative API requests on. Use the prefix
unix:
to specify a path to a unix socket. Leave empty to listen on all interfaces.
What you’re looking for might be
URLS_SELF_ADMIN
🙂 please refer to https://www.ory.sh/docs/hydra/reference/configuration
s
also why would you get a "http: no host in request URL" from the server? I think your client is misconfigured