Skip to content

System.Net.Quic.QuicException : Connection handshake was canceled due to the configured timeout #133645

Open

Description

@jkotas
      System.Net.Quic.QuicException : Connection handshake was canceled due to the configured timeout of 00:00:10 seconds elapsing.
      Stack Trace:
        /_/src/libraries/System.Net.Quic/src/System/Net/Quic/QuicConnection.cs(96,0): at System.Net.Quic.QuicConnection.<ConnectAsync>g__StartConnectAsync|2_0(QuicClientConnectionOptions options, CancellationToken cancellationToken)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(222,0): at System.Net.Quic.Tests.QuicTestBase.CreateConnectedQuicConnection(QuicClientConnectionOptions clientOptions, QuicListener listener)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(257,0): at System.Net.Quic.Tests.QuicTestBase.CreateConnectedQuicConnection(QuicClientConnectionOptions clientOptions, QuicListener listener)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(191,0): at System.Net.Quic.Tests.QuicTestBase.CreateConnectedQuicConnection(QuicClientConnectionOptions clientOptions, QuicListenerOptions listenerOptions)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(191,0): at System.Net.Quic.Tests.QuicTestBase.CreateConnectedQuicConnection(QuicClientConnectionOptions clientOptions, QuicListenerOptions listenerOptions)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicTests.cs(604,0): at System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError(String ipString, Boolean expectsError)

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1591361
Build error leg or test failing: System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
Pull request: #133598

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": "System.Net.Quic.QuicException : Connection handshake was canceled due to the configured timeout",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1591361
Error message validated: [System.Net.Quic.QuicException : Connection handshake was canceled due to the configured timeout]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/10/2026 10:36:11 PM UTC

Report

Build Repository Test Pull Request
1642275 dotnet/runtime System.Net.Quic.Tests.MsQuicCipherSuitesPolicyTests.NoSupportedCiphers_ThrowsArgumentException #136159
1641832 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithClientCertificate #136140
1639821 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithClientCertificate #135830
1637793 dotnet/runtime System.Net.Quic.Tests.QuicStreamTests.Abort_InvalidCode_Throws #135520
1635689 dotnet/runtime System.Net.Quic.Tests.MsQuicCipherSuitesPolicyTests.SupportedCipher_Success #135778
1635166 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateChain #135765
1634136 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithClientCertificate #135066
1632836 dotnet/runtime System.Net.Quic.Tests.MsQuicCipherSuitesPolicyTests.SupportedCipher_Success #135443
1632420 dotnet/runtime System.Net.Quic.Tests.QuicStreamConformanceTests.Read_Eof_Returns0 #135250
1631451 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForDifferentName_Throws
1626838 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithClientCertificate #135326
1626192 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.DoesNotSendIPAsSni #135334
1626070 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1626000 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1625782 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #135320
1625482 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #133570
1625290 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134167
1624585 dotnet/runtime System.Net.Quic.Tests.MsQuicCipherSuitesPolicyTests.SupportedCipher_Success
1624439 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #135160
1624175 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #132727
1624112 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #135248
1623976 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #130935
1623805 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #135132
1622909 dotnet/runtime System.Net.Quic.Tests.QuicStreamConformanceTests.ReadWrite_Success #135177
1622519 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1622504 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1622215 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #135156
1622122 dotnet/runtime System.Net.Quic.Tests.MsQuicCipherSuitesPolicyTests.SupportedCipher_Success
1621887 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #133830
1621840 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #133115
1621789 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #135134
1621772 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134384
1621199 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #135100
1620944 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #135087
1620806 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1620515 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134982
1620135 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1619885 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134962
1619871 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #133570
1619846 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #135029
1619513 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134869
1619426 dotnet/runtime System.Net.Quic.Tests.MsQuicCipherSuitesPolicyTests.SupportedCipher_Success #134971
1619283 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #132788
1619260 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1619247 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134993
1618574 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134966
1618519 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134881
1618023 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134356
1617761 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134923
1617618 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134918
1617131 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134883
1617071 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134769
1616588 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134857
1616334 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #133647
1616110 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134527
1616033 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134838
1615998 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134848
1615989 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #133174
1615850 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1615842 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithClientCertificate #134642
1615802 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1615744 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134676
1615633 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134835
1615574 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134769
1615317 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134687
1615259 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134767
1614301 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134767
1614051 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134738
1613950 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134750
1613470 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134699
1613434 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134717
1613253 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1612676 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #132425
1612435 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1612157 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134648
1612030 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134355
1611791 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134634
1611769 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134025
1611647 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134629
1611513 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134624
1611188 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #133696
1611095 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1610917 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134354
1610916 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1610560 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #131265
1610451 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #130407
1610405 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134502
1610318 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134497
1610268 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1610100 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #133384
1609856 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #133658
1609857 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #133659
1609085 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134522
1608985 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134514
1608681 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134506
1608391 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError
1608128 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #132425
1607784 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134153
1607706 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithServerCertificateCallback
1607527 dotnet/runtime System.Net.Quic.Tests.MsQuicTests.ConnectWithCertificateForLoopbackIP_IndicatesExpectedError #134284
Displaying 100 of 103 results

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
2 6 103

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 10, 2026
  2. dotnet-policy-service commented on Sep 10, 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 Sep 11, 2026
  4. added this to the Future milestone on Sep 11, 2026
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.Quicblocking-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