qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.48k stars 3.99k forks source link

Tracker permission denied for this torrent file, other torrent clients work #17470

Open FalcoGer opened 2 years ago

FalcoGer commented 2 years ago

qBittorrent & operating system versions

qBittorrent: 4.4.3.1 Operating system: Windows 10 Pro (10.0.1xxxx) Qt: 6.3.0 Libtorrent: 2.0.6.0 Boost: 1.78.0 OpenSSL: 1.1.1o zlib: 1.2.12

What is the problem?

I wished to download Falcon BMS 4.36 (torrent attached). However it stuck with status "stalled" and in the trackers I got the message "Permission denied". I have then tried a different torrent and it worked fine. I have then tried this torrent that doesn't work in another torrent client (tribler), and that one works fine with the torrent file that qBittorrent fails on. I have tried with and without my socks5 proxy, neither option works.

Steps to reproduce

  1. Open the attached torrent file
  2. Check trackers
  3. ??
  4. No profit

Additional context

Permission denied: grafik Working torrent with the same setup: grafik

Again the torrent file that doesn't work in qbittorrent works fine in tribler. The file that doesn't work: https://www.falcon-bms.com/wp-content/uploads/2022/04/Falcon_BMS_4.36_Setup.torrent

Log(s) & preferences file(s)

[GUI]
Qt6\MainWindow\VSplitterState=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0x\0\0\x2:\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
Log\Enabled=false
Qt6\TransferList\HeaderState=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1f\b\xc0\xff?\0\0\0\x11\0\0\0\x12\0\0\0\x64\0\0\0\x1a\0\0\0\x64\0\0\0\x14\0\0\0\x64\0\0\0\x1c\0\0\0\x64\0\0\0\xe\0\0\0\x64\0\0\0\x1d\0\0\0\x64\0\0\0\x19\0\0\0\x64\0\0\0\x3\0\0\0\x64\0\0\0\x1b\0\0\0\x64\0\0\0\x17\0\0\0\x64\0\0\0\x18\0\0\0\x64\0\0\0\x11\0\0\0\x64\0\0\0\xf\0\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\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0)
Qt6\TorrentProperties\TrackerListState=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x4@\0\0\0\b\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\b\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x1h\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x80\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
Notifications\TorrentAdded=false
DownloadTrackerFavicon=false
Qt6\AddNewTorrentDialog\TreeHeaderState="@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x6\x34\0\0\0\x3\0\0\0\x4\0\0\0\x64\0\0\0\x5\0\0\0\x64\0\0\0\x2\0\0\0\x64\0\0\x1,\0\0\0\x6\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x6\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0)"

[BitTorrent]
Session\GlobalMaxRatio=0.01
Session\GlobalMaxSeedingMinutes=1
Session\MaxActiveTorrents=10
Session\AddTorrentPaused=true
Session\AlternativeGlobalUPSpeedLimit=1
Session\AnonymousModeEnabled=true
Session\AddExtensionToIncompleteFiles=true
Session\ResumeDataStorageType=SQLite
Session\GlobalUPSpeedLimit=1
Session\ProxyPeerConnections=true
Session\AlternativeGlobalDLSpeedLimit=256
Session\Port=17652
Session\MaxUploadsPerTorrent=1
Session\TorrentContentLayout=Subfolder
OSMemoryPriority=Low
Session\MaxActiveDownloads=10
Session\Encryption=1
Session\MaxActiveUploads=1
Session\SeedChokingAlgorithm=RoundRobin
Session\IgnoreLimitsOnLAN=true
Session\SaveResumeDataInterval=15
Session\QueueingSystemEnabled=true
Session\MaxUploads=1

[Preferences]
General\HideZeroComboValues=1
General\PreventFromSuspendWhenSeeding=false
Scheduler\days=EveryDay
General\NoSplashScreen=true
Scheduler\start_time=@Variant(\0\0\0\xf\x1\xb7t\0)
MailNotification\req_ssl=false
General\ExitConfirm=true
General\MinimizeToTray=true
Downloads\DblClOnTorFn=1
MailNotification\sender=qBittorrent_notification@example.com
General\MinimizeToTrayNotified=true
Advanced\EnableIconsInMenus=true
General\HideZeroValues=false
Search\SearchEnabled=true
General\CustomUIThemePath=
Advanced\confirmTorrentDeletion=true
WebUI\Enabled=false
Advanced\updateCheck=true
General\UseCustomUITheme=false
Connection\ResolvePeerCountries=true
General\AlternatingRowColors=true
Advanced\confirmRemoveAllTags=true
Scheduler\end_time=@Variant(\0\0\0\xf\x4J\xa2\0)
MailNotification\username=
General\CloseToTray=false
Connection\ResolvePeerHostNames=false
MailNotification\email=
MailNotification\enabled=false
Advanced\DisableRecursiveDownload=true
Advanced\trackerPort=9000
Advanced\TrayIconStyle=Normal
General\PreventFromSuspendWhenDownloading=false
MailNotification\req_auth=false
Advanced\RecheckOnCompletion=false
General\SystrayEnabled=true
MailNotification\password=
MailNotification\smtp_server=smtp.changeme.com
Downloads\DblClOnTorDl=0
General\Locale=en
General\StartMinimized=false
Advanced\confirmTorrentRecheck=true

[MainWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\xff\xff\xff\xf8\0\0\a\x7f\0\0\x4\xf\0\0\x1\xf7\0\0\0\xfe\0\0\x5\x88\0\0\x3\x30\0\0\0\0\x2\0\0\0\a\x80\0\0\0\0\0\0\0\x17\0\0\a\x7f\0\0\x4\xf)

