moozzyk/SignalR-Client-Swift

iOS - An SSL error has occurred and a secure connection to the server cannot be made

kk487v opened this issue · 1 comments

Hi Team,

While trying to start the signalr connection getting an SSL error. in iOS its happening iOS 14 and 15. Can you please check and provide a solution or guidance to fix the problem.

https://signalrxxx.xx.x/hubs/signalr/negotiate?clientProtocol=1.3&connectionData=xxxxxD&connectionToken=&transport=, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask ., _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask ."
),

NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://signalrhub.xxx.com/signalr/hubs/signalr/negotiate?clientProtocol=1.xxx&connectionData=%xxxxx&connectionToken=&transport=, NSUnderlyingError=xxx

{Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9816, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9816, _NSURLErrorNWPathKey=satisfied (Path is satisfied), viable, interface: en0, ipv4, dns}}, _kCFStreamErrorCodeKey=-9816}

You are not using this client. This client supports only ASP.NET Core version of SignalR and looking at your requests you are trying to connect to the original/old/classic version of SignalR. There is not much I can do.