question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't add torrent - Tracker message violates expected protocol

See original GitHub issue

I can’t add torrent from french semi-private tracker YGGtorrents. It is directly moved to archived folder. From logs, I see an error “Tracker message violates expected protocol” (see full log below). Is this a protection that the tracker have found?

This setup has worked with the same tracker a few month before.

[WARN ] 2022-10-23 17:21:17.511 [ annnouncer-1] o.a.j.c.t.c.a.t.TrackerResponseHandler: Tracker response is an error.

[WARN ] 2022-10-23 17:21:17.513 [ annnouncer-1] o.a.j.c.t.c.a.Announcer: `NZîæ00K&:UáTȹÐG¹ has failed to announce

com.turn.ttorrent.client.announce.AnnounceException:Failed to handle tracker response: Tracker message violates expected protocol (Could not decode tracker message (not B-encoded?)!) at org.araymond.joal.core.ttorrent.client.announcer.tracker.TrackerClient.announce(TrackerClient.java:66) at org.araymond.joal.core.ttorrent.client.announcer.Announcer.announce(Announcer.java:64) at org.araymond.joal.core.ttorrent.client.announcer.request.AnnouncerExecutor.lambda$execute$0(AnnouncerExecutor.java:40) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: com.turn.ttorrent.client.announce.AnnounceException: Failed to handle tracker response: Tracker message violates expected protocol (Could not decode tracker message (not B-encoded?)!) at org.araymond.joal.core.ttorrent.client.announcer.tracker.TrackerClient.makeCallAndGetResponseAsByteBuffer(TrackerClient.java:108) at org.araymond.joal.core.ttorrent.client.announcer.tracker.TrackerClient.announce(TrackerClient.java:53) ... 6 more Caused by: java.io.IOException: Tracker message violates expected protocol (Could not decode tracker message (not B-encoded?)!) at org.araymond.joal.core.ttorrent.client.announcer.tracker.TrackerResponseHandler.handleResponse(TrackerResponseHandler.java:49) at org.araymond.joal.core.ttorrent.client.announcer.tracker.TrackerResponseHandler.handleResponse(TrackerResponseHandler.java:17) at org.araymond.joal.core.ttorrent.client.announcer.tracker.TrackerClient.handleResponse(TrackerClient.java:114) at org.araymond.joal.core.ttorrent.client.announcer.tracker.TrackerClient.makeCallAndGetResponseAsByteBuffer(TrackerClient.java:106) ... 7 more Caused by: com.turn.ttorrent.client.announce.AnnounceException: Tracker message violates expected protocol (Could not decode tracker message (not B-encoded?)!) ... 11 more Caused by: com.turn.ttorrent.common.protocol.TrackerMessage$MessageValidationException: Could not decode tracker message (not B-encoded?)! at com.turn.ttorrent.common.protocol.http.HTTPTrackerMessage.parse(HTTPTrackerMessage.java:42) at org.araymond.joal.core.ttorrent.client.announcer.tracker.TrackerResponseHandler.handleResponse(TrackerResponseHandler.java:43) ... 10 more [INFO ] 2022-10-23 17:21:17.517 [ annnouncer-1] o.a.j.c.t.c.a.Announcer:NZîæ00K&:UáTȹÐG¹ has failed to announce 5 times in a raw [INFO ] 2022-10-23 17:21:17.546 [ annnouncer-1] o.a.j.c.t.w.TorrentFileProvider: Torrent file deleting detected, hot deleted file: /data/torrents/Microsoft Office 2019 Professional Plus 2003 Build 12624.20520.torrent [INFO ] 2022-10-23 17:21:17.568 [ annnouncer-1] o.a.j.c.t.w.TorrentFileProvider: Successfully moved file: /data/torrents/Microsoft Office 2019 Professional Plus 2003 Build 12624.20520.torrent to archive folder `

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
mohitjoshi155commented, Oct 26, 2022

ya i have heard ygg detects ratio master

2reactions
anthonyraymondcommented, Nov 2, 2022

Maybe the torrent file points toward the old tracker address. Or maybe access to YGG is blocked by your ISP? Or maybe you set an unrealistic speed in configuration and you’ve been banned?

Does it work with other torrents from the same tracker ? Try to download a fresh torrent from your tracker instead of using .torrent file you already have in your downloads. From time to time this particular tracker seems to change their domain in the .torrent files.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IDS/IPS Alerts: What are they, what action is needed
I have IPS enabled at both sites. Occasionally, I get an email like: Message: IPS Alert 1: Potential Corporate Privacy Violation. Signature ET...
Read more >
com.turn.ttorrent.client.announce java code examples | Tabnine
Exception thrown when an announce request failed. Announce. BitTorrent announce sub-system. A BitTorrent client must check-in to the torrent's tracker(s) to g.
Read more >
Are the IP tracker warnings on torrent sites that ... - Quora
First you have the trackers. When you add a torrent, your torrent client checks through the list of trackers it has, and contacts...
Read more >
BitTorrent - Wikipedia
BitTorrent trackers provide a list of files available for transfer and allow the client to find peer users, known as "seeds", who may...
Read more >
DDoS Vulnerability Analysis of BitTorrent Protocol
.torrent. I have the file! Who has the file? Discussion forum. Who has the file? Message exchange. HTTP/UDP tracker. Get peer + announce...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found