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

114
Vistas
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 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