Comments (3)
This error happens when you restart the tracker server. Restarting the tracker will discard all the peers it's tracking. Then, clients that are already running will continue to send update
events, but the tracker throws them away because it was expected to get a start
event first.
This should only be a warning, and not a fatal error. I just made the following changes:
- unexpected
started
event (for peer already in swarm) is treated as anupdate
- unexpected
stopped
event is discarded - unexpected
completed
event is treated as astart
- unexpected
update
event (from peer not in swarm) is treated asstart
Please update to 2.8.0 and let me know if this fixes your issue.
from bittorrent-tracker.
If failse at if (left === 0) peer.complete = true . If i comment this part it started working and some of my old torrents got downloaded with this tracker. However, for newly create torrents it is still not syncing.
It is telling my invalid peer_id for some of them . Do i need to again apply patch for peer_id issue which was having with utorrent and some of the client.
Also, it would be great if you can inform me from where i can retrieve infoHash required for code //server.torrents[infoHash].complete
// get the number of leechers for a particular torrent
//server.torrents[infoHash].incomplete
// get the peers who are in a particular torrent swarm
//server.torrents[infoHash].peers
Thanks
from bittorrent-tracker.
The issue you mentioned should be fixed now if you update to 2.8.2. Feel free to open a new issue if you encounter any new issues.
Not sure why you're seeing invalid peer_id. What bittorrent client are you using to connect to this tracker?
infoHash
is just the torrent info hash that identifies the torrent whose info you want to look up. You can get a full list by just doing: server.torrents
and that will let you inspect everything.
from bittorrent-tracker.
Related Issues (20)
- /stats additionals HOT 3
- 请问支持win10吗? HOT 2
- Typescript Support HOT 1
- HTTP tracker server still runs when the option of Server constructor "http" is set to be false HOT 1
- ERR_PACKAGE_PATH_NOT_EXPORTED on require HOT 2
- EPERM Issue on install
- `peer_id` from announce query string interpreted as latin1 then converted to UTF-8 before being returned as a transformed and wrong value in the peer list. HOT 5
- BEP for WebTorrent HOT 3
- Can you guys provide a binary excuteable by using javascript pkg framework to the release page? HOT 4
- d14:failure reason17:invalid info_hashe HOT 1
- Bittorrent v2 support HOT 13
- npm versions > 10.0.8 will not run due to bug in simple-peer lite HOT 1
- Upload / download count for each peerID HOT 1
- socksProxy Socks.Agent is not a constructor HOT 1
- SSRF Error and UDP not HOT 1
- ipv6 udp tracker outgoing error peers HOT 4
- When the port number is lower than -1 or exceeds 65536, it will cause the program to crash HOT 5
- An error appears on startup: No "exports" main defined HOT 1
- Tracker does not launch HOT 1
- cpu usage too high
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 bittorrent-tracker.