Open michecode opened 5 years ago
hey i fixed the problem. the documentation on github and dockerhub is actually wrong. the environment variable WEBUI_PORT_ENV should be WEBUI_PORT as seen in the iptables.sh code
This should still be open as the issue is not fixed.
This should still be open as the issue is not fixed.
root@aead90d93670:/# grep WEBUI etc/qbittorrent/iptables.sh
echo "[info] WebUI port defined as ${WEBUI_PORT}" | ts '%Y-%m-%d %H:%M:%.S'
if [ -z "${WEBUI_PORT}" ]; then
echo "${WEBUI_PORT} webui" >> /etc/iproute2/rt_tables
if [ -z "${WEBUI_PORT}" ]; then
iptables -A INPUT -i eth0 -p tcp --dport ${WEBUI_PORT} -j ACCEPT
iptables -A INPUT -i eth0 -p tcp --sport ${WEBUI_PORT} -j ACCEPT
if [ -z "${WEBUI_PORT}" ]; then
iptables -t mangle -A OUTPUT -p tcp --dport ${WEBUI_PORT} -j MARK --set-mark 1
iptables -t mangle -A OUTPUT -p tcp --sport ${WEBUI_PORT} -j MARK --set-mark 1
if [ -z "${WEBUI_PORT}" ]; then
iptables -A OUTPUT -o eth0 -p tcp --dport ${WEBUI_PORT} -j ACCEPT
iptables -A OUTPUT -o eth0 -p tcp --sport ${WEBUI_PORT} -j ACCEPT
And still not fixed 3 years later now 2022. Abandonware :/
4 years later and still a issue.
I was able to set up the docker and I am able to use the WebUI and login page on port 8080. But I am trying to have multiple services running so I am using Traefik on port 8080 so I push this service to 8081 (have also tried 8580 and 8085) and suddenly it doesnt work.
curl localhost:8081 gives nothing in return wget localhost:8081 gives - Resolving localhost (localhost). . . ::1, 127.0.0.1 Connecting to localhost (localhost)|::1|:8081 . . . connected. HTTP request sent, awaiting response . . . 401 Unauthorized
Username/Password Authentication Failed.