webtorrent / webtorrent-hybrid

WebTorrent (with WebRTC support in Node.js)
https://webtorrent.io
MIT License
519 stars 98 forks source link

No peers #109

Closed alexeyvolkoff closed 4 years ago

alexeyvolkoff commented 4 years ago

Hi guys, I'm having troubles with running my webtorrent app on Olinuxino MICRO board with Armbian Bionic. The same app works on desktop pretty well.

What version of this package are you using? My dependencies:

 "dependencies": {
    "websocket": "^1.0.30",
    "webtorrent-hybrid": "^4.0.1",
    "wrtc":"^0.4.3"
  }

All dependencies have been installed with npm without any issue, wrtc is declared to work on Arm7/Node8

What operating system, Node.js, and npm version?

Node.js: v8.10.0
npm: 3.5.2 

What happened? Nothing is seeding nor downloading. No errors reported, --verbouse doesn't help much. Seeding starts, but peers just do not get discovered on instant.io and backwards, when I seed from instant, I get this:

webtorrent --verbouse download 72b42f4a502c888d8957f064d47dbdf6b736c7f0
fetching torrent metadata from 0 peers 

Please give me an idea how to debug / pinpoint the issue.

alexeyvolkoff commented 4 years ago

Problem is caused by outdated Node on Armbian Bionic. Solution: upgrade to Node 10 https://joshtronic.com/2018/05/08/how-to-install-nodejs-10-on-ubuntu-1804-lts/