System.Net.Security tests asserting and failing on Linux in CI
http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_debug_tst/1373/consoleFull
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33
Exception Caught. - Interop+OpenSsl+SslException: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher ---> Interop+Crypto+OpenSslCryptographicException: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33
Exception Caught. - Interop+OpenSsl+SslException: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher ---> Interop+Crypto+OpenSslCryptographicException: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33
Exception Caught. - Interop+OpenSsl+SslException: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher ---> Interop+Crypto+OpenSslCryptographicException: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33
Exception Caught. - Interop+OpenSsl+SslException: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher ---> Interop+Crypto+OpenSslCryptographicException: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 Finished: System.Threading.Timer.Tests
00:17:33
00:17:33 === TEST EXECUTION SUMMARY ===
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol ---> Interop+Crypto+OpenSslCryptographicException: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.InitializeSecurityContext(SafeFreeCredentials credential, SafeDeleteContext& context, String targetName, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol ---> Interop+Crypto+OpenSslCryptographicException: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.InitializeSecurityContext(SafeFreeCredentials credential, SafeDeleteContext& context, String targetName, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol ---> Interop+Crypto+OpenSslCryptographicException: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.InitializeSecurityContext(SafeFreeCredentials credential, SafeDeleteContext& context, String targetName, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 System.Threading.Timer.Tests Total: 27, Errors: 0, Failed: 0, Skipped: 0, Time: 3.129s
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol ---> Interop+Crypto+OpenSslCryptographicException: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.InitializeSecurityContext(SafeFreeCredentials credential, SafeDeleteContext& context, String targetName, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol ---> Interop+Crypto+OpenSslCryptographicException: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
00:17:33 at System.Net.Security.SslStream.BeginAuthenticateAsServer(X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation, AsyncCallback asyncCallback, Object asyncState)
00:17:33 at System.Net.Security.SslStream.<>c__DisplayClass4.<AuthenticateAsServerAsync>b__3(AsyncCallback callback, Object state)
00:17:33 at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl(Func`3 beginMethod, Func`2 endFunction, Action`1 endAction, Object state, TaskCreationOptions creationOptions)
00:17:33 at System.Threading.Tasks.TaskFactory.FromAsync(Func`3 beginMethod, Action`1 endMethod, Object state)
00:17:33 at System.Net.Security.SslStream.AuthenticateAsServerAsync(X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
00:17:33 at System.Net.Security.SslStreamAPMExtensions.BeginAuthenticateAsServer(SslStream s, X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation, AsyncCallback asyncCallback, Object asyncState)
00:17:33 at System.Net.Security.Tests.DummyTcpServer.OnAccept(IAsyncResult result)
00:17:33 at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
00:17:33 at System.Net.ContextAwareResult.Complete(IntPtr userToken)
00:17:33 at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
00:17:33 at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionCallback(Int32 numBytes, SocketError errorCode)
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails(server: Ssl3, client: Ssl2, expected: typeof(System.IO.IOException)) [FAIL]
00:17:33 Assert.Throws() Failure
00:17:33 Expected: typeof(System.IO.IOException)
00:17:33 Actual: typeof(System.InvalidOperationException): EndAuthenticate can only be called once for each asynchronous operation.
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number ---> Interop+Crypto+OpenSslCryptographicException: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number ---> Interop+Crypto+OpenSslCryptographicException: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number ---> Interop+Crypto+OpenSslCryptographicException: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol ---> Interop+Crypto+OpenSslCryptographicException: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 Stack Trace:
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number ---> Interop+Crypto+OpenSslCryptographicException: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.InitializeSecurityContext(SafeFreeCredentials credential, SafeDeleteContext& context, String targetName, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number ---> Interop+Crypto+OpenSslCryptographicException: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number ---> Interop+Crypto+OpenSslCryptographicException: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol ---> Interop+Crypto+OpenSslCryptographicException: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number ---> Interop+Crypto+OpenSslCryptographicException: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.InitializeSecurityContext(SafeFreeCredentials credential, SafeDeleteContext& context, String targetName, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number ---> Interop+Crypto+OpenSslCryptographicException: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.InitializeSecurityContext(SafeFreeCredentials credential, SafeDeleteContext& context, String targetName, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number ---> Interop+Crypto+OpenSslCryptographicException: error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol ---> Interop+Crypto+OpenSslCryptographicException: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.AcceptSecurityContext(SafeFreeCredentials& credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean remoteCertRequired)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number ---> Interop+Crypto+OpenSslCryptographicException: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.InitializeSecurityContext(SafeFreeCredentials credential, SafeDeleteContext& context, String targetName, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number ---> Interop+Crypto+OpenSslCryptographicException: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.InitializeSecurityContext(SafeFreeCredentials credential, SafeDeleteContext& context, String targetName, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:33 ---- DEBUG ASSERTION FAILED ----
00:17:33 ---- Assert Short Message ----
00:17:33 Exception Caught. - Interop+OpenSsl+SslException: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number ---> Interop+Crypto+OpenSslCryptographicException: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
00:17:33 --- End of inner exception stack trace ---
00:17:33 at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 ---- Assert Long Message ----
00:17:33
00:17:33 at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
00:17:33 at System.Environment.get_StackTrace()
00:17:33 at System.Diagnostics.Debug.Assert(Boolean condition, String message, String detailMessage)
00:17:33 at System.Net.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired)
00:17:33 at System.Net.SslStreamPal.InitializeSecurityContext(SafeFreeCredentials credential, SafeDeleteContext& context, String targetName, SecurityBuffer[] inputBuffers, SecurityBuffer outputBuffer)
00:17:33 at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)
00:17:33 at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)
00:17:33 at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.Security.SslState.ReadFrameCallback(AsyncProtocolRequest asyncRequest)
00:17:33 at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
00:17:33 at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
00:17:33 at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
00:17:33 at System.IO.StreamAsyncHelper.<BeginReadWrite>b__4(Task _, Object obj)
00:17:33 at System.Threading.Tasks.Task.Execute()
00:17:33 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
00:17:33 at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
00:17:33 at System.Threading.Tasks.Task.FinishContinuations()
00:17:33 at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
00:17:33 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
00:17:33 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
00:17:33 at System.Threading.ThreadPoolWorkQueue.Dispatch()
00:17:34 at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
00:17:34 at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
00:17:34 at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
00:17:34 --- End of stack trace from previous location where exception was thrown ---
00:17:34 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
00:17:34 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
00:17:34 at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
00:17:34 at System.Net.Security.SslStreamAPMExtensions.EndAuthenticateAsClient(SslStream s, IAsyncResult asyncResult)
00:17:34 at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncSslHelper(EncryptionPolicy encryptionPolicy, SslProtocols clientSslProtocols, SslProtocols serverSslProtocols)
00:17:34 at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncSslHelper(SslProtocols clientSslProtocols, SslProtocols serverSslProtocols)
00:17:34 at System.Net.Security.Tests.ClientAsyncAuthenticateTest.<>c__DisplayClassb.<ClientAsyncAuthenticate_MismatchProtocols_Fails>b__a()
00:17:34 Finished: System.Net.Security.Tests
00:17:34
00:17:34 === TEST EXECUTION SUMMARY ===
00:17:34 System.Net.Security.Tests Total: 44, Errors: 0, Failed: 1, Skipped: 0, Time: 4.134s
All of the tests are failing at http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_debug_tst_prtest/4108/console due to issues about missing method exceptions.
cc: @pgavlin, @bartonjs, @shrutigarg, @vijaykota
From https://github.com/dotnet/corefx/issues/4301, @shrutigarg, I think there is another instance reported by @pgavlin - http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_debug_tst_prtest/4092/consoleFull
This failure also is in the test case where one side is Ssl2 and other side is Ssl3. (The roles are interchanged though between CI runs 4092 and 4108)
@shrutigarg, since this is not a consistent repro, please check SslStream code whether socket Read failures can cause InvalidOperationException. In protocol mismatch case, server probably closes the TCP connection and maybe SslStream code is not handling this correctly
@shrutigarg , please ignore my comment about TCP connection. I forgot that the test case uses MemoryStream instead of NetworkStream.
This issue seems to have gone after @CIPop 's merge of disabling sslv2/3 ..Will verify it though.. There are few new failures introduced ,, I am following up with him..
I see that I have incorrectly referenced CI job 4108 in an earlier comment. That was fixed with dotnet/corefx#4331
The remaining issues are the ones in CI jobs 1373 and 4092. Pasting the output from these jobs here:
From http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_debug_tst_prtest/4092/testReport/System.Net.Security.Tests/ClientAsyncAuthenticateTest/ClientAsyncAuthenticate_MismatchProtocols_Ssl2_Fails_Linux_server__Ssl2__client__Ssl3__expected__typeof_System_Security_Authentication_AuthenticationException__/
System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Ssl2_Fails_Linux(server: Ssl2, client: Ssl3, expected: typeof(System.Security.Authentication.AuthenticationException)) (from (empty))
Stacktrace
MESSAGE:
Assert.Throws() Failure Expected: typeof(System.Security.Authentication.AuthenticationException) Actual: typeof(System.InvalidOperationException): EndAuthenticate can only be called once for each asynchronous operation.
+++++++++++++++++++
STACK TRACE:
at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at System.Net.Security.SslStreamAPMExtensions.EndAuthenticateAsClient(SslStream s, IAsyncResult asyncResult)
at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncSslHelper(EncryptionPolicy encryptionPolicy, SslProtocols clientSslProtocols, SslProtocols serverSslProtocols)
at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncSslHelper(SslProtocols clientSslProtocols, SslProtocols serverSslProtocols)
at System.Net.Security.Tests.ClientAsyncAuthenticateTest.<>c__DisplayClass11.<ClientAsyncAuthenticate_MismatchProtocols_Ssl2_Fails_Linux>b__10()
From http://dotnet-ci.cloudapp.net/job/dotnet_corefx_linux_debug_tst/1373/testReport/System.Net.Security.Tests/ClientAsyncAuthenticateTest/ClientAsyncAuthenticate_MismatchProtocols_Fails_server__Ssl3__client__Ssl2__expected__typeof_System_IO_IOException__/
System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncAuthenticate_MismatchProtocols_Fails(server: Ssl3, client: Ssl2, expected: typeof(System.IO.IOException)) (from (empty))
Stacktrace
MESSAGE:
Assert.Throws() Failure Expected: typeof(System.IO.IOException) Actual: typeof(System.InvalidOperationException): EndAuthenticate can only be called once for each asynchronous operation.
+++++++++++++++++++
STACK TRACE:
at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at System.Net.Security.SslStreamAPMExtensions.EndAuthenticateAsClient(SslStream s, IAsyncResult asyncResult)
at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncSslHelper(EncryptionPolicy encryptionPolicy, SslProtocols clientSslProtocols, SslProtocols serverSslProtocols)
at System.Net.Security.Tests.ClientAsyncAuthenticateTest.ClientAsyncSslHelper(SslProtocols clientSslProtocols, SslProtocols serverSslProtocols)
at System.Net.Security.Tests.ClientAsyncAuthenticateTest.<>c__DisplayClassb.<ClientAsyncAuthenticate_MismatchProtocols_Fails>b__a()
From a quick review of the code, it doesn't seem like an xplat issue but rather a race in _SslState.cs. Please confirm if the issue reproes with a delay in EndProcessAuthentication.
Code from ProcessAuthentication:
finally
{
if (lazyResult == null || _exception != null)
{
_nestedAuth = 0;
}
}
Code from EndProcessAuthentication
if (Interlocked.Exchange(ref _nestedAuth, 0) == 0)
{
throw new InvalidOperationException(SR.Format(SR.net_io_invalidendcall, "EndAuthenticate"));
}
Say thread T1 calls ProcessAuthentication. This in turn calls ForceAuthentication which can fail with an exception. This would set _exception to non-null and throw. In its finally block, it calls FinishHandShake which probably invokes the callback EndProcessAuthentication in another thread T2. If this is true, then the finally block of ProcessAuthentication and EndProcessAuthentication would be executing concurrently.
It reproes after putting a delay in ProcessAuthentication method, Basically ProcessAuthentication results into ReadCallback to be executed in another thread. SInce ReadCallback fails in ProcessReceivedBlob, it throws an exception and _exception is set.
If we put a delay in ProcessAuthentication , _exception is set before the finally block of the method gets called. which as a result sets _nestedAuth to 0. This behaves same in AuthenticateAsServerAsync() and AuthenticateAsClientAsync().
There is a race condition in the code of SslStream for which the fix in dotnet/corefx#5034 has been proposed. However, per this comment, more investigation is needed on why the race happens only on Linux. This needs to be looked at by folks who are familiar with TPL and hence unassigning this.
@vijaykota, this nothing to do with TPL. The only place tasks are even involved here is at the leaf level of FromAsync, which is a basic consumer of the APM pattern and would not influence such issues.
Are we agreed on the fact that EndAuth is called concurrently with BeginAuth?
@stephentoub, we are trying to understand the further investigation needed. Is it about proving that the 2 race conditions exist in Windows code or something else?
@joshfree, please check if anybody else can help with investigation and the fix.
Is it about proving that the 2 race conditions exist in Windows code or something else?
It's about understanding why this only repros on Linux. If we can't get it to repro on Windows, then there's something wrong with the Linux implementation that's causing this, e.g. maybe it's throwing an exception in a place that Windows never did and that's triggering the race condition. If we can get it to repro on Windows on CoreCLR but not on desktop, then there may be something wrong with our corefx port in general.
In other words, the race condition that's been outlined here obviously exists, but it seems like something is preventing it from happening on Windows, as we've never seen this exception on Windows and we see it frequently on Linux. That implies that there's something about the Windows implementation that prevents the race from occurring.
It's of course possible it's purely a timing issue, but given that we've never seen it on Windows and we see it frequently on Linux, that doesn't seem particularly likely (though not impossible).
@cipop, @davidsh, I was able to repro the failure on Windows simply by forcing a brief pause at the end of the try block here: https://github.com/dotnet/corefx/blob/9546ca7a50eeb91dd9a168d32a5a4f2fef4e170b/src/System.Net.Security/src/System/Net/SecureProtocols/SslState.cs#L598
By adding new ManualResetEventSlim().Wait(1) to force a few milliseconds of pause, I can regularly get this to fail on CoreCLR on Windows. I've not tried reproing with the desktop codebase, but I expect it would repro there as well. It seems like the timings are just significantly different between the Windows and Linux implementations, such that on Windows we've just been "lucky" and always gotten past this catch block before the operation failed asynchronously.
I don't think the proposed fix is the right one, as there's value to the check being done. Rather, I believe the fix should be to not check for _exception != null in the finally block, but rather add a catch block to check for _exception != null. The finally block should be reserved for only resetting _nestedAuth to 0 for the synchronous execution case. For the async execution case, it should only be reset in either EndAuthentication (invoked when the async operation completes) or in the catch block in ProcessAuthentication, which should only be reached if the act of initiating the async operation failed.
I need to log off, but I'll put together a PR and test it out tomorrow.
I guess the confusion is due to the earlier explanation and the PR comment not explicitly mentioning that this can happen on Windows or Linux. This also applies to the other race mentioned in dotnet/corefx#5034 . And fixing the _exception will fix both.