-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1129141
Build error leg or test failing: System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_SslProtocols_Test.GetAsync_AllowedSSLVersion_Succeeds
Pull request: #118973
08-21 16:06:09.994 22401 27367 I DOTNET : [FAIL] System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_SslProtocols_Test.GetAsync_AllowedSSLVersion_Succeeds(acceptedProtocol: Tls, requestOnlyThisProtocol: True)
08-21 16:06:09.994 22401 27367 I DOTNET : System.AggregateException : One or more errors occurred. (Received an unexpected EOF or 0 bytes from the transport stream.) (The SSL connection could not be established, see inner exception.)
08-21 16:06:09.994 22401 27367 I DOTNET : ---- System.IO.IOException : Received an unexpected EOF or 0 bytes from the transport stream.
08-21 16:06:09.994 22401 27367 I DOTNET : ---- System.Net.Http.HttpRequestException : The SSL connection could not be established, see inner exception.
08-21 16:06:09.994 22401 27367 I DOTNET : -------- System.Security.Authentication.AuthenticationException : Authentication failed, see inner exception.
08-21 16:06:09.994 22401 27367 I DOTNET : ------------ System.PlatformNotSupportedException : The requested SslProtocols (Tls) are not supported on this platform.
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Http.Functional.Tests.HttpClientHandler_SslProtocols_Test.<>c__DisplayClass5_1.<<GetAsync_AllowedSSLVersion_Succeeds>b__2>d.MoveNext()
08-21 16:06:09.994 22401 27367 I DOTNET : --- End of stack trace from previous location ---
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Http.Functional.Tests.HttpClientHandler_SslProtocols_Test.GetAsync_AllowedSSLVersion_Succeeds(SslProtocols acceptedProtocol, Boolean requestOnlyThisProtocol)
08-21 16:06:09.994 22401 27367 I DOTNET : --- End of stack trace from previous location ---
08-21 16:06:09.994 22401 27367 I DOTNET : ----- Inner Stack Trace #1 (System.IO.IOException) -----
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Security.SslStream.ReceiveHandshakeFrameAsync[TIOAdapter](CancellationToken cancellationToken)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Test.Common.LoopbackServer.Connection.CreateAsync(SocketWrapper socket, Stream stream, Options httpOptions)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Test.Common.LoopbackServer.EstablishConnectionAsync()
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Test.Common.LoopbackServer.AcceptConnectionSendResponseAndCloseAsync(HttpStatusCode statusCode, String additionalHeaders, String content)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task)
08-21 16:06:09.994 22401 27367 I DOTNET : ----- Inner Stack Trace #2 (System.Net.Http.HttpRequestException) -----
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|115_0(HttpRequestMessage request, CancellationToken cancellationToken)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task)
08-21 16:06:09.994 22401 27367 I DOTNET : ----- Inner Stack Trace -----
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
08-21 16:06:09.994 22401 27367 I DOTNET : ----- Inner Stack Trace -----
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.SafeDeleteSslContext.InitializeSslContext(SafeSslHandle handle, SslAuthenticationOptions authOptions)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.SafeDeleteSslContext..ctor(SslAuthenticationOptions authOptions)
08-21 16:06:09.994 22401 27367 I DOTNET : at System.Net.Security.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteSslContext& context, ReadOnlySpan`1 inputBuffer, Int32& consumed, SslAuthenticationOptions sslAuthenticationOptions)
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": ["[FAIL] System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_SslProtocols_Test.GetAsync_AllowedSSLVersion_Succeeds", "System.PlatformNotSupportedException : The requested SslProtocols"],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1129141
Error message validated: [[FAIL] System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_SslProtocols_Test.GetAsync_AllowedSSLVersion_Succeeds System.PlatformNotSupportedException : The requested SslProtocols
]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/22/2025 5:53:33 PM UTC
Report
Summary
24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
---|---|---|
5 | 23 | 23 |