Skip to content

Test failure: ServerDisconnectDuringSetup_PropagatesMeaningfulException #134884

Open

Description

@vcsjones

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1616429
Build error leg or test failing: System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException
Pull request: #134868

Error Message

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["ServerDisconnectDuringSetup_PropagatesMeaningfulException", "Assert.Equal() Failure: Values differ", "Expected: InvalidResponse", "Actual:   Unknown"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1616429
Error message validated: [ServerDisconnectDuringSetup_PropagatesMeaningfulException Assert.Equal() Failure: Values differ Expected: InvalidResponse Actual: Unknown]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/29/2026 9:47:36 PM UTC

Report

Build Repository Test Pull Request
1637546 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException #135898
1634559 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ServerCertificates_Test.UseCallback_BadCertificate_ExpectedPolicyErrors #135743
1632415 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException
1632230 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException #135626
1631778 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException
1630897 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException
1628470 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException
1628378 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException #135434
1627048 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException #135357
1625177 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException #135287
1624450 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException
1623549 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException #135224
1621904 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException #135065
1619890 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException #135032
1619096 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException
1616429 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Http2.ServerDisconnectDuringSetup_PropagatesMeaningfulException #134868

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 5 16

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Sep 29, 2026
  2. dotnet-policy-service commented on Sep 29, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @karelz, @dotnet/ncl
    See info in area-owners.md if you want to be subscribed.

  3. removed
    untriagedNew issue has not been triaged by the area owner
    on Oct 6, 2026
  4. added this to the Future milestone on Oct 6, 2026
  5. VincentBu commented on Oct 15, 2026

    @VincentBu
    Contributor

    Failed in: runtime-coreclr crossgen2 20261013.1

    Failed tests:

    net11.0-linux-Release-x64-TestReadyToRun_Release-Ubuntu.2604.Amd64.Open
    - System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ServerCertificates_Test.UseCallback_BadCertificate_ExpectedPolicyErrors(expired: False, wrongHostName: True, expectedErrors: RemoteCertificateNameMismatch)
    - System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ServerCertificates_Test.UseCallback_BadCertificate_ExpectedPolicyErrors(expired: False, wrongHostName: True, expectedErrors: RemoteCertificateNameMismatch)
    - System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ServerCertificates_Test.UseCallback_BadCertificate_ExpectedPolicyErrors(expired: False, wrongHostName: True, expectedErrors: RemoteCertificateNameMismatch)
    
    

    Error message:

    System.AggregateException : One or more errors occurred. (The SSL connection could not be established, see inner exception.) (Authentication failed, see inner exception.)\n---- System.Net.Http.HttpRequestException : The SSL connection could not be established, see inner exception.\n-------- System.Security.Authentication.AuthenticationException : Authentication failed, see inner exception.\n------------ Assert.Equal() Failure: Values differ\nExpected: RemoteCertificateNameMismatch\nActual:   RemoteCertificateNameMismatch | RemoteCertificateChainErrors\n---- System.Security.Authentication.AuthenticationException : Authentication failed, see inner exception.\n-------- Interop+OpenSsl+SslException : SSL Handshake failed with OpenSSL error - SSL_ERROR_SSL.\n------------ Interop+Crypto+OpenSslCryptographicException : error:0A000438:SSL routines::tlsv1 alert internal error
    

    Stack trace:

    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 87
       at System.Net.Test.Common.LoopbackServerFactory.<>c__DisplayClass6_0.<CreateClientAndServerAsync>b__0(GenericLoopbackServer server, Uri uri) in /_/src/libraries/Common/tests/System/Net/Http/GenericLoopbackServer.cs:line 44
       at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 107
       at System.Net.Http.Functional.Tests.HttpClientHandler_ServerCertificates_Test.UseCallback_BadCertificate_ExpectedPolicyErrors(Boolean expired, Boolean wrongHostName, SslPolicyErrors expectedErrors) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ServerCertificates.cs:line 367
    --- End of stack trace from previous location ---
    ----- Inner Stack Trace #1 (System.Net.Http.HttpRequestException) -----
       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, Boolean isForHttp2, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.InjectNewHttp11ConnectionAsync(QueueItem queueItem)
       at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
       at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
       at System.Net.Http.HttpMessageHandlerStage.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
       at System.Net.Http.HttpMessageHandlerStage.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
       at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
       at System.Net.Http.HttpMessageHandlerStage.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
       at System.Net.Http.SocketsHttpHandler.<SendAsync>g__CreateHandlerAndSendAsync|122_0(HttpRequestMessage request, CancellationToken cancellationToken)
       at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
       at System.Net.Http.Functional.Tests.HttpClientHandler_ServerCertificates_Test.<>c__DisplayClass18_0.<UseCallback_BadCertificate_ExpectedPolicyErrors>b__1(Uri uri) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ServerCertificates.cs:line 369
       at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 119
    ----- Inner Stack Trace -----
       at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
       at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
    ----- Inner Stack Trace -----
       at System.Net.Http.Functional.Tests.HttpClientHandler_ServerCertificates_Test.<>c__DisplayClass18_1.<UseCallback_BadCertificate_ExpectedPolicyErrors>b__0(HttpRequestMessage request, X509Certificate2 cert, X509Chain chain, SslPolicyErrors errors) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ServerCertificates.cs:line 361
       at System.Net.Http.ConnectHelper.<>c__DisplayClass1_0.<SetUpRemoteCertificateValidationCallback>b__0(Object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
       at System.Net.Security.SslStream.VerifyRemoteCertificateCore(Object sender, Boolean isInitialHandshake, SslAuthenticationOptions sslAuthenticationOptions, SafeDeleteSslContext securityContext, X509Certificate2& remoteCertificateSlot, SslConnectionInfo& connectionInfo, X509Certificate2 certificate, X509Chain chain, SslCertificateTrust trust, ProtocolToken& alertToken, SslPolicyErrors& sslPolicyErrors, X509ChainStatusFlags& chainStatus, Boolean& certificateValidationSkippedOnResume, X509Certificate2Collection peerCertificateChain, Boolean cloneCertificateChainPolicy)
       at System.Net.Security.SslStream.VerifyRemoteCertificate(X509Certificate2 certificate, X509Chain chain, SslCertificateTrust trust, ProtocolToken& alertToken, SslPolicyErrors& sslPolicyErrors, X509ChainStatusFlags& chainStatus)
       at Interop.OpenSsl.CertVerifyCallback(IntPtr storeCtx, IntPtr arg)
    --- End of stack trace from previous location ---
       at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, ReadOnlySpan`1 input, Int32& consumed, ProtocolToken& token)
       at System.Net.Security.SslStreamPal.HandshakeInternal(SafeDeleteSslContext& context, ReadOnlySpan`1 inputBuffer, Int32& consumed, SslAuthenticationOptions sslAuthenticationOptions)
    ----- Inner Stack Trace #2 (System.Security.Authentication.AuthenticationException) -----
       at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
       at System.Net.Test.Common.LoopbackServer.Connection.CreateAsync(SocketWrapper socket, Stream stream, Options httpOptions) in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 495
       at System.Net.Test.Common.LoopbackServer.EstablishConnectionAsync() in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 154
       at System.Net.Test.Common.LoopbackServer.EstablishConnectionAsync() in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 162
       at System.Net.Test.Common.LoopbackServer.HandleRequestAsync(HttpStatusCode statusCode, IList`1 headers, String content) in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 1121
       at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 119
    ----- Inner Stack Trace -----
       at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, ReadOnlySpan`1 input, Int32& consumed, ProtocolToken& token)
       at System.Net.Security.SslStreamPal.HandshakeInternal(SafeDeleteSslContext& context, ReadOnlySpan`1 inputBuffer, Int32& consumed, SslAuthenticationOptions sslAuthenticationOptions)
    ----- Inner Stack Trace -----
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Net.Httpblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions