Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

560
Views
Peerjs Error: Could not get an ID from the server

using Peerjs cdn.It was working fine.Suddenly getting this error today Error: Could not get an ID from the server

 peer = new Peer();

<script src="https://unpkg.com/peerjs@1.3.1/dist/peerjs.min.js"></script>

Even demo application given by peerjs documentation has this error now which was working fine before

https://jmcker.github.io/Peer-to-Peer-Cue-System/

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Yes, the problem is known.

The public server is not available at the moment (cracked by botnet). The maintainer has already reported the cause of the issue on github: https://github.com/peers/peerjs/issues/937#issuecomment-1077781924

There is also a small guide on how to deploy your own server through Heroku.

about 4 years ago · Juan Pablo Isaza Report

0

Install peer and peerjs from npm. configure the following on the client js file.

const peer = new Peer(undefined, {
  host: 'localhost',
  port: 5001,
  path: '/'
});

Then while the initial server is running. open another terminal and run the following

 peerjs --port 5001

voila, you have started peerServer and now you can obtain the peer.id.

There are some other ways to too. please refer to this link to explore those ways.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!