Settings -> Network -> Custom URL breaks my external player
Posted: Fri Oct 30, 2015 6:16 pm
Bug found in SS 5.3 and it runs under an Apache proxy. When creating its own URLs and giving the m3u file, Subsonic do not adequately output the domain name event if the setting is set to "Use custom URL (Advanced)". In the example bellow:
URLs generated in the files are the following:
http://my.custom.url:4041/xxx
Instead of
https://my.custom.url/xxx
Somehow, Subsonic decides by itself to remove the HTTPS protocol and put back the standard HTTP one. On the other side, it also decide to insert a wrong port number (which is 4041 here). My server is only accessible by HTTPS, using the standard 443 port. What is really strange is, how and why Subsonic decides I do not run the software on HTTPS when on the server, HTTPS configuration is on and properly configured (in /etc/default/subsonic).
I find that this setting misbehave and doesn't give the result we think it might give. By setting up this parameter, it should change nothing else; It's an advance setting! Let the user configure whatever he wants in this field please.
Thanks
URLs generated in the files are the following:
http://my.custom.url:4041/xxx
Instead of
https://my.custom.url/xxx
Somehow, Subsonic decides by itself to remove the HTTPS protocol and put back the standard HTTP one. On the other side, it also decide to insert a wrong port number (which is 4041 here). My server is only accessible by HTTPS, using the standard 443 port. What is really strange is, how and why Subsonic decides I do not run the software on HTTPS when on the server, HTTPS configuration is on and properly configured (in /etc/default/subsonic).
I find that this setting misbehave and doesn't give the result we think it might give. By setting up this parameter, it should change nothing else; It's an advance setting! Let the user configure whatever he wants in this field please.
Thanks