qbittorrent / qBittorrent

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

Qbittorrent will not reconnect after vpn disconnect and reconnect, must restart app #10790

Closed ArmchairArchitect closed 2 years ago

ArmchairArchitect commented 5 years ago

Longstanding issue, see details here: https://qbforums.shiki.hu/index.php/topic,2921.0.html

dvdmn commented 5 years ago

Yes, this is bugging me also forever. My VPN randomly shuts down or reconnects and qBT is just sitting there, waiting to be relaunched whenever I notice the issue.

thalieht commented 4 years ago

This issue is discussed in https://github.com/arvidn/libtorrent/issues/4412 I can't find any other dedicated issue for this but i'm sure i've seen this discussed elsewhere.

iamshilov commented 3 years ago

I've just switched from Deluge to qBittorent and after several days noticed this re-connection problem too. I use v4.3.4, WIn 10, Surfshark VPN

dvdmn commented 3 years ago

At the time of my original post back in August 2019 when I had the issue, I was using IPVanish. Ever since switching to PIA (Private Internet Access) VPN I never ran into this issue again. All in all, PIA has proven to be way more reliable and convenient in my personal use case and experience.

iamshilov commented 3 years ago

How can it possibly depend on a VPN provider when it's just another Network Connection added the way app sees it. Also as I've noticed in my post, I had everything working just fine with Deluge. So in my case the only thing that has changed was the torrent client.

yanisallouch commented 3 years ago

I had this isssue with qbittorent for many updates and a popular vpn on Windows 10 2004 and pior.

out of curiosity i ve gone through my settings again in my vpn clients and everythings is ok.

So i ve checked qbittorent and i figured that the one that i framed in red in the screenshot is faulty : image

Changing to 'All addresses' fixed my problem for today !

TobiasS1402 commented 3 years ago

@yanisallouch yesterday i created an issue (https://github.com/qbittorrent/qBittorrent/issues/15253), to my surprise the exact opposite of what you wrote fixed the issue for me. So i set it from 'All addresses' to 'All IPV4 addresses' and now after a network change qbittorrent reconnects and the DHT nodes come back up. afbeelding

ghost commented 2 years ago

closing as duplicate as the other one has more details https://github.com/qbittorrent/qBittorrent/issues/12925