-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Can only connect to trackers and detect external IPv4 address when I2P "mixed mode" is enabled #20032
Comments
Problem persists in 4.6.2. What's more is that I've noticed that qbittorrent uses 4 times the CPU power (from roughly 2.5% to ~10%) when I2P and mixed mode is disabled and I sometimes get the "28/11/2023 11.29 - x.x.x.x was blocked. Reason: I2P mixed mode restrictions." msg's. I guess it's trying really hard to not let anyone connect. EDIT: Downgrading to v4.6.2 libtorrent v1.2.19.0 "obviously" fixed this as it doesn't have I2P support at all. |
The CPU issue might be related to arvidn/libtorrent#7535 |
Ahh, yeah, that's probably related then. I didn't show it in the clip, but I did have i2p addresses in the tracker list. |
Just did some additional tests by adding http://tracker2.postman.i2p/announce as a tracker for all my torrents, and nothing happens in v4.6.2 libtorrent v1.2.19.0 ('cause i2p isn't supported). Here's where it gets weird: Removing http://tracker2.postman.i2p/announce from the trackerlist of all my torrents doesn't fix the problem, still unable to connect. Even after restarting it persists. Which is making me think there's a setting somewhere that gets flipped because there shouldn't be anything persisting upon restarting otherwise, right? When I then "sidegrade" back to v4.6.2 libtorrent v1.2.19.0 version and back to v4.6.2 libtorrent v2.0.9.0 without doing anything the problem is "fixed". Is something added and removed in the database or config between the versions? Because adding I2P trackers in this version somehow bricks something when I2P isn't enabled in the settings. |
there is a problem with any tracker URL ending with .php: #19794 (comment)
Do you mean you are able to connect to peers from postman's tracker now? |
No. Removing the I2P trackers like postman's, then switching back and forth between the versions fixes the problem of not being able to start uploading and downloading again as was my original problem and reason to create this thread/report. Maybe I2P addresses take priority in the code, and them being unreachable due to how it's disabled in the settings means libtorrent or qbittorrent is stuck in a loop unable to move on and parse other addresses? |
@arvidn has done a recent PR about I2P: |
qBittorrent & operating system versions
qBittorent: v4.6.1 x64
Qt: 6.4.3
OS: Windows 10 22H2 (10.0.19045) build 19045.3693
Libtorrent: 2.0.9.0
Boost: 1.83.0
OpenSSL: 1.1.1w
zlib: 1.3
What is the problem?
I played around with I2P and Proxy settings this weekend, and actually got I2P in mixed mode and SOCKS5 working together.
But then I decided I'd rather connect directly, but now I've found out that trackers are indefinitely stuck in "Not Contacted Yet". And since external IP is detected through contacting trackers, I'm stuck with no connections at all despite DHT working fine.
qBittorrent do detect my IPv6 address, just not my IPv4 address.
Steps to reproduce
I did a lot of changing settings around, so might be more required than this.
Additional context
vivaldi_6a5mCJHISz.mp4
Log(s) & preferences file(s)
qbittorrent.log
qBittorrent_ini.zip
The text was updated successfully, but these errors were encountered: