Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
qBittorrent is connecting to itself, and own IP appears in peer list #10791
qBittorrent version and Operating System
If on linux, libtorrent and Qt version
Not displayed in Web UI.
What is the problem
Peer list contains two copies of the client (self peer), own peer id not filtered out.
What is the expected behavior
Not listing itself in the peer list,
Steps to reproduce
It is showing up on every torrent in my qBittorrent.
Extra info(if any)
I'm guessing this may related to
See also #5663.
Are you guys on VPN?
Considering this, it might not be an issue of qbt.
Each peer (client) has a (randomly generated) peer ID. qBittorrent should never attempt to connect when the peer ID matches it's own.
This may very well be a libtorrent issue, but I don't know the codebases enough to know if qBittorrent or libtorrent is the cause of the issue.
And if it is a libtorrent issue, qBittorrent should be able to work around it by filtering away it's own peer ID before presenting the count/peer list to the API. Never mind if it connects to itself in the background or not, but for scripting purposes, having the peer count showing one or more peers when it is just connecting to itself means it's way harder to detect truly dead torrents.
Happens to me as well, with no special settings or environment like a using VPN.
My config for reference: