qb status is offline on startup with protonvpn #15535

Open
opened 2026-02-22 02:13:46 -05:00 by deekerman · 1 comment
Owner

Originally created by @arctic-carbide on GitHub (Mar 2, 2024).

qBittorrent & operating system versions

qBittorrent: 4.6.3 x64
Operating System: Windows 10 Education 22H2 x64 (10.0.19045)

Qt: 6.4.3
Libtorrent: 1.2.19.0
Boost: 1.83.0
OpenSSL: 1.1.1w
zlib: 1.3

What is the problem?

  • vpn and qb are configured to startup at login. During this time, vpn disables internet connection to establish secure tunnel to vpn servers.
  • qb reports there is an invalid interface type. (Could not find GUID of network interface/The configured network interface is invalid) qb tries to listen on the interface but appears to assume it doesn't work and displays offline status.

309496393-da0cda8f-f817-40a8-9565-b35b04145dd4

  • qb does not appear to recheck if connection is available later and remains offline indefinitely.
  • qb does not notify the user there is a problem and remains offline unnoticed.
  • Restarting qb or changing port number ends offline status. qb appears to find the ip interface by its GUID at this point and stays online

Expected behavior: qb status should be online on startup without user intervention
Actual behavior: qb seems offline due to an invalid interface that becomes valid later

Workaround: disable qb startup and create a scheduled login task to run qb after a minute or so has passed. This allows the vpn time to establish an internet connection. qb then sees the internet connection and functions normally.

Steps to reproduce

  1. Set ProtonVPN and qBittorrent as startup apps.
  2. Logout and login to pc's user account.
  3. Wait for apps to start (open qb if window isn't visible)
  4. Notice qb status is offline.

Additional context

there is a 2019 forum post where a user was having issue with Wireguard VPN but no responses. Same issue with the iftype. Could be outdated, but could be indicative of a problem with more vpns than proton's, since it appears to be related to the initial startup period

Log(s) & preferences file(s)

No response

Originally created by @arctic-carbide on GitHub (Mar 2, 2024). ### qBittorrent & operating system versions qBittorrent: 4.6.3 x64 Operating System: Windows 10 Education 22H2 x64 (10.0.19045) Qt: 6.4.3 Libtorrent: 1.2.19.0 Boost: 1.83.0 OpenSSL: 1.1.1w zlib: 1.3 ### What is the problem? - vpn and qb are configured to startup at login. During this time, vpn disables internet connection to establish secure tunnel to vpn servers. - qb reports there is an [invalid interface type](https://github.com/qbittorrent/qBittorrent/assets/8908585/da0cda8f-f817-40a8-9565-b35b04145dd4). **(Could not find GUID of network interface/The configured network interface is invalid)** qb tries to listen on the interface but appears to assume it doesn't work and displays offline status. ![309496393-da0cda8f-f817-40a8-9565-b35b04145dd4](https://github.com/qbittorrent/qBittorrent/assets/42386382/106a2f6b-bf5a-4afc-be2b-6c196aa65e58) - qb does not appear to recheck if connection is available later and remains offline indefinitely. - qb does not notify the user there is a problem and remains offline unnoticed. - Restarting qb or changing port number ends offline status. qb appears to find the ip interface by its GUID at this point and stays online Expected behavior: qb status should be online on startup without user intervention Actual behavior: qb seems offline due to an invalid interface that becomes valid later **Workaround**: disable qb startup and create a scheduled login task to run qb after a minute or so has passed. This allows the vpn time to establish an internet connection. qb then sees the internet connection and functions normally. ### Steps to reproduce 1. Set ProtonVPN and qBittorrent as startup apps. 2. Logout and login to pc's user account. 3. Wait for apps to start (open qb if window isn't visible) 4. Notice qb status is offline. ### Additional context there is a [2019 forum post](https://forum.qbittorrent.org/viewtopic.php?t=7408) where a user was having issue with Wireguard VPN but no responses. Same issue with the iftype. Could be outdated, but could be indicative of a problem with more vpns than proton's, since it appears to be related to the initial startup period ### Log(s) & preferences file(s) _No response_
Author
Owner
@xavier2k6 commented on GitHub (Mar 2, 2024): related/relevant: https://github.com/qbittorrent/qBittorrent/issues/13154#issuecomment-899066349 & #18930 https://doc.qt.io/qt-6.5/qnetworkinterface.html
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#15535
No description provided.