truecharts / charts

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.13k stars 620 forks source link

qBittorrent service port is unreachable - as if service port is not exposed #5116

Closed rumplin closed 1 year ago

rumplin commented 1 year ago

App Name

qbittorrent

SCALE Version

22.02.3

App Version

4.5.0_13.0.3

Application Events

https://i.imgur.com/nvFMx41.png

Application Logs

2022-12-04 11:32:07.029721+00:00QFile::at: Cannot set file position 0
2022-12-04 11:32:07.031012+00:00(N) 2022-12-04T12:32:07 - qBittorrent v4.5.0 started
2022-12-04 11:32:07.031057+00:00(N) 2022-12-04T12:32:07 - Using config directory: /config/qBittorrent
2022-12-04 11:32:07.031229+00:00WebUI will be started shortly after internal preparations. Please wait...
2022-12-04 11:32:07.032751+00:00(N) 2022-12-04T12:32:07 - Trying to listen on the following list of IP addresses: "0.0.0.0:61234,[::]:61234"
2022-12-04 11:32:07.117767+00:00(I) 2022-12-04T12:32:07 - Peer ID: "-qB4500-"
2022-12-04 11:32:07.117794+00:00(I) 2022-12-04T12:32:07 - HTTP User-Agent: "qBittorrent/4.5.0"
2022-12-04 11:32:07.117821+00:00(I) 2022-12-04T12:32:07 - Distributed Hash Table (DHT) support: ON
2022-12-04 11:32:07.117836+00:00(I) 2022-12-04T12:32:07 - Local Peer Discovery support: ON
2022-12-04 11:32:07.117842+00:00(I) 2022-12-04T12:32:07 - Peer Exchange (PeX) support: ON
2022-12-04 11:32:07.117848+00:00(I) 2022-12-04T12:32:07 - Anonymous mode: OFF
2022-12-04 11:32:07.117854+00:00(I) 2022-12-04T12:32:07 - Encryption support: ON
2022-12-04 11:32:07.149493+00:00(N) 2022-12-04T12:32:07 - Successfully parsed the IP filter file. Number of rules applied: 0
2022-12-04 11:32:07.149935+00:00(I) 2022-12-04T12:32:07 - Successfully listening on IP. IP: "127.0.0.1". Port: "TCP/61234"
2022-12-04 11:32:07.149994+00:00(I) 2022-12-04T12:32:07 - Successfully listening on IP. IP: "127.0.0.1". Port: "UDP/61234"
2022-12-04 11:32:07.150141+00:00(I) 2022-12-04T12:32:07 - Successfully listening on IP. IP: "172.16.0.177". Port: "TCP/61234"
2022-12-04 11:32:07.150499+00:00(I) 2022-12-04T12:32:07 - Successfully listening on IP. IP: "172.16.0.177". Port: "UDP/61234"
2022-12-04 11:32:07.176194+00:00(N) 2022-12-04T12:32:07 - Restored torrent. Torrent: "Win98 SE.iso"
2022-12-04 11:32:07.204618+00:00(N) 2022-12-04T12:32:07 - Restored torrent. Torrent: "Zorin-OS-16.2-Lite-64-bit.iso"
2022-12-04 11:32:07.214087+00:00(N) 2022-12-04T12:32:07 - Restored torrent. Torrent: "HBCD_PE_x64.iso"
2022-12-04 11:32:07.225171+00:00(I) 2022-12-04T12:32:07 - Detected external IP. IP: "84.255.100.100"
2022-12-04 11:32:07.391518+00:00(N) 2022-12-04T12:32:07 - Restored torrent. Torrent: "Zorin-OS-16.1-Core-64-bit.iso"
2022-12-04 11:32:07.480817+00:00(I) 2022-12-04T12:32:07 - IP geolocation database loaded. Type: DBIP-Country-Lite. Build time: Thu Dec 1 02:29:19 2022.
2022-12-04 11:32:07.485146+00:00(N) 2022-12-04T12:32:07 - Using built-in Web UI.
2022-12-04 11:32:07.485985+00:00(N) 2022-12-04T12:32:07 - Web UI translation for selected locale (en) has been successfully loaded.
2022-12-04 11:32:07.530580+00:00(N) 2022-12-04T12:32:07 - Web UI: Now listening on IP: *, port: 8080
2022-12-04 11:33:12.452538+00:00(N) 2022-12-04T12:33:12 - WebAPI login success. IP: ::ffff:172.16.0.175
2022-12-04 11:33:44.633642+00:00(N) 2022-12-04T12:33:44 - WebAPI login success. IP: ::ffff:172.16.0.153
2022-12-04 11:41:48.914965+00:00(N) 2022-12-04T12:41:48 - Torrent download finished. Torrent: "Zorin-OS-16.1-Core-64-bit.iso"
2022-12-04 11:49:13.745146+00:00(N) 2022-12-04T12:49:13 - Torrent download finished. Torrent: "ubuntu-22.04-desktop-amd64.iso"
2022-12-04 12:02:15.140657+00:00(N) 2022-12-04T13:02:15 - Removed torrent and deleted its content. Torrent: "alpine-extended-3.16.3-x86_64.iso"
2022-12-04 12:05:19.014823+00:00(N) 2022-12-04T13:05:19 - Added new torrent. Torrent: "kubuntu-22.04-desktop-amd64.iso"
2022-12-04 12:05:43.078921+00:00(N) 2022-12-04T13:05:43 - Added new torrent. Torrent: "kubuntu-22.10-desktop-amd64.iso"
2022-12-04 12:10:19.993247+00:00(N) 2022-12-04T13:10:19 - Torrent download finished. Torrent: "kubuntu-22.10-desktop-amd64.iso"
2022-12-04 12:14:11.230100+00:00(N) 2022-12-04T13:14:11 - Torrent download finished. Torrent: "kubuntu-22.04-desktop-amd64.iso"

