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

Does it work with HTTPS? #7

Open
jacklynlxq opened this issue Jun 19, 2020 · 0 comments
Open

Does it work with HTTPS? #7

jacklynlxq opened this issue Jun 19, 2020 · 0 comments

Comments

@jacklynlxq
Copy link

I tried connecting it to my own PeerServer using HTTPS and it doesnt connect to the PeerServer. My Node application is also using HTTPS.

This is what I notice when I printed out the peer instance I've created:
_httpUrl: 'http://x.x.x.x:9000/peerjs/peerjs'

private peer = new Peer({
    host: 'x.x.x.x',
    port: 9000,
    path: '/peerjs'
  });

So I tried to host my PeerServer using HTTP and it connected. But I have to use HTTPS, is there a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant