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

115
Visualizações
Socket io WebSocket is closed before the connection is established on production

I have built a production ready app using Flask socketio in the backend and socketio in the frontend (browser app).

In development the client would connect to the socket perfectly, but in production, I keep getting the following message in the client:

failed: WebSocket is closed before the connection is established

Eventually the client connects ant the messages stop appearing. But sometimes, even after the client connects, the connection drops and the messages start appearing again.

Does anyone have any idea of what can be causing that issue?

I have found multiple posts here where this issue happens and the client is never able to connect, but that is not the case here, it appears that the connection is just somewhat slow and I have no idea why...

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