4.2.0 magnets stuck on "Downloading metadata", downgrading to 4.1.9.1 fixes issue #9376

Closed
opened 2026-02-21 20:08:47 -05:00 by deekerman · 25 comments
Owner

Originally created by @GregariousJB on GitHub (Dec 3, 2019).

Please provide the following information

qBittorrent version and Operating System

v4.2.0
Windows 10 64bit

What is the problem

Torrents stuck on "Downloading metadata", even after restarting qBittorrent

What is the expected behavior

Torrents download.

Steps to reproduce

  1. Install 4.2.0
  2. Use a magnet link to download a torrent

Extra info(if any)

Using PrivateInternetAccess proxy settings built into qBittorrent:

PIA

Above settings work beautifully in v4.1.9.1 - magnets download instantly. The same exact magnet and settings causes the magnet to get stuck on "Downloading metadata" in v4.2.0.

Originally created by @GregariousJB on GitHub (Dec 3, 2019). **Please provide the following information** ### qBittorrent version and Operating System v4.2.0 Windows 10 64bit ### What is the problem Torrents stuck on "Downloading metadata", even after restarting qBittorrent ### What is the expected behavior Torrents download. ### Steps to reproduce 1. Install 4.2.0 2. Use a magnet link to download a torrent ### Extra info(if any) Using PrivateInternetAccess proxy settings built into qBittorrent: ![PIA](https://i.imgur.com/2RRHN1B.png) Above settings work beautifully in v4.1.9.1 - magnets download instantly. The same exact magnet and settings causes the magnet to get stuck on "Downloading metadata" in v4.2.0.
deekerman 2026-02-21 20:08:47 -05:00
  • closed this issue
  • added the
    Proxy/VPN
    label
Author
Owner

@HnyBear commented on GitHub (Dec 4, 2019):

Same problem here.

@HnyBear commented on GitHub (Dec 4, 2019): Same problem here.
Author
Owner

@bcometa commented on GitHub (Dec 5, 2019):

Same here, including PIA and only Magnet (not direct downloads), but I'm on Mac 10.15.1.

@bcometa commented on GitHub (Dec 5, 2019): Same here, including PIA and only Magnet (not direct downloads), but I'm on Mac 10.15.1.
Author
Owner

@johntrask commented on GitHub (Dec 5, 2019):

Same here. Using Socks5 with Nord.

@johntrask commented on GitHub (Dec 5, 2019): Same here. Using Socks5 with Nord.
Author
Owner

@sledgehammer999 commented on GitHub (Dec 5, 2019):

