Hey Team! first of all thanks for all your effort....
# talk-hydra
r
Hey Team! first of all thanks for all your effort. I have a question about ory-hydra maybe you can help me with. Using hydra v1.11.8 there is a flag ( ‘--dangerous-force-http’) which allow perform this kind of request Get \\’http://localhost:4445/admin/oauth2/auth/requests/login?login_challenge=8 inside a EKS cluster. After update to hydra V2.0.3 this kind of request rise a dial tcp [:1]4445: connect: connection refused. I tried using the flag --dev but it does not work....is there any workaround to allow this kind of request using hydra V2.0.3 or higher? Regards, Hugo.
I tried the following config but still the same, any help?
Copy code
tls:
            allow_termination_from:
              - 127.0.0.1/32
              - 10.0.0.0/8
              - 172.16.0.0/12
              - 192.168.0.0/16
w
this most likely doesn't have anything to do with http vs https but is most likely a network error
did you double check the port is properly exposed? I believe [::1] is ipv6. It might be that localhost is resolving to ::1 while hydra may be binding to ipv4 only. Try connecting to http://127.0.0.1:4445 to force ipv4
r
Get \\’http://127.0.0.0:4445/oauth2/auth/requests/login?login_challenge=186202b311874dc48ad45e8b96f4b297\\’: dial tcp 127.0.0.04445 connect: network is unreachable’_)__)__)
w
did you do 127.0.0.1?
r
I tried from another microservice to get a OIDC flow, to do that I use the service endpoint: ory-hydra-admin.viam.svc.cluster.local:4445 which is translated to localhost:4445 ( not sense at all)
self: ## admin ## # # This is the base location of the admin endpoints of your Ory Hydra installation. # # Examples: # - https://localhost:4445/ # # Set this value using environment variables on # - Linux/macOS: _# $ export URLS_SELF_ADMIN=<value>_ # - Windows Command Line (CMD): _# > set URLS_SELF_ADMIN=<value>_ # admin: https://localhost:4445/ setting this to the kubernetes svc works from me! #freeinfo thanks @wide-dawn-74672
w
np, glad you were able to solve it