Closed getchoo closed 1 year ago
Can you try adding this header Front-End-Https: on
in your reverse proxy?
after fiddling with cloudflare, i found setting the ssl encryption mode to full resolved this. this isn't an upstream bug; sorry! :(
For anyone stumbling across this, #173 has some more info, as does the manual section on reverse proxies.
Describe the bug i've recently started the move to hydra, and after getting distributed builds, the server, etc. setup, i came across a pretty bad problem. when trying to login, i get different behavior depending on the browser
for both browsers, the post request to /login is made with http. firefox is able to upgrade this to https and continue, however chromium fails with the following error:
after firefox upgrades the connection to https, the request succeeds but i'm met with another error:
i'm not exactly sure why it's requesting a url via
http
in the first place, as i haveservices.hydra.hydraURL
set tohttps://hydra.mydomain.com
To Reproduce Steps to reproduce the behavior:
Expected behavior the login post request is made with https by default and succeeds
Screenshots headers of POST request/response in firefox![image](https://github.com/NixOS/hydra/assets/48872998/0b3a6d8d-1460-42c0-98f6-f60f7ba5b200)
Hydra Server:
Please fill out this data as well as you can, but don't worry if you can't -- just do your best.
Additional context hydra is proxied through nginx (with https/ssl enabled), and the domain is proxied through cloudflare. my instance with this issue can be found at https://hydra.mydadleft.me/