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

355
Visualizações
connection establishes for a while on socket and throws error after a while saying insufficient resources and polling

I am using reactjs on frontend and nodejs express in backend, i have established a live connection using socket, For some time when the page mounts connection remains established, even when i emit from the client side(the same page) data are successfully sent and even retrieved the updated datas on client side , but all of a sudden, it throws error something like this :

websocket.js:50 WebSocket connection to 'wss://domain-api-deploy.herokuapp.com/socket.io/?EIO=4&transport=websocket&sid=UNc33egcjyttCADVAC5S' failed: Insufficient resources

and also polling-xhr.js:157 POST https://domain-api-deploy.herokuapp.com/socket.io/?EIO=4&transport=polling&t=NtdZoXk&sid=Rb-5eg-Rl-Z54WQ_AC5U 400 (Bad Request)

and in between these, sometimes again , the connection establishes for a while and again throws the same error mentioned above. Please if you can help me know its cause and the fine solution for it so that my connection establishes without interruption for a long span

about 4 years ago · Juan Pablo Isaza
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