Clicking 'Add Schedule' switches from HTTPS to HTTP [proxy]

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
chris-t
Newbie
Newbie
Posts: 7
Joined: July 16th, 2015, 5:38 am

Clicking 'Add Schedule' switches from HTTPS to HTTP [proxy]

Post by chris-t »

I access sabnzbd (v0.7.20) through a reverse proxy over HTTPS, and I've found that adding or removing schedules in config/scheduling changes the URI scheme from HTTPS to HTTP.

For example, to begin with the address in my browser would be https://example.com/sabnzbd/config/scheduling/. But when I click Add Schedule, or click the X next to a schedule to remove it, the URI will change to http://example.com/sabnzbd/config/scheduling/ and display a 404 error (because there is no content at that address on port 80).

Chris
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Clicking 'Add Schedule' switches from HTTPS to HTTP

Post by safihre »

I cannot reproduce that.. What browser do you use? Could it be the proxy?
Because the way the HTML-Form is set up it will always use the protocol it is opened with.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
chris-t
Newbie
Newbie
Posts: 7
Joined: July 16th, 2015, 5:38 am

Re: Clicking 'Add Schedule' switches from HTTPS to HTTP

Post by chris-t »

Hi safihre, thanks for the reply. I think you just answered it - it's undoubtedly my proxy setup, as the same behaviour is present in both Chrome and Firefox. I'll have to investigate, and I'll post back the result.

Chris
chris-t
Newbie
Newbie
Posts: 7
Joined: July 16th, 2015, 5:38 am

Re: Clicking 'Add Schedule' switches from HTTPS to HTTP

Post by chris-t »

OK, adding the following line to my nginx proxy configuration has sorted the issue:

Code: Select all

proxy_redirect  http://  $scheme://;
I've no idea if this will cause issues with the rest of my setup, but at least I can now use sabnzbd scheduling properly :)
Post Reply