Skip to content

AbstractWebApplication::validateHostHeader prevents webUI from being accessible when running in a docker container #7641

@FilipBB

Description

@FilipBB

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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions