Peerjs: Peerjs does not work

Created on 1 Apr 2018  ·  35Comments  ·  Source: peers/peerjs

Neither the website nor the services work in peerjs. What are the possible issues. And when will it be live again?

Most helpful comment

Its SO obvious that the project is dead, no commit no activity website down.
Look for other alternative.

All 35 comments

same here

Hey folks, would it be possible to get some kind of idea of if/when the PeerJS website will be live again? We're about to (re)publish an article on PeerJS over on SitePoint, and it'd be great to know if this is just a blip on the radar, or if the site is gone for good.

I am working on two projects based on peerjs. Would the website be open again later? = =

Its SO obvious that the project is dead, no commit no activity website down.
Look for other alternative.

Any good alternative?

^ But that doesn't offer a signalling server

I find out that peerjs works more easily than simplepeer. So I establish my own server based on its server code https://github.com/peers/peerjs-server.

signaling server it is NOT a part of Webrtc foundation. Meaning you are free to make your own.
you can test by hand copy paste the JSON (the offer object) object from one peer to the remote one, make it work, then you can make this work with signaling server using Socket.io later

I'm with ZhuYuJin on this, I did the same thing, my nginx/passenger config needs some fine tuning but it works in development Seems I'm gonna need the docs or have to read the script itself to see if there's more options for me to fool around with enhancement wise for my website Basically there's nothing in the example that says "A videochat request has been sent ..." to the other user, there's nothing in the script that says "another user is requesting to initiate a videochat with you, accept/decline" That's all I really need to add at this point Since it works I don't know what's the significance of the project being dead aside from not being able to get the docs now I've already got it working Should I scrap it because the project's dead?

I'm working on a temporary project. It seems peerjs shows the best match with my demands. If you need a long-term and maintainable NAT traversal tool, I think simplepeer or electron-webrtc is a better choice.

It's a working implementation of webrtc I should be able to figure out what I'm trying to do I still don't understand what's the significance of the project being dead, how does that actually change anything for people running their own peer server Also, if the project is dead what is it that makes node install peer work?

Hi there,

I apologize for the radio silence here -- there's no excuse for it.

If someone would like to take over this project, I'm more than happy to give them full access.

but.. what happened, that would be more interesting than giving access.
Its sad to see the project down, it has good ranking in google..

Site is online again, PRs are being reviewed and merged, and services will be online soon this week

It seems like Peerjs is not working again?? @kidandcat

I have encountered the same problem where PeerJS servers are down. The best way to go around it is to just host your own PeerJS-Server on some node.js server. I use PeerJS in a development environment which for me is enough to just have a VM up and running with my video/chat app installed on an apache2 server and node.js running a PeerJS-Server on the local network.

Exactly, I'm sorry for the downtime, but servers just went down, I'm moving everything to a new provider, everything will be ready asap.

Anyway, those of you who need a high SLA, the best option for you will always be to setup your own Peer-Server.

I'm sorry for the inconveniences.

The website is available here: https://peerjscom-qmqhkktbyd.now.sh/

The DNS server transfer may take up to 24h to complete.

The PeerServer is working, but only using WSS. I'll keep working on it.

May I know what is WSS? and whether this kind of issues will persist in the future? If so what is the solution I need to do? @kidandcat

I'm using tomcat server. If I want to deploy in an online server. How to do that in node js server? @TrojanLij

WSS is WebSocket Secure, it's like using HTTPS. To deploy your own server you need to use this: https://www.npmjs.com/package/peerjs-server

To use WSS, you have two options. Set Peer({host: "https://0.peerjs.com"}) or use latest version (0.3.18) which uses WSS by default.

The way my node.js server is running right now is on a local network using Ubuntu server 16.04 and it is accessible within my development environment (LAN). If you wish to host it to others or have it so others can use it as a means to give an ID to user/users i would suggest you find some online hosting service for node.js app development (or some kind of test my node.js app in a global environment)

Node.JS hosting services - Payed.
Node.JS hosting services - Free

If you just want to test your app in a local network environment first you can just try and run a node.js server with a virtual machine (I suggest doing this so you can get used to node.js if you haven't had much/any experience with node.js)

I hope this answer is helpful to you @RamyaAshika

Now if I want to run my application like as previous it will take 24hours right?? @kidandcat

Thank you @TrojanLij

If you update Peerjs lib to 0.3.18 (already in NPM), it will work right now

I have used this script only I didn't installed npm @kidandcat

cdnjs updates more or less every hour

Please let me know once its updated. Thanks a ton @kidandcat

Still, it's not updated?? @kidandcat

You can check it here: https://cdnjs.com/libraries/peerjs

I'm not related with that CDN. If use NPM or downloads the library from the repository, you already have the latest version.

Yes, it worked great !!! Thanks @kidandcat

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lucastwong picture lucastwong  ·  3Comments

afrokick picture afrokick  ·  5Comments

schweini picture schweini  ·  7Comments

veezo2007pk picture veezo2007pk  ·  7Comments

geraldsamosir picture geraldsamosir  ·  6Comments