It seems that libtorrent 1.2.x (used on 4.2.0) has problems with SOCKS5. In fact some users get crashes upon launch. The libtorrent author has produced a PR (https://github.com/arvidn/libtorrent/pull/4154) that probably fixes the crashes. And it might fix your issues too.
I'll produce a test build for you to test tomorrow.

@sledgehammer999 commented on GitHub (Dec 5, 2019): It seems that libtorrent 1.2.x (used on 4.2.0) has problems with SOCKS5. In fact some users get crashes upon launch. The libtorrent author has produced a PR (https://github.com/arvidn/libtorrent/pull/4154) that probably fixes the crashes. And it might fix your issues too. I'll produce a test build for you to test tomorrow.
Author
Owner

@johntrask commented on GitHub (Dec 5, 2019):

Thanks, appreciate that.

@johntrask commented on GitHub (Dec 5, 2019): Thanks, appreciate that.
Author
Owner

@HnyBear commented on GitHub (Dec 5, 2019):

That'd be great, thank you.

@HnyBear commented on GitHub (Dec 5, 2019): That'd be great, thank you.
Author
Owner

@wind77 commented on GitHub (Dec 6, 2019):

Same problem as GregariousJB, using same version and OS.
Not using proxy.
RSS downloader adds the magnet link, but forever stuck in downloading metadata.

@wind77 commented on GitHub (Dec 6, 2019): Same problem as GregariousJB, using same version and OS. Not using proxy. RSS downloader adds the magnet link, but forever stuck in downloading metadata.
Author
Owner

@sledgehammer999 commented on GitHub (Dec 7, 2019):

Please try the following test build. It includes latest libtorrent, which has a fix for SOCKS5. Please report if it fixes your problem. (I also do the official releases)
Link: http://builds.shiki.hu/temp/qbittorrent_4.2.0_x64_libtorrent_1_2_2_gitf49d194186.7z
(run from any folder or simply overwrite the official files)

Also for mac users you could try this build: https://github.com/qbittorrent/qBittorrent/issues/11564#issuecomment-562478423

@sledgehammer999 commented on GitHub (Dec 7, 2019): Please try the following test build. It includes latest libtorrent, which has a fix for SOCKS5. Please report if it fixes your problem. (I also do the official releases) Link: http://builds.shiki.hu/temp/qbittorrent_4.2.0_x64_libtorrent_1_2_2_gitf49d194186.7z (run from any folder or simply overwrite the official files) Also for mac users you could try this build: https://github.com/qbittorrent/qBittorrent/issues/11564#issuecomment-562478423
Author
Owner

@pryley commented on GitHub (Dec 7, 2019):

@Kolcha @sledgehammer999

This does not work for me (using the link in #11564 above), I still have the same "Downloading metadata" proxy problem introduced in v4.2.0.

Here are my connection settings (these settings worked in v4.1.9.1, however it stopped working the moment I updated to v4.2.0 and now downgrading to v4.1.9 doesn't seem to work either):

image

image

@pryley commented on GitHub (Dec 7, 2019): @Kolcha @sledgehammer999 This does not work for me (using the link in #11564 above), I still have the same "Downloading metadata" proxy problem introduced in v4.2.0. Here are my connection settings (these settings worked in v4.1.9.1, however it stopped working the moment I updated to v4.2.0 and now downgrading to v4.1.9 doesn't seem to work either): ![image](https://user-images.githubusercontent.com/134939/70379449-085dcb80-18ea-11ea-94a8-8cb0fabe4b96.png) ![image](https://user-images.githubusercontent.com/134939/70379453-13b0f700-18ea-11ea-8ef7-cc6ddfc15da3.png)
Author
Owner

@bcometa commented on GitHub (Dec 7, 2019):

Mac version works for me, thanks!

@bcometa commented on GitHub (Dec 7, 2019): Mac version works for me, thanks!
Author
Owner

@GregariousJB commented on GitHub (Dec 7, 2019):

Also not working for me - stuck on "Downloading metadata"

Windows 10 64bit, LTSC v1809

@GregariousJB commented on GitHub (Dec 7, 2019): Also not working for me - stuck on "Downloading metadata" Windows 10 64bit, LTSC v1809
Author
Owner

@HnyBear commented on GitHub (Dec 9, 2019):

Still doesn't work with test build. Odd thing is on 4.2.0 and the test build, if I close QB and reopen it, anything stuck on downloading metadata suddenly starts to download.

@HnyBear commented on GitHub (Dec 9, 2019): Still doesn't work with test build. Odd thing is on 4.2.0 and the test build, if I close QB and reopen it, anything stuck on downloading metadata suddenly starts to download.
Author
Owner

@JoeysRetroHandhelds commented on GitHub (Dec 10, 2019):

Not working on 4.2.0 either. Using Qbittorrent and PIA Windows App.

@JoeysRetroHandhelds commented on GitHub (Dec 10, 2019): Not working on 4.2.0 either. Using Qbittorrent and PIA Windows App.
Author
Owner

@JoeysRetroHandhelds commented on GitHub (Dec 11, 2019):

I'm using the PIA Windows app (not the SOCKS5 method).

Not sure if that solution would still apply?

On Tue, Dec 10, 2019 at 11:39 PM Daniel Jin notifications@github.com
wrote:

Is this an issue with the DNS lookup of the proxy url?

https://www.reddit.com/r/VPNTorrents/comments/4dgup2/connectiontimeout_issues_when_using_socks5_proxy/


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/qbittorrent/qBittorrent/issues/11556?email_source=notifications&email_token=AKTAN7WUW4WPZ5ISXHDPBG3QYBVJZA5CNFSM4JU677R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGR3IDI#issuecomment-564376589,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKTAN7QUQRJHUQSYKGQ2GADQYBVJZANCNFSM4JU677RQ
.

@JoeysRetroHandhelds commented on GitHub (Dec 11, 2019): I'm using the PIA Windows app (not the SOCKS5 method). Not sure if that solution would still apply? On Tue, Dec 10, 2019 at 11:39 PM Daniel Jin <notifications@github.com> wrote: > Is this an issue with the DNS lookup of the proxy url? > > > https://www.reddit.com/r/VPNTorrents/comments/4dgup2/connectiontimeout_issues_when_using_socks5_proxy/ > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/qbittorrent/qBittorrent/issues/11556?email_source=notifications&email_token=AKTAN7WUW4WPZ5ISXHDPBG3QYBVJZA5CNFSM4JU677R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGR3IDI#issuecomment-564376589>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AKTAN7QUQRJHUQSYKGQ2GADQYBVJZANCNFSM4JU677RQ> > . >
Author
Owner

@HnyBear commented on GitHub (Dec 11, 2019):

The thing is before 4.2 I had no issues with socks5 and pia everything just worked.

@HnyBear commented on GitHub (Dec 11, 2019): The thing is before 4.2 I had no issues with socks5 and pia everything just worked.
Author
Owner

@djice00 commented on GitHub (Dec 11, 2019):

The fix did nothing to fix it for me as well.

@djice00 commented on GitHub (Dec 11, 2019): The fix did nothing to fix it for me as well.
Author
Owner

@condoghost commented on GitHub (Dec 14, 2019):

Please try the following test build. It includes latest libtorrent, which has a fix for SOCKS5. Please report if it fixes your problem. (I also do the official releases)
Link: http://builds.shiki.hu/temp/qbittorrent_4.2.0_x64_libtorrent_1_2_2_gitf49d194186.7z
(run from any folder or simply overwrite the official files)

Also for mac users you could try this build: #11564 (comment)

qBittorrent v4.2.0 (64-bit) Windows 7
This worked for me. Previously proxy udp trackers not working though sometimes resetting no proxy back to proxy udp trackers still not working but had seeds and peers and downloading commenced - new torrents added, however, no seeds no peers no downloading.
Now udp trackers working and torrents have seeds and peers and are downloading. Magic! Thank-you!
sledgehammer999 you are #Aces!

UPDATE: Well, I thought this was "fixed" but alas I find now that it isn't. I ran the link, downloaded the executable. I ran it, Client automatically opened all udp trackers working all torrents downloading with seeds and peers.
An hour later I did a restart on my PC. I loaded two torrents and alas all four torrents showing udp trackers not working and curiously the two loaded previously to shut-down are downloading with seeds and peers, and the two I just downloaded are not downloading and are showing zero peers and seeds. I guess a more permanent fix is just around the corner.
Meantime, thank-you for all the hard work going into keeping us "alive".

UPDATE: v4.2.1 (64-bit) does not resolve for me. Same issues with Proxy SOCKS5 UDP Trackers.

@condoghost commented on GitHub (Dec 14, 2019): > > > Please try the following test build. It includes latest libtorrent, which has a fix for SOCKS5. Please report if it fixes your problem. (I also do the official releases) > Link: http://builds.shiki.hu/temp/qbittorrent_4.2.0_x64_libtorrent_1_2_2_gitf49d194186.7z > (run from any folder or simply overwrite the official files) > > Also for mac users you could try this build: [#11564 (comment)](https://github.com/qbittorrent/qBittorrent/issues/11564#issuecomment-562478423) qBittorrent v4.2.0 (64-bit) Windows 7 This worked for me. Previously proxy udp trackers not working though sometimes resetting no proxy back to proxy udp trackers still not working but had seeds and peers and downloading commenced - new torrents added, however, no seeds no peers no downloading. Now udp trackers working and torrents have seeds and peers and are downloading. Magic! Thank-you! sledgehammer999 you are #Aces! UPDATE: Well, I thought this was "fixed" but alas I find now that it isn't. I ran the link, downloaded the executable. I ran it, Client automatically opened all udp trackers working all torrents downloading with seeds and peers. An hour later I did a restart on my PC. I loaded two torrents and alas all four torrents showing udp trackers not working and curiously the two loaded previously to shut-down are downloading with seeds and peers, and the two I just downloaded are not downloading and are showing zero peers and seeds. I guess a more permanent fix is just around the corner. Meantime, thank-you for all the hard work going into keeping us "alive". UPDATE: v4.2.1 (64-bit) does not resolve for me. Same issues with Proxy SOCKS5 UDP Trackers.
Author
Owner

@sledgehammer999 commented on GitHub (Dec 19, 2019):

Do you guys have anonoymous mode enabled? If so, try disabling and see what happens. ATTENTION: You may want to try that with safe torrents only, as there is a slight chance that some connections (udp protocol ones) will not use the proxy.

I am waiting on the libtorrent author to see what is the change between libtorrent 1.1 and libtorrent 1.2 in the meaning of anonymous mode and udp connections.

@sledgehammer999 commented on GitHub (Dec 19, 2019): Do you guys have anonoymous mode enabled? If so, try disabling and see what happens. **ATTENTION**: You may want to try that with safe torrents only, as there is a slight chance that some connections (udp protocol ones) will not use the proxy. I am waiting on the libtorrent author to see what is the change between libtorrent 1.1 and libtorrent 1.2 in the meaning of anonymous mode and udp connections.
Author
Owner

@GregariousJB commented on GitHub (Dec 19, 2019):

I just looked and saw Anonymous mode (Options > Bittorrent > Enable Anonymous Mode) was disabled. I don't remember ever touching this option since I reformatted Windows 7 and installed Windows 10 almost one year ago on January 3rd, and I've had this "Stuck on downloading metadata" issue since around ~v4.0 while on Windows 7.

Also, not sure if this is relevant, but it seems to be. If I I'm stuck on a torrent this has worked for me twice now:

  1. Change the Connection settings from SOCKS5 to "None"
  2. Click Apply/OK, then close qBit (A force quit of the program in Task Manager is probably needed here)
  3. Run my Private Internet Access proxy client (downloaded from their website) and Connect to it.
  4. Re-open qBit. Torrent start downloading immediately - they are no longer stuck.

So the proxy connection works fine through the proxy's client but not through qBit? Someone smarter than me can figure this out. This also happens on 4.1.9.1 and earlier.

@GregariousJB commented on GitHub (Dec 19, 2019): I just looked and saw Anonymous mode (Options > Bittorrent > Enable Anonymous Mode) was disabled. I don't remember ever touching this option since I reformatted Windows 7 and installed Windows 10 almost one year ago on January 3rd, and I've had this "Stuck on downloading metadata" issue since around ~v4.0 while on Windows 7. Also, not sure if this is relevant, but it seems to be. If I I'm stuck on a torrent this has worked for me twice now: 1. Change the Connection settings from SOCKS5 to "None" 2. Click Apply/OK, then close qBit (A force quit of the program in Task Manager is probably needed here) 3. Run my Private Internet Access proxy client (downloaded from their website) and Connect to it. 4. Re-open qBit. Torrent start downloading immediately - they are no longer stuck. So the proxy connection works fine through the proxy's client but not through qBit? Someone smarter than me can figure this out. This also happens on 4.1.9.1 and earlier.
Author
Owner

@sledgehammer999 commented on GitHub (Dec 19, 2019):

I've had this "Stuck on downloading metadata" issue since around ~v4.0

But you report(in your opening comment) that:

Above settings work beautifully in v4.1.9.1 - magnets download instantly

On another note:

Run my Private Internet Access proxy client

What does this do? Creates connection to proxy and moves ALL system traffic through that proxy? (aka working transparently with any program). Or do you have to bind qbittorrent to a specific network interface it creates?

@sledgehammer999 commented on GitHub (Dec 19, 2019): >I've had this "Stuck on downloading metadata" issue since around ~v4.0 But you report(in your opening comment) that: >Above settings work beautifully in v4.1.9.1 - magnets download instantly On another note: >Run my Private Internet Access proxy client What does this do? Creates connection to proxy and moves ALL system traffic through that proxy? (aka working transparently with any program). Or do you have to bind qbittorrent to a specific network interface it creates?
Author
Owner

@sledgehammer999 commented on GitHub (Dec 19, 2019):

What does this do? Creates connection to proxy and moves ALL system traffic through that proxy? (aka working transparently with any program). Or do you have to bind qbittorrent to a specific network interface it creates?

Or is it a VPN?

@sledgehammer999 commented on GitHub (Dec 19, 2019): >What does this do? Creates connection to proxy and moves ALL system traffic through that proxy? (aka working transparently with any program). Or do you have to bind qbittorrent to a specific network interface it creates? Or is it a VPN?
Author
Owner

@GregariousJB commented on GitHub (Dec 19, 2019):

They do download beautifully, until they eventually don't.

#10226
#5097

Yeah, the PIA client I'm using is a VPN: https://www.privateinternetaccess.com/

@GregariousJB commented on GitHub (Dec 19, 2019): They do download beautifully, until they eventually don't. #10226 #5097 Yeah, the PIA client I'm using is a VPN: https://www.privateinternetaccess.com/
Author
Owner

@sledgehammer999 commented on GitHub (Dec 19, 2019):

So the proxy connection works fine through the proxy's client but not through qBit?
Yeah, the PIA client I'm using is a VPN: https://www.privateinternetaccess.com/

No. There is difference between connecting through a proxy and a VPN.
Granted the proxy code may have a bug*, but the VPN passes traffic differently.

  • waiting info from libtorrent author on how to proceed with debugging
@sledgehammer999 commented on GitHub (Dec 19, 2019): >So the proxy connection works fine through the proxy's client but not through qBit? >Yeah, the PIA client I'm using is a VPN: https://www.privateinternetaccess.com/ No. There is difference between connecting through a proxy and a VPN. Granted the proxy code may have a bug*, but the VPN passes traffic differently. * waiting info from libtorrent author on how to proceed with debugging
Author
Owner

@HnyBear commented on GitHub (Dec 19, 2019):

Thank you for staying on top of this.

@HnyBear commented on GitHub (Dec 19, 2019): Thank you for staying on top of this.
Author
Owner

@sledgehammer999 commented on GitHub (Dec 22, 2019):

Please see issue #11735.
Post your results there.

@sledgehammer999 commented on GitHub (Dec 22, 2019): Please see issue #11735. Post your results there.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#9376
No description provided.