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

Can't connect to peerjs signalling server #5

Closed
wyattscarpenter opened this issue Jul 5, 2020 · 3 comments
Closed

Can't connect to peerjs signalling server #5

wyattscarpenter opened this issue Jul 5, 2020 · 3 comments

Comments

@wyattscarpenter
Copy link
Owner

Their server seems to be often down. Any time I've tried to test it basically since I finished my last period of work on this project. Options, in order of complexity:

  1. Wait for them to fix it. It's a reported issue, as in Unable to connect peers/peerjs#693, so they might fix it soon.

  2. Host my own PeerJS server, as described in Is the server down ? peers/peerjs#671 (comment). It seems pretty simple to do, as described in https://github.com/peers/peerjs-server: npm install peer -g && peerjs --port 9000 --key peerjs --path /myapp && wget http://127.0.0.1:9000/myapp. But this would introduce the complication of having to maintain a server and static url. Perhaps the free tier of some cloud service would suffice.

  3. Change code to not use PeerJS. This would involve a strenuous (measured in terms of how much I want to do it) rewrite in order to jump from one frying into... a potentially less hot frying pan? Not very promising.

I think I will try 1 until I can't bear it / I get around to it, and then I will try 2. If things get really bad I might try 3.

@wyattscarpenter
Copy link
Owner Author

This appears to have been resolved. Strategy 1 worked.

@wyattscarpenter
Copy link
Owner Author

I will continue monitoring the situation until I am satisfied.

@wyattscarpenter
Copy link
Owner Author

This issue will be reopened if it becomes an issue again.

@wyattscarpenter wyattscarpenter pinned this issue Aug 11, 2020
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