Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download does not start when using a webseed torrent. #1218

Closed
marcelodelta opened this issue Oct 30, 2017 · 11 comments
Closed

Download does not start when using a webseed torrent. #1218

marcelodelta opened this issue Oct 30, 2017 · 11 comments

Comments

@marcelodelta
Copy link

@marcelodelta marcelodelta commented Oct 30, 2017

I created a torrent with the create-torrent module.
I am using a webseed in these torrent.

What version of WebTorrent?
webtorrent web
v0.98.18

create-webtorrent
v3.29.2

What operating system and Node.js version?
v6.11.1

What browser and version? (if using WebTorrent in the browser)
Google Chrome

What did you expect to happen?
The download starts

What actually happened?
The webtorrent web and desktop does not load too.
No error is shown, just nothing happens.
The download does not start.

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Oct 30, 2017

Can you please provide the torrent file, the webseed url and the full debug logs?

@marcelodelta

This comment has been minimized.

Copy link
Author

@marcelodelta marcelodelta commented Oct 30, 2017

Hi Diego,

Torrent: www.mwti.com.br/video.torrent
Video: www.mwti.com.br/video.mp4

Where is the full log?

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Oct 31, 2017

For debug logs: https://github.com/webtorrent/webtorrent#enable-debug-logs

Can you enable CORS in your server too?

@marcelodelta

This comment has been minimized.

Copy link
Author

@marcelodelta marcelodelta commented Oct 31, 2017

CORS is enable
Log in attachament

localhost-1509423587965.log

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Oct 31, 2017

It does try to start for me, but, as I'm trying from btorrent.xyz, the non-https requests to your webseed are blocked. You should set your webseed to use https.

I don't see any webseed/webconn in your log, are you sure you are using the same torrent file?

@marcelodelta

This comment has been minimized.

Copy link
Author

@marcelodelta marcelodelta commented Oct 31, 2017

Yes it's the same file.
No peers are found.

The CORS configuration of my file.
Files "video.mp4">
Header set Access-Control-Allow-Origin ""
Header set Access-Control-Allow-Methods: "
"
Header set Access-Control-Allow-Headers: "Origin, X-Requested-With, Content-Type, Accept"

I even tried using the magnet link
magnet:?xt=urn:btih:699f6411bc409254234ff5413ddc59dbedb54f63&dn=video.mp4&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=http%3A%2F%2Fmwti.com.br%2Fvideo.mp4

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Oct 31, 2017

Can you enable cors for the torrent file as well?

@marcelodelta

This comment has been minimized.

Copy link
Author

@marcelodelta marcelodelta commented Oct 31, 2017

video.torrent enable.

I use the magnet to load the webtorrent

@marcelodelta

This comment has been minimized.

Copy link
Author

@marcelodelta marcelodelta commented Oct 31, 2017

With the video.torrent file the webtorrent works.

When I use the magnet link the webtorrent does not find the webseed.

@Chocobozzz

This comment has been minimized.

Copy link
Contributor

@Chocobozzz Chocobozzz commented Oct 31, 2017

Torrent file is mandatory when using webseed. You can specify the torrent URL in magnet URI with xs parameter: #875

@marcelodelta

This comment has been minimized.

Copy link
Author

@marcelodelta marcelodelta commented Oct 31, 2017

It is work.

@lock lock bot locked as resolved and limited conversation to collaborators May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.