Skip to content
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

Qbittorrent 4.2.2+ (git builds) DHT sometimes does not recover after connection loss #12371

Closed
swejuggalo opened this issue Apr 2, 2020 · 4 comments
Labels
Network Issues related to network connectivity

Comments

@swejuggalo
Copy link

swejuggalo commented Apr 2, 2020

I rebuild libtorrent-rasterbar git and Qbittorrent regularly on my main computer. There is one issue I keep on being able to replicate over and over again.

The packages are built in Manjaro AUR. I enabled all tests during build of libtorrent-rasterbar, from what I see all examples are built too.
Qbittorrent are built with the standard AUR build options.

I can reboot my router and losing my connection due to the reboot. On Manjaro DHT goes to 0 and never recovers. And I only see some very minor traffic before it dies completely. When this happens remotely accessing client via the web server fails too.
On Windows 10 with 4.2.2 official build that problem does not exists. DHT does not drop. And traffic does not see to stop. No web server enabled here.

I've been trying to verifiy if the problem lies within qbittorrent or libtorrent-rasterbar. An easy test would be to try the client_test from libtorrent-rasterbar but I've failed in finding out how to run it.

I'll add more info if possible.

@ghost
Copy link

ghost commented Apr 2, 2020

There’s a ticket open regarding this in libtorrent. Apparently it’s a bug with qbittorrent-nox.

@swejuggalo
Copy link
Author

There’s a ticket open regarding this in libtorrent. Apparently it’s a bug with qbittorrent-nox.

Ah, I see. Saw something about that one day but didn't see it as verified, more like a hunch of sorts.
Still would be nice to test the basic client_test to verify differences with Qbittorrent in different scenarios. Don't know why I have problem finding info about that. Guess I need a good file searcher or learn command line file searching.

@FranciscoPombal FranciscoPombal added the Network Issues related to network connectivity label Apr 4, 2020
@FranciscoPombal FranciscoPombal changed the title Qbittorrent 4.2.2+ (git builds) Qbittorrent 4.2.2+ (git builds) DHT sometimes does not recover after connection loss Apr 4, 2020
@swejuggalo
Copy link
Author

I rebuilt libtorrent-rasterbar and Qbitttorrent git-versions yesterday. I rebooted my router due to firmware upgrade... Looked into qbittorrent and found the DHT had climbed up to 217 despite loosing internet connection :) Nothing was uploading at the time but something has changed (if due to error or no real upload existed remains to be seen). I'll return with more testing.
How long to expect Qbittorrent process to be open after manually having shut it down? Seems to be in that situation now... If it takes too long time I force quit it and open it again

@ghost
Copy link

ghost commented Aug 2, 2022

issue is tracked upstream as this is an upstream issue arvidn/libtorrent#4412

@ghost ghost closed this as not planned Won't fix, can't repro, duplicate, stale Aug 2, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Network Issues related to network connectivity
Projects
None yet
Development

No branches or pull requests

2 participants