Page 1 of 1

Broken Playing & Settings Menu Links (behind Apache proxy)

PostPosted: Tue Jun 06, 2017 6:59 pm
by matsinet
After updating to version 6 (most recently 6.1.1), the Playing menu at the top and the Settings menu on the left no longer open the appropriate page.
All other menu options work fine.

I have Subsonic setup without SSL enabled behind an Apache reverse proxy with SSL enabled.

When clicking on the settings link the following error is logged to the console:

Mixed Content: The page at 'https://{domain name omitted}/index.view' was loaded over HTTPS, but requested an insecure resource 'http://{domain name omitted}/musicFolderSettings.view'. This request has been blocked; the content must be served over HTTPS.

I get a similar issue with the nowPlaying page via the Playing menu.

The configuration of the apache server hasn't changed in far longer than the new versions of subsonic have been installed and it worked perfectly with version 5.

Is there any reason why this would have changed from version 5 to version 6.
Could the showPage function be hardcoded for these to links to display them http instead of a relative path?

Thanks in advance for any assistance.

Matt

Re: Broken Playing & Settings Menu Links (behind Apache prox

PostPosted: Sat Jun 10, 2017 7:38 pm
by Exrace
Cache?
See if the apache setup is caching requests.

Re: Broken Playing & Settings Menu Links (behind Apache prox

PostPosted: Thu Jun 29, 2017 5:40 pm
by jeremer
matsinet -- did you ever find a resolution? I am having the same problem with reverse proxying Subsonic through IIS.

Re: Broken Playing & Settings Menu Links (behind Apache prox

PostPosted: Thu Jun 29, 2017 6:20 pm
by b.bassett
Could be the browser cache also? Try a Ctrl + F5 to refresh.

Re: Broken Playing & Settings Menu Links (behind Apache prox

PostPosted: Fri Jun 30, 2017 2:09 pm
by jeremer
The Chrome Developer Tools Console reports this error:

Mixed Content: The page at 'https://www.mydomain.com/subsonic/index.view' was loaded over HTTPS, but requested an insecure resource 'http://www.mydomain.com/subsonic/musicFolderSettings.view'. This request has been blocked; the content must be served over HTTPS.


Chrome is blocking the request because the Subsonic UI is asking for HTTP. Since this is happening on both IIS and Apache, this makes me think it is a code problem.