Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

561
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda