mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Connection fails after enabling vpn #17266
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#17266
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 @AustinPoulson on GitHub (Nov 1, 2025).
qBittorrent & operating system versions
v5.1.2
Windows 11
ProtonVPN
Tunnel set to ProtonVPN
(problem impacts a wider range of configurations)
What is the problem?
When connecting the computer to a vpn, with qBittorrent already open, the torrent applications connection fails. Restarting qBittorrent refreshes and fixes the connection.
This issue affects startup. If the vpn app opens after the torrent app, the connection will fail.
This behavior may be limited to when the Network Interface setting is set.
Steps to reproduce
Additional context
Potential fix:
Log(s) & preferences file(s)
Privacy, sorry.
@LazyPajen commented on GitHub (Nov 1, 2025):
I am using https://github.com/UHAXM1/Quantum to fix this
@AustinPoulson commented on GitHub (Nov 2, 2025):
@LazyPajen That worked! Thank you!
Still would be cool if this was fixed without the extra utility though.
@lucassantillifuck2fa commented on GitHub (Nov 16, 2025):
qbittorrent already retries in real time, whenever i disconnect and reconnect ProtonVPN the connection icon changes immediately.
But since Proton uses dynamic port, the only solution is to use a third party solution to sync the VPN and the client.
I have created my own tool, it runs in the background waiting for Proton to connect, once it's running, qbittorrent's port is modified and the client starts, and then the tool exits. I like it better than Quantum because it's fully automatic and auto closes when it's done the job.