Hello!
I'm having this exact same problem. I'm using HAProxy as a front-end to handle SSL stripping and some URL redirection for my Subsonic 5.3 instance.
Subsonic is running on Debian Jessie with OpenJDK 7 in HTTP mode at the address: sub.i.domain.com:8080. The HAProxy is in the same network, and translates the public URL:
https://media.domain.com/musicI have the SSL stripping (LetsEncrypt cert) and URL rewriting working with the following configs:
HAProxy:
- Code: Select all
frontend front_media_443
bind 10.0.0.2:443 ssl crt /etc/ssl/media.pem
mode http
acl url_sub path_beg /music
use_backend back_sub-http if url_sub
backend back_sub-http
mode http
server sub.i.domain.com 10.9.0.3:8080 check
/etc/default/subsonic:
- Code: Select all
SUBSONIC_ARGS="--max-memory=1792 --port=8080 --context-path=/music"
As mentioned this seems to work, and does in fact for a number of other services I'm running through the same HAProxy instance, but with Subsonic I'm getting different problems in different browsers.
In Firefox 44.0.2, I get warnings about mixed content, and the inner frame (i.e. where it says "Welcome to Subsonic!" on the home page) is blocked. However viewing the source, every script link is relative, so I'm not sure where the mixed content actually is? As soon as I disable the blocking, everything works perfectly. No errors are evident in either subsonic.log or subsonic_sh.log.
In Chrome 49, I get the same problem as described by OP: various pages don't show up. When first loading, the home page described above is blank, but a refresh loads it. As well, trying to visit the Settings page doesn't even work (the link never loads). I don't seem to get any explicit errors/blocking like I do in Firefox though. No errors are evident in either subsonic.log or subsonic_sh.log.
I suspect there is indeed something fishy going on within Subsonic when running in HTTP mode with an HTTPS proxy in front of it. Does anyone have any advice?