[Application]
FileLogger\MaxSizeBytes=66560
FileLogger\AgeType=1
FileLogger\DeleteOld=true
FileLogger\Age=1
FileLogger\Enabled=true
FileLogger\Backup=true
FileLogger\Path=C:/Users/Paul/AppData/Local/qBittorrent/logs

[SpeedWidget]
graph_enable_8=false
graph_enable_0=true
graph_enable_5=false
graph_enable_6=false
period=1
graph_enable_1=true
Enabled=true
graph_enable_9=false
graph_enable_2=false
graph_enable_3=false
graph_enable_4=false
graph_enable_7=false

[Network]
Proxy\IP=pi.lan
Proxy\Username=
Proxy\Password=
Proxy\Type=SOCKS5
Proxy\Port=9100
Proxy\OnlyForTorrents=true

[OptionsDialog]
LastViewedPage=2
Size=@Size(1127 591)
HorizontalSplitterSizes=180, 920

[TorrentProperties]
Visible=true
CurrentTab=1
SplitterSizes="159,306"

[AddNewTorrentDialog]
SavePathHistory=D:/Eigene Dateien/Downloads
TopLevel=true
RememberLastSavePath=false
DialogSize=@Size(900 622)
DownloadPathHistory=
Enabled=true

[TrackerEntriesDialog]
Size=@Size(506 500)

[TransferList]
SubSortColumn=0

[RSS]
AutoDownloader\SmartEpisodeFilter=s(\\d+)e(\\d+), (\\d+)x(\\d+), "(\\d{4}[.\\-]\\d{1,2}[.\\-]\\d{1,2})", "(\\d{1,2}[.\\-]\\d{1,2}[.\\-]\\d{4})"
AutoDownloader\DownloadRepacks=true

[TorrentOptionsDialog]
Size=@Size(463 540)

[LegalNotice]
Accepted=true

[AutoRun]
ConsoleEnabled=false
enabled=false
program=

[TransferListFilters]
selectedFilterIndex=0

[AboutDialog]
Size=@Size(973 297)

[Core]
AutoDeleteAddedTorrentFile=Never

[ShutdownConfirmDlg]
DontConfirmAutoExit=true

[Meta]
MigrationVersion=3
(N) 2022-07-31T04:58:08 - qBittorrent v4.4.3.1 started
(N) 2022-07-31T04:58:08 - Using config directory: C:/Users/Paul/AppData/Roaming/qBittorrent
(I) 2022-07-31T04:58:08 - Trying to listen on: 0.0.0.0:17652,[::]:17652
(N) 2022-07-31T04:58:08 - Peer ID: -qB4431-
(N) 2022-07-31T04:58:08 - HTTP User-Agent is 'qBittorrent/4.4.3.1'
(I) 2022-07-31T04:58:08 - DHT support [ON]
(I) 2022-07-31T04:58:08 - Local Peer Discovery support [ON]
(I) 2022-07-31T04:58:08 - PeX support [ON]
(I) 2022-07-31T04:58:08 - Anonymous mode [ON]
(I) 2022-07-31T04:58:08 - Encryption support [FORCED]
(I) 2022-07-31T04:58:08 - UPnP / NAT-PMP support [ON]
(I) 2022-07-31T04:58:08 - IP geolocation database loaded. Type: DBIP-Country-Lite. Build time: Fri Jul 1 02:23:19 2022.
(I) 2022-07-31T04:58:09 - Successfully listening on IP: 0.0.0.0, port: UTP/17652
(I) 2022-07-31T04:58:09 - Python detected, executable name: 'python', version: 3.9.7
(N) 2022-07-31T04:58:15 - 'Falcon_BMS_4.36_Setup' added to download list.
(N) 2022-07-31T04:58:35 - 'Falcon_BMS_4.36_Setup' was removed from the transfer list and hard disk.
(I) 2022-07-31T04:58:37 - UPnP / NAT-PMP support [OFF]

For some reason I can't attach a zip archive with the torrent file. So I included a link to it instead.

ghost commented 2 years ago

Works fine for me. Seems like your UDP traffic is blocked or something by firewall since your DHT nodes are also staying at zero.

FalcoGer commented 2 years ago

Well, I have snort and pihole running, but the tracker dns resolved. I turned pihole off to be sure. I checked the snort logs, nothing was blocked. Also again, the other two torrent clients worked just fine. And qbittorrent did do the test torrent just fine. What else could be the issue?

Koguni31 commented 2 years ago

Have exactly the same problem. Qbittorrent 4.4.5, W10 x64.

I use dante socks proxy, and found that dht and udp trackers are not working. And, no requests on dante to udp trackers or dht logged.

Also, wireshark capturing traffic on PC with socks server, shows no qbittorent's request to handle udp requests to udp trackers or DHT via socks5 proto, only TCP ones. Also no direct UDP requests to DHT or UDP trackers in packet dump.

Torrents with http trackers are downloaded without any problem, but with udp trackers - N/A Permission denied in tracker status, 0 DHT, and no socks5 udp or direct udp requests in packet capture.

Reproduce: setup socks5 proxy and configure qbittorrent 'Use proxy for peer connections' option.

conlon commented 1 year ago

@Koguni31 Thanks for your repro steps. I unchecked the peer connections option, but still wasn't able to get it working. Once I also unchecked 'Use proxy for hostname lookup', then I was able to get things working again.

Put another way: Reproduce: setup socks5 proxy and configure qbittorrent 'Use proxy for peer connections' option and (or?) 'Use proxy for hostname lookup' option.