WebSocket Error only on iOS Safari

I’m developing a simple web app which uses a WebSocket connection to update data in realtime across multiple users.

It works perfectly on desktop browsers, iOS Safari/Chrome on an iPad and Chrome, Opera, Edge on iOS on iPhone BUT consistently fails on iOS Safari on iPhone (I haven’t done any Android tests yet).

Full disclosure – I’m a front end web developer and so am leaning heavily on AI to build this and I know the code is messy. It’s a proof of concept before I take it further!

After lots of attempts to find a solution AI told me to contact support saying the below but I thought I’d reach out here just in case anyone had any wisdom…

”My client is attempting a WebSocket connection to wss://referee-app.onrender.com/... which is immediately resulting in a WebSocket Error (readyState: 3). This proves the server application is crashing or refusing the connection immediately after the handshake. Please check the server application logs for my service right at the moment the connection is attempted to identify the unhandled exception or crash that is closing the socket."

It seems like this may just be limited to MY iPhone. Really weird but it’s working on others devices.

Are you running iOS 26 on your phone? Just curious as we are potentially seeing websocket issues only on devices running iOS 26.

yes, this is on iOS 26. I’ve tested on a few iPhones and it’s working on others with iOS 26 so it’s definitely not all iOS 26 devices.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.