webtorrent / webtorrent-hybrid

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

Webtorrent-hybrid nevers ends file download #14

Closed brusacco closed 8 years ago

brusacco commented 9 years ago

Hello, I have webtorent-hybrid running on a torrent file, but it never ends downloading it. The file size is 851.33MB, every time the console size gets at 831.33, it goes back to 849MB ... any ideas about this? ... Also sometimes it just hangs, have to kill the console and open another one.

I'll give more details if needed. Using nvm.

Thanks.

DiegoRBaquero commented 9 years ago

What node & npm version are you using?

I can't even install the client because of wrtc installation fails.

brusacco commented 9 years ago

Hi, sorry for the delay. I'll check, but was a long fight to get it installed. Now it downloaded the hole file, after a restart. But it gets hang very often. Also when seeding a file, it gets hang.

brusacco commented 9 years ago

Node - v0.12.7 npm - 2.11.3

brusacco commented 9 years ago

You should install 1st. wrtc in node ... then go for webtorrent-hybrid, justo to separate the problems. :)

DiegoRBaquero commented 9 years ago

I got it all working. Thanks man. I downloaded a BT Torrent and it worked just fine. Is the torrent you are trying to download a TCP/UDP one or WebRTC one?

brusacco commented 8 years ago

A TCP/UDP one, and many web ones using it as it download the torrent file. Great you got it working ....!

On Sat, Oct 24, 2015 at 4:59 PM, Diego Rodríguez B. < notifications@github.com> wrote:

I got it all working. Thanks man. I downloaded a BT Torrent and it worked just fine. Is the torrent you are trying to download a TCP/UDP one or WebRTC one?

— Reply to this email directly or view it on GitHub https://github.com/feross/webtorrent-hybrid/issues/14#issuecomment-150846274 .

DiegoRBaquero commented 8 years ago

What about the ram usage? I had that issue when I tried in a 768MB VPS. When I moved to 2GB one it worked fined.

brusacco commented 8 years ago

I'm running it in a local Ubuntu box, 16GB ram. Chrome crashes too, many times when downloading the torrents. Big files 1GB+

On Mon, Oct 26, 2015 at 2:09 PM, Diego Rodríguez B. < notifications@github.com> wrote:

What about the ram usage? I had that issue when I tried in a 768MB VPS. When I moved to 2GB one it worked fined.

— Reply to this email directly or view it on GitHub https://github.com/feross/webtorrent-hybrid/issues/14#issuecomment-151212041 .

feross commented 8 years ago

@brusacco Can you try downloading the same torrent file in webtorrent and see if it works? This will help isolate if the issue is caused by webtorrent-hybrid or something else.

npm install webtorrent -g
webtorrent download "magnet_uri"
brusacco commented 8 years ago

Webtorrent have no problems, but I have to test again webtorrent-hybrid, long time not using it! :)

On Sun, Jan 10, 2016 at 8:48 PM, Feross Aboukhadijeh < notifications@github.com> wrote:

@brusacco https://github.com/brusacco Can you try downloading the same torrent file in webtorrent and see if it works? This will help isolate if the issue is caused by webtorrent-hybrid or something else.

npm install webtorrent -g webtorrent download "magnet_uri"

— Reply to this email directly or view it on GitHub https://github.com/feross/webtorrent-hybrid/issues/14#issuecomment-170406858 .

feross commented 8 years ago

webtorrent-hybrid will probably still have problems until it's rewritten to use electron-spawn #5

Stiveknx commented 8 years ago

@feross Is there any plans to do that soon? My knowledge in Node.js is to small to do that change, I would help if I could ...