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.

ClientEngine.DownloadMetadataAsync Never completes

See original GitHub issue

Hey. Im trying to download the Metadata of Torrents using ClientEngine.DownloadMetadataAsync. However, even with 10, 20 or 100 Trackers, nothing ever happens. When trying the same in QBittorrent everything is fine and works almost instantly. My EngineSettings are as follows:

EngineSettingsBuilder Builder = new() {
  DhtEndPoint = new IPEndPoint(IPAddress.Parse("<public ip>"), 44444),
  ListenEndPoint = new IPEndPoint(IPAddress.Parse("<public ip>"), 44444),
  MaximumConnections = 5000,
  MaximumHalfOpenConnections = 5000
};

Sometimes nothing happens for 10+ hours (ive let this run on my VPS to check) and sometimes it takes only 7 seconds to get the metadata for the same InfoHash with the same Trackers, whats the problem? The port is open both in TCP and UDP.

I’m on .NET 6 - MonoTorrent 3.0.0-beta.rev0034

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Aaron2550commented, Nov 4, 2022

I saw your first response in my mail inbox but then totally forgot about this… Its now 1:47 in the morning for me so i cant test it right now ^^ I can try in about 9 hours tho!

0reactions
alanmcgoverncommented, Dec 6, 2022

This has just been released to nuget! Let me know if you continue having issues!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can not download files from the Magnet Link.How?EX? #48
I download files from a Magnet Link, start without downloading occurs, there is no error, the program did not crash.
Read more >
Generate .torrent and start seeding immediately · Issue #272
I want to transfer file with magnetLink in c#. Through googling found monotorrent is best. I made a public bittorrent tracker server with ......
Read more >
MonoTorrent C# Downloading torrent - bittorrent
I'm creating a torrent application.I found a library called "MonoTorrent" which i decided to use.There is some problems this code below doesnt ...
Read more >
ClientEngine.cs
This method will; /// only complete if the metadata successfully downloads, ... public async Task<byte[]> DownloadMetadataAsync (MagnetLink magnetLink, ...
Read more >
ClientEngine.ChangeListenEndpoint, MonoTorrent.Client ...
Message); continue; } // When any preprocessing has been completed, ... never really need to be changed // Unlimited download speed - valid...
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