Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How many simultaneous websocket connections are allowed per domain in Safari on IOS?

We are experiencing problems with Safari on IOS devices when opening multiple web pages simultaneously to our site.

It seems that the problems are related to our long-polling requests and the limit Safari has on concurrent connections per domain.

Will this be resolved if we switch to websockets in SignalR or will the Safari imposed limits on the number of concurrent connections per domain still be a problem for us?

like image 606
Oskar Sjöberg Avatar asked Nov 10 '22 15:11

Oskar Sjöberg


1 Answers

Regarding Safari and Websockets - in the new version of SignalR you can make connections to multiple hubs so this increases the number of overall connections that count towards the limit.

I'm seeing blocking if I have more than a couple connections. Still trying to figure it out but for sure safari is still enforcing a limit even in 2019 :-(

I'm seeing it block COMPLETELY if I have more than 3 connections.

Even the blue bar is stuck.

I can't even make a Web API call.

If I stop a connection on the server side (closing my angular dev server) then it unblocks (back down to 3 connections).

like image 118
Simon_Weaver Avatar answered Nov 15 '22 06:11

Simon_Weaver