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

111
Visualizações
Socket.io connection not firing everytime in React app

I am using socket.io for a real time chat application. I am fairly new to socket.io and am running into a problem that has completely stumped me.

So, I have the real-time chat events working and firing back and fourth between users but not every time. The problem I am facing is that the chat events don't fire every single time I run the server. For example while the server is running, I make changes in my code and the web socket connection seems to stop working. Sometimes when I start the server for the first time in awhile it doesn't work so I will kill the server and start it again and it works perfectly.

I am having a very tough time with this as I cannot see a pattern of when it does not work.

Any suggestion on what could be happening?

about 4 years ago · Santiago Trujillo
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