Comments (7)
Are you sure you are describing the issue correctly? One and the same torrent cannot be private and public, only if it is two different torrents (with different hash).
from qbittorrent.
The workaround I used was to download the torrent file again and add it to qBittorent.
Despite getting an error in the log:
Detected an attempt to add a duplicate torrent. Merging of trackers is disabled. Torrent: xxx
The torrent magically becomes private torrent again (DHT/PeX/LSD disabled with a "this torrent is private" message).
from qbittorrent.
Are you sure you are describing the issue correctly? One and the same torrent cannot be private and public, only if it is two different torrents (with different hash).
It suddenly became public from what I can tell (using the DHT/PeX/LSD message). Unfortunately due to #14771 I can't be 100% sure.
And the libtorrent code doesn't lie, it indeed uses the special curl/7.81.0
user agent when anonymous mode is enabled and the torrent is considered "public".
from qbittorrent.
And given the workaround I tried (used the workaround twice and fairly certain it does work), the "public" torrent in the queue and the private torrent file I downloaded again should have the same hash (or I won't see the log line).
from qbittorrent.
Perhaps the torrent is hybrid and that plays a role too.
from qbittorrent.
Oh there's another symptom that I suspect is relevant.
When this happened to one of my torrents today, I was trying to confirm if the torrent file contains the "private" bit. But looking at the BT_backup
folder, I can only find $HASH.fastresume
file (the bencode decoded content is in the first comment) and there was no $HASH.torrent
file.
After I tried the workaround of downloading and importing the torrent file, I now can find the $HASH.torrent
file in BT_backup
folder.
This is potentially relevant because tracker_req().private_torrent
is set to false around https://github.com/arvidn/libtorrent/blob/8a7aa8311387b8d530a2ec2a3eb5974fec5edb64/src/http_tracker_connection.cpp#L247-L249, and the .private_torrent
field seem to be set from m_torrent_file.priv()
(e.g. https://github.com/arvidn/libtorrent/blob/8a7aa8311387b8d530a2ec2a3eb5974fec5edb64/src/torrent.cpp#L3011).
from qbittorrent.
A .torrent file cannot disappear by itself. In any case, need steps to reproduce the issue.
from qbittorrent.
Related Issues (20)
- qBittorrent crashes after trying to open a torrent file or magnet link HOT 1
- Error: ‘partfile_write Access Denied’ when selecting partial content within a Torrent (v4.6.4) HOT 4
- Filter rss feed in side the app HOT 1
- The Completed torrents pane includes torrents that are seeding? HOT 8
- Crash after successful download by magnet link
- Specify network adapters for IPV4 and IPV6 separately
- Add torrent dialog opens but application simultaneously starts the torrent at the default location HOT 2
- crash
- Auto-rename files
- Join/group search results with the same torrent hash HOT 1
- Adding tracker data from all search results with the same hash
- Imported data from Windows to Linux, but cannot change torrent locations HOT 4
- REMEMBER COLUMN WIDTHS HOT 2
- Frequent crashing after opening qbittorent after a night of seeding HOT 12
- Crash
- Memory Leak - Multiple WebUIs open simultaneously HOT 3
- Improve auto exit after download/seed finish. HOT 1
- Improved IP filtering option
- Is there such a possibility? control qbitorrent web client by qbitorrent qt client HOT 1
- Native DARK MODE Support for Window OS just like macOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qbittorrent.