-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Booksonic and reverse proxy #34
Comments
Also having this problem, anyone find a solution? I am also using the linuxserver/booksonic docker build. I tried setting an environment variable: CONTEXT_PATH= but based on the subsonic documentation, I think this is for a mydomain.com/audiobooks setup whereas I am trying to do audiobooks.mydomain.com. My docker-compose log for booksonic indicates the webserver can't respond to https traffic: booksonic | 2018-06-07T07:12:25.896600024Z 2018-06-07 07:12:25.896:WARN:oejh.HttpParser:qtp931919113-15: bad HTTP parsed: 400 Illegal character 0x16 for HttpChannelOverHttp@6e8b5719{r=0,c=false,a=IDLE,uri=null} |
anyone found a solution for this? |
I'm having this problem as well.. Would appreciate a solution to this! |
Might be related to #17 as well as https://www.reddit.com/r/Booksonic/comments/66znm0/nginx_location_entry/ |
So it looks like spring boot needs to be configured to allow those headers I don't know how to create an applications.properties. I assume it has to be added to the war file, and not something you can create runtime right? |
I spend way too much time on this. Otherwise it will forward the authentication, and if your proxy and booksonic users are different, booksonic will throw a 401. |
I have Booksonic running in Docker. All services go through Traefik (reverse proxy) using the following Docker Compose;
I can access Booksonic on localhost:4040 but not through the reverse proxy using booksonic.domain.com. I get the normal basicauth username and password prompt from traefik but when I enter the correct details it just loops back and shows the username and password prompt again. I never actually get to the Booksonic interface where it asks for the Booksonic username and password.
I have about 20 other services all working through traefik without problems. I know this isn't strictly a Booksonic issue but I thought I'd ask anyway to see if anyone can offer any advice. Thanks.
The text was updated successfully, but these errors were encountered: