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

200
Vistas
Socket IO: handle 403 on client side

I have a socket.io connection on my client. We have a third-party WAF and after a while (session expired) it will block all request and send 403.

I need to detect the 403 error and react accordingly. How can I detect the 403 error in socket.io? I know I can detect connection errors but I need to be sure it's a 403 error and not something else...

enter image description here

Edit:

What I am doing now, is listening for socket error and when an error occurs I will do a simple HTTP GET request in order to check if it's a 403 or not. Not very elegant but it works
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