mirror of
https://github.com/SignTools/SignTools.git
synced 2026-04-26 02:15:54 +03:00
[GH-ISSUE #88] Forced HTTPS redirection #43
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SignTools#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kevin-ta on GitHub (Aug 2, 2021).
Original GitHub issue: https://github.com/SignTools/SignTools/issues/88
I tried basic troubleshooting first
Describe the bug
I'm using the docker version of ios-signer-service with port
8080->42270.Accessing the website via my Nginx reverse proxy gives
ERR_TOO_MUCH_REDIRECTwith Chrome with a lot of HTTP 302.When testing with
curl http://127.0.0.1:42270 -L -vvv, here is the encountered error:Adding
redirect_https: falsetosigner-cfg.ymldoes not work as this line is removed from the file ondocker run.To reproduce
Proceed to a fresh installation with the image, use the default signer-cfg.yml.
Expected behavior
Connecting to
http://127.0.0.1:8080should not automatically redirect tohttps://127.0.0.1:8080. The HTTPS redirection seems forced despite having the possibility to disable it.System configuration
@ViRb3 commented on GitHub (Aug 2, 2021):
Hello, thanks for the detailed report.
redirect_https: falseis a default option - it should be automatically added to your config file on every run, even if you delete it, unless you just changed it totrue. If a line is automatically deleted from the config file, that means the program did not recognize it - it's either in the wrong place/indentation, or it has a wrong name. I just tested both a Docker instance and a standalone instance with v2.4.4. Both hadredirect_https: falseby default, and the line worked as expected - no redirection was performed at all. It's a very strange issue you're having - are you sure you are running v2.4.4 and your nginx conf doesn't do any redirects instead? Try running the program without a config file - it should generate you a default template file, just add your stuff to that template and see how it goes.@kevin-ta commented on GitHub (Aug 3, 2021):
Ok so it appeared that docker didn't pull the latest image. The one I got was 2 months ago and it is now working. The weird thing is, even if the image I got was 2 months older, it suddenly stopped working recently. I think we can just close the issue. Thank you.