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."