New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bound interface must exist at startup #8258

Closed
brainchild0 opened this Issue Jan 12, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@brainchild0

brainchild0 commented Jan 12, 2018

Versions and Environment

qBittorrent 4.0.3
Ubuntu Linux 17.10
Qt 4.8.7
libtorrent 1.1.6 (rasterbar 9)

Problem

If qBittorrent is configured, through the advanced preferences section, to operate only under a particular interface, then it will not operate for any part of the application session unless the interface exists when the application starts.

Expected behavior

If the interface does not exist when the application starts, but is added while the application is running, then the application should begin network operations once the interface is added. Such expected behavior aligns with a common use of this feature, to allow network operations when and only when VPN connectivity is available.

Steps to reproduce

Create a network interface (e.g. VPN tunnel). Start qBittorrent. Navigate to the "Advanced" pane of the "Preferences" window. Assign the new interface to the "Network Interface" option. Save preferences and restart application. Verify that network operations occur. Close the application. Remove the network interface. Start qBittorrent. Network operations should not occur because interface does not exist. Recreate the network interface, with the same name as the original. Network operations will not occur, even after extended wait.

Further information

May be related to #7540 (although I do not observe #7540 issues in my tests), and may be a special case of #6495 (i.e. above behavior would not appear if #6495 would be resolved).

@senposage

This comment has been minimized.

Show comment
Hide comment
@senposage

senposage Jan 19, 2018

#7235 (comment)
related ?
I think the expected is the way to go would solve a few issues with VPN's messing with the interface state pre-client startup

senposage commented Jan 19, 2018

#7235 (comment)
related ?
I think the expected is the way to go would solve a few issues with VPN's messing with the interface state pre-client startup

@senposage

This comment has been minimized.

Show comment
Hide comment
@senposage

senposage Jan 21, 2018

Video showing the issue:
https://youtu.be/TqVgI4q1FZU
same thing happens if i start the vpn and qbittorrent normally

senposage commented Jan 21, 2018

Video showing the issue:
https://youtu.be/TqVgI4q1FZU
same thing happens if i start the vpn and qbittorrent normally

@senposage

This comment has been minimized.

Show comment
Hide comment
@senposage

senposage commented Jan 24, 2018

@Chocobo1 anybody ?

@brainchild0

This comment has been minimized.

Show comment
Hide comment
@brainchild0

brainchild0 Mar 2, 2018

I am closing this issue, as I cannot reproduce in 4.0.4. When a desired interface becomes available, even if it did not exist at application startup, qBittorrent now appears to detect the change and to begin network operations within one minute. This behavior conforms to the expected behavior described in the issue specification.

brainchild0 commented Mar 2, 2018

I am closing this issue, as I cannot reproduce in 4.0.4. When a desired interface becomes available, even if it did not exist at application startup, qBittorrent now appears to detect the change and to begin network operations within one minute. This behavior conforms to the expected behavior described in the issue specification.

@brainchild0 brainchild0 closed this Mar 2, 2018

@senposage

This comment has been minimized.

Show comment
Hide comment
@senposage

senposage Mar 28, 2018

pension for reopen several people still reporting this is a issue
this pr would correct the problem I have tested it and it does indeed resolve it
#8159

senposage commented Mar 28, 2018

pension for reopen several people still reporting this is a issue
this pr would correct the problem I have tested it and it does indeed resolve it
#8159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment