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

213
Vistas
Desktop Safari websockets hangs on connection. All others (including iOS) work

My websocket connection works:

  • When testing on localhost on Desktop Chrome, Desktop Safari, and iOS
  • When testing on production on Desktop Chrome and iOS.

It DOES NOT work:

  • When testing on production on Desktop Safari

There are no console errors in the browser. I can see the websocket is created, but it never fires "open" event on Desktop Safari. On the server side, the connection comes through fine everywhere other than from Desktop Safari, where I don't see anything come in.

The websocket is on the exact domain as the origin, and both are using secure connection (https/wss)

There are a lot of moving parts on production (e.g. load balancer). I've looked at and configured things like "stickiness" and TLS versions on each layer in production.

Again, it works most places.

I'm thinking there must be something like TLS, CORS, etc that I'm not fulling understanding that is causing the breakdown.

This is what happens on iOS (and about the same in Chrome desktop, etc):

enter image description here

This is what happens in Desktop Safari on Mac:

enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Well. After many hours of spinning my wheels I solved it:

There is a setting in AWS Load Balancer attributes called "Client port preservation". Once I checked this, websockets started to flow from Desktop Safari:

enter image description here

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