You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Android] SSLStream throws 'Handshake has already been started' on API level 26 #78716
Time Device Name Type PID Tag Message
11-22 16:06:53.606 pixel_5_-_api_26 Warning 8609 System.err java.lang.IllegalStateException: Handshake has already been started
at com.android.org.conscrypt.OpenSSLEngineImpl.beginHandshakeInternal(OpenSSLEngineImpl.java:335)
at com.android.org.conscrypt.OpenSSLEngineImpl.beginHandshake(OpenSSLEngineImpl.java:325)
11-22 16:06:53.607 pixel_5_-_api_26 Verbose 8609 SequriX Push error: System.Security.Authentication.AuthenticationException: net_auth_SSPI
---> Interop+AndroidCrypto+SslException: Exception_WasThrown, Interop+AndroidCrypto+SslException
Exception_EndOfInnerExceptionStack
at System.Net.Security.SslStream.<ForceAuthenticationAsync>d__175`1[[System.Net.Security.AsyncReadWriteAdapter, System.Net.Security, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext() at SuperSocket.ClientEngine.SslStreamTcpSession.AuthenticateAsClientAsync(SslStream sslStream, SecurityOption securityOption)
Activity
rgroenewoudt commentedon Nov 23, 2022
This also effects SocketsHttpHandler and ClientWebSocket usage with HTTPS.
For example:
simonrozsival commentedon Nov 24, 2022
This is likely related to dotnet/SqlClient#1656
simonrozsival commentedon Nov 24, 2022
I reproduced the issue locally and it should be possible to fix it. I should have a fix ready soon.
karelz commentedon May 27, 2023
Fixed in main (8.0) in PR #78849 and in 7.0.3 in PR #79280 and in 6.0.14 in PR #79277.