[iOS] 3.22 version ios socket connection failure issue

Hello, developer friends.

I am a developer who is making and live a game using your precious server framework.
Your open source distribution was a very gracious choice.
We were originally using server version 3.11, and we have been developing and live a game using Cocos js SDK.
This time, we updated the server version to version 3.22, and the socket connection (guild function) works well on the web version and Android, but the connection is not possible on iOS.

To be specific, the socket is closed immediately after connection. This only happens on iOS.

After testing more, it works normally on version 3.11, but the same error occurs on versions 3.15 and 3.22, so it seems that some iOS-related code has changed in the meantime.

Is there a way to solve this problem?

Hello @Gandangf,

Thank you for the kind words!

If you haven’t already, I’d advise you to try and upgrade both the SDK and server to the latest available released versions.

If the issue persists, please open an issue in the appropriate repository, and include any client and server logs and any other info both here and on the issue that may be useful to track it down. If possible, also provide a self-contained sample of client (and server code, if required) to reproduce the issue.

Best.