Hey Ory lovers! any advise about the following err...
# talk-hydra
r
Hey Ory lovers! any advise about the following error:
Copy code
{
  "audience": "application",
  "error": {
    "message": "can not serve request over insecure http"
  },
  "http_request": {
    "headers": {
      "accept-encoding": "gzip",
      "user-agent": "go-resty/2.7.0 (<https://github.com/go-resty/resty>)"
    },
    "host": "ory-hydra-public.viam:4444",
    "method": "GET",
    "path": "/.well-known/openid-configuration",
    "query": null,
    "remote": "10.230.116.218:41364",
    "scheme": "http"
  },
  "http_response": {
    "status_code": 502
  },
  "level": "error",
  "msg": "An error occurred while handling a request",
  "service_name": "Ory Hydra",
  "service_version": "v1.11.10",
  "time": "2023-05-31T13:42:40Z"
}
🤷‍♀️
l
Hydra requires a secure connection but if you're terminating at the edge you can set some config values to bypass that check
Search the configuration section in the docs for
allow_termination_from
, there should be a value for "public" and a value for "admin". Set those to the trusted CIDR values and make sure you're setting the
X-Forwarded-Proto: https
header at your edge proxy
r
Morning; with hydra helm chat 0.25.6 there is a flag: --dangerous-force-http that works for my use case but using the helm chart 0.28.0 ( the first one with HPA: autoscaling/v2) this flag is not present; in place the args to run are --dev ( not supported for my current hydra vervion) what Can I do? I mean; I want to run hydra v1.11.10 with the halm char 0.28.0. Thanks in advance