Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upnot able to download using S3 torrent #1474
Comments
This comment has been minimized.
This comment has been minimized.
|
Are you using http://docs.aws.amazon.com/AmazonS3/latest/dev/S3Torrent.html ? See #979 |
This comment has been minimized.
This comment has been minimized.
|
Yes, I am using the same approach. I went through the #979 but as mentioned in the amazon BitTorrent doc, we do not need to seed our public file. Amazon takes care of that , we just have to generate torrent and we can download it using any torrent client. I used peerflix to download the file, its working fine. I went through the webtorrent code, I figured out that it is able to identity the peers but not able to set up tcp connection. WebTorrent client is sending SYC to AWS but it is not receiving SYN-ACK from AWS. |
This comment has been minimized.
This comment has been minimized.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This comment has been minimized.
This comment has been minimized.
|
I have tried webtorrent-cli (1.12.3 (0.103.0)) and webtorrent-hybrid's CLI (1.12.3 (0.103.0)) and both were unable to download a file from S3. I'm not sure why #979 is locked and closed since the issue is not resolved. Deluge was able to download the file from S3 correctly. |
This comment has been minimized.
This comment has been minimized.
|
Can anyone post an S3 torrent link? The torrent metadata points to the S3 file as a webseed? |
This comment has been minimized.
This comment has been minimized.
|
Here is an example link: https://aft-vbi-pds.s3.amazonaws.com/LICENSE?torrent. This is a license in a public data set in S3 (https://registry.opendata.aws/amazon-bin-imagery/). You can see the non-torrent version here: https://aft-vbi-pds.s3.amazonaws.com/LICENSE. |
This comment has been minimized.
This comment has been minimized.
|
Torrent only has their tracker server announce and the file name. So the problem, as @srmitharwal said, it's connecting to the TCP peer they provide. If anyone would like to attempt to fix this, I'll review the PR. This is something that won't work on the browser. But it'd be interesting to check if the original file is CORS enabled and use the link as a webseed. |
What version of WebTorrent?
0.102.1
What operating system and Node.js version?
Ubuntu 17.04 Server, Nodejs 10.8.0
What did you expect to happen?
I want to download the file using s3 torrent .
What actually happened?
I am trying to download the files which are in Amazon S3 using web torrent client. I am able to successfully generate torrents for them but not able to download. File is getting download by using same S3 torrent if I use some other torrent client.