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

Seeding doesn't work on server node js #1275

Closed
Er-rchydy opened this issue Jan 25, 2018 · 8 comments
Closed

Seeding doesn't work on server node js #1275

Er-rchydy opened this issue Jan 25, 2018 · 8 comments

Comments

@Er-rchydy
Copy link

@Er-rchydy Er-rchydy commented Jan 25, 2018

What version of WebTorrent?
0.98.20
What operating system and Node.js version?
Operating system : Centos 7
Node.js : v8.9.4
What browser and version? (if using WebTorrent in the browser)
Version 63.0.3239.132 (Official Build) (64-bit)
What did you expect to happen?
To watch the video when i put magnet link on instant.io
What actually happened?
Nothing , after i put the magnet link on instant.io it gives me

Downloading torrent from xxxxxx

but the videos doesn't appear in the page + no errors in the console.
This is the code :

const WebTorrent = require('webtorrent');
webtorrent.seed('./public/video.webm', function (torrent)
{
    console.log('Client is seeding ' + torrent.magnetURI);
});
@aszokalski

This comment has been minimized.

Copy link

@aszokalski aszokalski commented Jan 26, 2018

Found solution. You have to download webtorrent-hybrid

@Er-rchydy

This comment has been minimized.

Copy link
Author

@Er-rchydy Er-rchydy commented Jan 26, 2018

@aszokalski Can you explain more what i need to do, i'm a beginner so i'm not sure what do you mean by ' download webtorret-hybrid '

@aszokalski

This comment has been minimized.

Copy link

@aszokalski aszokalski commented Jan 26, 2018

https://github.com/webtorrent/webtorrent-hybrid this is webtorrent-hybrid. I am begginer too and I had the same problem.

@Er-rchydy

This comment has been minimized.

Copy link
Author

@Er-rchydy Er-rchydy commented Jan 26, 2018

@aszokalski thanks, i got it to work on mac os but it's not working on Centos7 , after i install all what's it need, i got this error Error: electron-eval error: Electron process exited with code 127., did you made it to seed from the server yet ?

@aszokalski

This comment has been minimized.

Copy link

@aszokalski aszokalski commented Jan 27, 2018

No I didn't try Cent OS but I see that you have to run this command sudo yum install xorg-x11-server-Xvfb. If you already did it then I have no clue what's wrong. I'd be glad if you look on my issue: #1276

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Jan 29, 2018

@Er-rchydy CentOS is not an officially-supported OS in the webtorrent project. There are too many Linux variants to support them all, but if you discover the source of the issue and want to send a PR, we're happy to merge it so it can work for you. We just don't have the time to invest in fixing things for every Linux variant.

@feross feross closed this Jan 29, 2018
@Er-rchydy

This comment has been minimized.

Copy link
Author

@Er-rchydy Er-rchydy commented Jan 29, 2018

@feross what OS are supported in the webtorrent project ?

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented May 16, 2018

@Er-rchydy Ubuntu LTS, macOS latest, Windows latest

@lock lock bot locked as resolved and limited conversation to collaborators Aug 14, 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.