Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

562
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda