mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Transfers stop when VPN disconnects and reconnects #17304
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#17304
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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/
@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.
@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.
@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
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