mafintosh / peerflix

Streaming torrent client for node.js
MIT License
6.19k stars 672 forks source link

peerflix not respond exept use vpn #259

Open timxd opened 8 years ago

timxd commented 8 years ago

No response or no download/upload

But it work after use vpn

Is it a network issue?

Thanks!

hyperlogin commented 8 years ago

Bump

KeizerDev commented 8 years ago

It is a network issue. Can you first check if downloading a torrent the regular way (Transmission, uTorrent, etc) is working?

niemal commented 8 years ago

I can confirm this issue.

Some torrents get downloaded, some can't start the download. It appears this is a tracker related issue or something, really really weird because Transmission works flawlessly.

Can anyone debug this? PS. It happens with you-know-what type of torrents.

jaruba commented 8 years ago

PS. It happens with you-know-what type of torrents.

yagpxpd-2

niemal commented 8 years ago

Turns out this may be a OS specific issue because under the same network a Linux is able to pull it out while a Windows 10 just hangs. I am just going to blame Windows for now.

jaruba commented 8 years ago

I am just going to blame Windows for now.

Don't.. I think it's possible that I know what this is about.

I had a similar issue in Powder a while back, users reported that some torrents stopped working but wore working fine in previous versions.

At first it looked like it was tracker related, as it seemed to happen only with some specific trackers (mostly private trackers). I can't be sure if it would of worked with a VPN or if it was OS specific though.

I checked all the dependencies of torrent-stream one by one to try to understand what could of changed. I think the problem was with the simple-get module (i can't be sure if it was this module or not though).

Could you check peerflix/node_modules/torrent-stream/node_modules/parse-torrent/node_modules/simple-get/package.json and see what version you have, if it's higher then 1.4.3, could you try removing the module and installing 1.4.3 instead?

niemal commented 8 years ago

Alright, so, here's what's on the Linux box:

niemal@tromos:~$ peerflix --version
0.30.1
niemal@tromos:/usr/lib/node_modules/peerflix/node_modules/torrent-stream/node_modules/parse-torrent/node_modules$ ls
magnet-uri  parse-torrent-file
niemal@tromos:/usr/lib/node_modules/peerflix/node_modules/torrent-stream/node_modules/parse-torrent/node_modules$ grep simple */package.json
parse-torrent-file/package.json:    "simple-sha1": "^2.0.0"

And here's the Windows' version before upgrading it (sorry, was in a rush and upgraded before reading your comment): 0.32.2 I upgraded to 0.32.4 and everything works as it should. But, when I had a fresh install of the past version, everything was working as it should as well -- it just broke over time for some reason.

The simple-get version is this:

D:\Users\grey\AppData\Roaming\npm\node_modules\peerflix\node_modules\simple-get>grep version package.json
  "version": "2.0.0"

You are right, I shouldn't blame Windows.

If the same problem comes up I will let you know. Much thanks for the help and response mate.