-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
UDP trackers do not work with SOCKS5 proxy when the proxy requires authentication #7838
Comments
qb 4.0.2 still no connection when tracking is HTTPS and using proxy server. |
Did this get addressed yet? I have the same issue as the poster. |
Same issue |
Same issue here on Windows 7, 8 and 10. Please address it, as it doesn't happen with any other Torrent client I've tried (VUZE, uTorrent, Deluge). |
Same issue. Other sources suggest downgrading to 3.3.16 but that doesn't help. |
@yegors @Cunningcory do you use v4.0.4 and it fails? |
Yes it does, with every 4.0.? I've tried it has failed for me. |
@marc0nline just to be sure since this an old bug: Your problem is that you have a UDP SOCKS5 proxy that requires authentication and it doesn't work. Right? |
Bug 1: When using a SOCKS5 proxy that requires authentication, torrents added hang on "downloading metadata" until qBittorrent is restarted, sometimes several times. This happens on pre-4.0 clients (like 3.3.16). Bug 2: When using a SOCKS5 proxy that requires authentication, torrents added hang on "downloading metadata" even after qBittorrent is restarted several times. This happens on 4.0+ clients. When using 4.0.4 I have to remove the proxy to get the torrent working. |
I don't care about bug number 1 because that's an obsolete version. The 2nd sounds like a libtorrent bug, which I'll need to forward. |
Now that I think about it I have 2 more questions:
|
|
Sorry missed your first question. Yes it does work. Im using it now. if I upgrade and launch all the torrents look like they are starting up and then everything drops to "0" in the download column. |
Can't you use a regular torrent via proxy? With a .torrent extension. Like a linux distro torrent. |
The Ubuntu torrent has a HTTP tracker, which doesn't appear to be affected. This issue pertains to UDP based trackers (majority of them). Try this instead:
|
That's a magnet which also depends on UDP. I wanted to rule out magnet issues. |
Updating my observations. 4.0.4 appears to be behaving just like 3.3.16 for me. When I clicked on magnet links to test initially, they worked. I left the client running and hours later it auto-fetched via RSS some other torrents which failed to work. I then re-clicked a magnet link that had worked earlier and it also failed to work. Finally, I manually downloaded the .torrent file of that same magnet link and tried to start the torrent from the file. This also didn't work, though its status is "Stalled" instead of "Downloading metadata" and does list the file size (whereas the magnet files stay at 0). Restarting client first time did not fix. Restarting client a SECOND time fixed. When not working, all trackers are listed "Not working". After restarting twice, two UDP trackers are now listed as working. Connection status remains offline. Edit: Using PIA Proxy. 4/10/2018 1:41 PM - qBittorrent v4.0.4 started |
Ok I reinstalled 4.0.4 and restarted several time as instructed. The torrents do start to download as you say in your post. The only issue I still see that doesn't clear with restarting is the Connection Status is "OFFLINE". I restarted cpu and restarted Qbit again and it still states "OFFLINE" even though the torrents are indeed downloading and seeding. |
I can report the issue still persists with v4.1.0. So far it has happened once. I hard reset the client through task manager and the torrent was able to connect. |
This is a problem for me currently on latest qbittorrent, socks5 proxy from nordvpn, requires auth and UDP trackers doesn't work. |
Same here. Found this thread because I've been trying to find a solution. I'm only getting peers from DHT/PEX/LSD and trackers which operate on HTTP. |
When I used QBittorrent Version 3.3.16 + Socks5 proxy + Nordvpn = Show on EXECUTION LOG TAB: When I used QBittorrent Version 4.2.0 + Socks5 proxy + Nordvpn = Show on EXECUTION LOG TAB: The same settings was made for both version 3.3.16 and 4.2.0. |
Do you even realize that this a closed issue? @LAP87 @galacticboy2009 see issue ##11735 |
Yes, but only after writing the comment did I notice. This was the first comment/post I ever made on GitHub, I'm new, and I haven't read any sort of FAQ or guide as to the rules, so it's my own fault. I'm just looking for help on running a torrent client with VPN on my Synology NAS, and I feel like I've nearly exhausted every option for making that happen. However, this was definitely the wrong place to look, as it's probably a different version of Qbittorrent, and it's definitely running on a different host operating system. But, it's the same problem I've been having, so I was hoping a solution would be here anyway. |
qBittorrent version and Operating System
v3.3.13 MacOS High Sierra
What is the problem
When using SOCKS5 proxy server with username/password authentication UDP trackers indicate "Not working", when the SOCKS5 server does not require authentication, the UDP trackers start working.
What is the expected behavior
The UDP trackers should connect and start working when the SOCKS5 proxy requires authentication.
Steps to reproduce
Choose socks5 as the proxy to use, enable authentication, download a torrent with udp trackers. http trackers work however the udp ones do not.
Extra info(if any)
The problem is caused by the SOCKS5 client implementation. After running a socks5 proxy server with authentication required and connecting to it with my qbittorent, I have seen the following exchange:
qbittorent: 05 01 02 (indicating the auth method is username/password authentication)
SOCKS5 : 05 02 (accepting the username/password authentication)
qbittorent: 01 04 75 73 65 72 04 70 61 73 73 (auth subnegotiation with username="user", pass="pass")
SOCKS5 : 05 00 (Client authenticated)
qbittorent: 05 01 00 03 0f 63 6f 70 70 65 72 73 75 72 66 65 72 2e 74 6b 00 50 (sending a "socks5 connect request" instead of a "socks5 udp associate request")
When the socks5 does not require authentication, the udp trackers work fine and following exchange happens:
qbittorent: 05 01 00 (indicating the auth method is no auth)
SOCKS5 : 05 00 (accepting the no auth)
qbittorent: 05 03 00 01 00 00 00 00 00 00 (udp associate request)
.... working
The text was updated successfully, but these errors were encountered: