Transfers stop when VPN disconnects and reconnects #17304

Open
opened 2026-02-22 03:46:54 -05:00 by deekerman · 4 comments
Owner

Originally created by @freonpsandoz on GitHub (Nov 16, 2025).

qBittorrent & operating system versions

qBittorrent: v5.1.0 x64
Operating system: Windows 11 Pro x64 (23H2) OS build 22631.6199
Qt: 6.9.0
libtorrent: 1.2.20.0

What is the problem?

If qBittorrent is set to use the VPN interface , it stops transferring files if the VPN disconnects and reconnects for any reason. No message appears in the execution log, and no notification is sent to warn the user that qBittorrent is no longer connected through the VPN. The user must continuously monitor qBittorrent to see if it has stopped transfers and either restart qBittorrent or switch the network interface to "Any interface" and then back to the VPN interface. I'm using PIA with the qBittorrent network interface set to wgpia0. I have verified that the forwarded port hasn't changed when the VPN reconnected.

Steps to reproduce

Steps using PIA:
Set the qBitorrent network interface to wgpia0.
When files are transferring, use the VPN UI to disconnect the VPN from the server, then reconnect to the server.
Observe that qBittorrent is no longer connected and that files are not transferring.
Observe that qBittorrent issues no notification and logs no messages.
Set the qBitorrent network interface to "Any interface" and then back to wgpia0.
Observe that qBittorrent is now connected and that files are now transferring again.

Additional context

I have the "advanced kill switch" option turned on in PIA. I don't know whether that matters.
This problem usually happens when the VPN disconnects and reconnects by itself for unknown reasons, but it can be reproduced by disconnecting it and reconnecting it manually.

Log(s) & preferences file(s)

Isn't qBittorrent.ini the "qBittorrent preferences file?" It appears that uploading .ini and .log.bak files isn't permitted, so I renamed them. (What's the point of prohibiting uploading file types when files can be renamed???)

qbittorrent-redacted.log

qbittorrent-redacted.log.bak.txt

qBittorrent-redacted.ini.txt

Originally created by @freonpsandoz on GitHub (Nov 16, 2025). ### qBittorrent & operating system versions qBittorrent: v5.1.0 x64 Operating system: Windows 11 Pro x64 (23H2) OS build 22631.6199 Qt: 6.9.0 libtorrent: 1.2.20.0 ### What is the problem? If qBittorrent is set to use the VPN interface , it stops transferring files if the VPN disconnects and reconnects for any reason. No message appears in the execution log, and no notification is sent to warn the user that qBittorrent is no longer connected through the VPN. The user must continuously monitor qBittorrent to see if it has stopped transfers and either restart qBittorrent or switch the network interface to "Any interface" and then back to the VPN interface. I'm using PIA with the qBittorrent network interface set to wgpia0. I have verified that the forwarded port hasn't changed when the VPN reconnected. ### Steps to reproduce Steps using PIA: Set the qBitorrent network interface to wgpia0. When files are transferring, use the VPN UI to disconnect the VPN from the server, then reconnect to the server. Observe that qBittorrent is no longer connected and that files are not transferring. Observe that qBittorrent issues no notification and logs no messages. Set the qBitorrent network interface to "Any interface" and then back to wgpia0. Observe that qBittorrent is now connected and that files are now transferring again. ### Additional context I have the "advanced kill switch" option turned on in PIA. I don't know whether that matters. This problem usually happens when the VPN disconnects and reconnects by itself for unknown reasons, but it can be reproduced by disconnecting it and reconnecting it manually. ### Log(s) & preferences file(s) Isn't qBittorrent.ini the "qBittorrent preferences file?" It appears that uploading .ini and .log.bak files isn't permitted, so I renamed them. (What's the point of prohibiting uploading file types when files can be renamed???) [qbittorrent-redacted.log](https://github.com/user-attachments/files/23567605/qbittorrent-redacted.log) [qbittorrent-redacted.log.bak.txt](https://github.com/user-attachments/files/23567610/qbittorrent-redacted.log.bak.txt) [qBittorrent-redacted.ini.txt](https://github.com/user-attachments/files/23567624/qBittorrent-redacted.ini.txt)
Author
Owner

@xavier2k6 commented on GitHub (Nov 16, 2025):

qBittorrent 5.1.3 is currently the latest:

https://sourceforge.net/projects/qbittorrent/files/qbittorrent-win32/qbittorrent-5.1.3/

@xavier2k6 commented on GitHub (Nov 16, 2025): qBittorrent 5.1.3 is currently the latest: https://sourceforge.net/projects/qbittorrent/files/qbittorrent-win32/qbittorrent-5.1.3/
Author
Owner

@freonpsandoz commented on GitHub (Nov 17, 2025):

qBittorrent check for updates says "No updates available. You are already using the latest version." Why is that?

I have now verified that this problem exists in v5.1.3 as well.

@freonpsandoz commented on GitHub (Nov 17, 2025): qBittorrent check for updates says "No updates available. You are already using the latest version." Why is that? I have now verified that this problem exists in v5.1.3 as well.
Author
Owner

@Lou2k7839 commented on GitHub (Nov 17, 2025):

Hello.

I think I am seeing the same issue. I'm using 5.1.3.
Not sure if this helps.

When using PIA for my VPN, and the IP changes or I disconnect and reconnect with a new IP, I never see any updates in the Execution Log showing the change for the External IP.

If I use Surfshark. Change my location\IP. I see an update in the Execution log within 5 secs of my VPN IP changed, and the execution log shows the new External IP address.

I did update\change my network interface base on which VPN I was testing.

@Lou2k7839 commented on GitHub (Nov 17, 2025): Hello. I think I am seeing the same issue. I'm using 5.1.3. Not sure if this helps. When using PIA for my VPN, and the IP changes or I disconnect and reconnect with a new IP, I never see any updates in the Execution Log showing the change for the External IP. If I use Surfshark. Change my location\IP. I see an update in the Execution log within 5 secs of my VPN IP changed, and the execution log shows the new External IP address. I did update\change my network interface base on which VPN I was testing.
Author
Owner

@ujl123 commented on GitHub (Dec 12, 2025):

Adding onto this with more information and having the same issue regarding vpn disconnecting and reconnecting
5.1.3, Proton VPN

VPN working, qbittorent loaded after VPN: Green globe

After clicking disable on VPN: Red globe

**After clicking reconnect on VPN: Red Flame**

After quitting qBittorent and reloading it : Green Globe

It looks like if the VPN disconnects and reconnects , it will have firewall issues that never goes away until you restart qbittorrent. Even after updating the port, it will still have that red flame icon

@ujl123 commented on GitHub (Dec 12, 2025): Adding onto this with more information and having the same issue regarding vpn disconnecting and reconnecting 5.1.3, Proton VPN VPN working, qbittorent loaded after VPN: Green globe After clicking disable on VPN: Red globe **After clicking reconnect on VPN: Red Flame** After quitting qBittorent and reloading it : Green Globe It looks like if the VPN disconnects and reconnects , it will have firewall issues that never goes away until you restart qbittorrent. Even after updating the port, it will still have that red flame icon
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#17304
No description provided.