Application Configuration

https://i.imgur.com/1mPcCvp.png https://i.imgur.com/tXS718r.png https://i.imgur.com/FFDWT9a.png https://i.imgur.com/qPwiqmE.png

Describe the bug

I have multiple locations where I run qBittorrent, some run directly from linux server or in docker. I have two machines running TrueNAS Scale and in there I use TrueCharts qBittorrent apps.

These clients appear in the other qBittorrent client in the peer list with ports that I have not defined - they seem random. Telnet on the local network on the specified ports also doesn't work on the TrueNAS qBittorrent clients.

The WebUI port works ok, I can access it over the browser without problem.

To Reproduce

  1. add qBittorrent app to TrueNAS
  2. in configuration part, define custom ports
  3. Check web UI access over browser
  4. Check service port over telnet: telnet

telnet 192.168.64.100 61234 Connecting To 192.168.64.100...Could not open connection to the host, on port 61234: Connect failed

Expected Behavior

I should get a response when I try to telnet on the custom port I specified.

Screenshots

image Screenshot from another qBittorrent client who got the TrueNAS qBittorrent client as peer with random port instead 61234.

Additional Context

Port forward on the router has been checked and it's working. If I change another service to port 61234 I get reply from outside my network. image

I've read and agree with the following

PrivatePuffin commented 1 year ago

We never ever support changing ports inside the applications themselves, so I already see some user-error there. I also see use of an older SCALE version.

Please file a support ticket instead.

rumplin commented 1 year ago

Sorry, the correct SCALE Version is 22.02.4

Can you help me understand the user-error here @Ornias1993 ?

I should leave the default port 6881 in qBittorrent itself but set the 61234 in the TrueNAS config?

xstar97 commented 1 year ago

Sorry, the correct SCALE Version is 22.02.4

Can you help me understand the user-error here @Ornias1993 ?

I should leave the default port 6881 in qBittorrent itself but set the 61234 in the TrueNAS config?

Open a support ticket in our discord. https://discord.gg/ccWYDFXa

rumplin commented 1 year ago

I followed this guide https://truecharts.org/docs/charts/stable/qbittorrent/installation/ and now I am told that changing the port is somehow not supported?

stavros-k commented 1 year ago

I followed this guide https://truecharts.org/docs/charts/stable/qbittorrent/installation/ and now I am told that changing the port is somehow not supported?

You are directed twice to Discord already.