-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ios 15.1.1 safari Unable to link #4263
Comments
I'm having the same issue. Looks to be something to do with TLS but have not found a solution. |
@sandywk which version of the server are you using? Please see the compatibility table here: https://github.com/socketio/socket.io-client-swift/blob/master/Usage%20Docs/Compatibility.md |
The server version is the same as the client version @darrachequesne node v10.19.0 |
@wejew I once thought it was a TLS problem, but after I tried many TLS solutions, I still couldn't solve this problem. |
@darrachequesne I link through the web import io from 'socket.io-client'; Several IOS 15 mobile phones have been tested, and safari has this problem |
@sandywk that's discouraging. I was thinking it was TLS because if you look at the headers on safari it doesn't have the host header. And I think AWS uses the host header in the TLS negotiation. I sure hope that someone has a solution for this soon. Like you, I have gone down many rabbit holes and wasted weeks of time trying to fix this in our apps. |
OK, so it seems to be a known bug with iOS 15 and WebSockets: https://developer.apple.com/forums/thread/685403 |
@darrachequesne @wejew @darrachequesne Upgrading to 15.4 has solved this problem |
IOS 15.4 Fixed this problem |
i have not experienced your luck with iOS 15.4 @sandywk |
IOS 15.5 has this problem |
I'm going to close this, as I don't think there is much we can do on our side. Please reopen if needed. |
Error {type: "TransportError", description...
description: Event {isTrusted: true}
isTrusted: true
proto: Event {type: (...), target: (...), current...
type: "TransportError"
column: 22
line: 64
message: "websocket error"
stack: "@\n@\nclose@[native code]\n@\n@\n@\nclose@\n@\n@"
proto: Error {}
WebSocket connection to 'wss://..../socket.io/?type=a&hash=b&EIO=3&transport=websocket' failed: WebSocket is closed before the connection is established.
"socket.io-client": "^2.3.0",
Ios14 can link normally
Android is also all normal
Please tell me what to do
The text was updated successfully, but these errors were encountered: