-
Notifications
You must be signed in to change notification settings - Fork 391
Description
In my iOS swift is using Socket.IO-Client-Swift library and https://xxx.xxx.com.
In my Flutter project, I got unsupported https error so I change it to wss://xxx.xxx.com and I got this error:
'Dart Unhandled Exception: WebSocketChannelException: WebSocketChannelException: HandshakeException: Handshake error in client (OS Error:
WRONG_VERSION_NUMBER(tls_record.cc:242)), stack trace: #0 new IOWebSocketChannel._withoutSocket. (package:web_socket_channel/io.dart:98:24)
1 _invokeErrorHandler (dart:async/async_error.dart:45:24)
2 _HandleErrorStream._handleError (dart:async/stream_pipe.dart:272:9)
3 _ForwardingStreamSubscription._handleError (dart:async/stream_pipe.dart:157:13)
4 _RootZone.runBinaryGuarded (dart:async/zone.dart:1558:10)
5 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:360:15)
6 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:378:16)
7 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280:7)
8 _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:737:19)
9 _StreamController._addError (<…>'