-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
AbstractWebApplication::validateHostHeader prevents webUI from being accessible when running in a docker container #7641
Comments
Post the full message, please. |
The full message is: I'm just using the standard docker container set-up: The interface inside the docker container is eth0 and the ip address is 172.17.0.3. The qBittorrent webUI is listening at port 8080 inside the container. Docker is mapping the external port 21011 to the port 8080 inside the container. The host is a raspberry pi at IP 192.168.1.100 and I'm trying to connect from another PC on the lan who's IP is 192.168.1.118. I have some other self hosted services running on the Pi that work fine, and qBittorrent 3.3.13 was not having this problem. |
As a workaround, obviously you can set both ports to the same number and it should work. |
Ok, well your workaround solves it for now, thanks. |
qBittorrent version and Operating System:
qBittorrent v3.4.0beta2
If on linux, libtorrent and Qt version:
libtorrent 1.0.11
Qt 5.8.0
What is the problem:
Tying to access the webUI from within the local lan with qbittorrent-nox running in docker container on another host on the lan causes the following warning message in the logs:
"WebUI: Invalid Host header, port mismatch"
The webUI is not displayed, no page is displayed at all.
What is the expected behavior:
The webUI would be displayed
Steps to reproduce:
Run qbittorrent in a docker container and try to access the webui from another host.
Extra info(if any):
The text was updated successfully, but these errors were encountered: