3

I'm trying to seed an html file using WebTorrent in Nodejs. I get callback from WebTorrent which indicates that the client is started seeding but when I copy-paste the hash on the client-side to download the file, nothings happened.

Here is my code on the server-side:

  client.seed(file, function (torrent) {
    debug('started seeding %s - %s', torrent.infoHash, torrent.files[0].name);
  });

What is the problem and how can I debug to see what is going on?

Afshin Mehrabani
  • 33,262
  • 29
  • 136
  • 201

1 Answers1

5

I found the answer. It's as simple as replacing the webtorrent with webtorrent-hybrid and it works perfectly.

Afshin Mehrabani
  • 33,262
  • 29
  • 136
  • 201