Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HTTP3] [outerloop] Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection #95413

Closed
carlossanlop opened this issue Nov 29, 2023 · 8 comments · Fixed by #95459
Assignees
Labels
arch-arm64 arch-x64 area-System.Net.Quic blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro)
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Nov 29, 2023

Error Blob

{
  "ErrorMessage": "Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Reproduction Steps

@dotnet/ilc-contrib @dotnet/ncl PTAL

Note: This issue might be related to #73290, but as I wasn't sure, I created this one so I could mark it as a KnownBuildError so we could track the number of hits.

[FAIL] System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked
System.Net.Http.HttpRequestException : Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection.
---- System.OperationCanceledException : The operation was canceled.
   at System.Net.Http.HttpConnectionPool.ThrowGetVersionException(HttpRequestMessage, Int32, Exception) + 0x108
   at System.Net.Http.HttpConnectionPool.<TrySendUsingHttp3Async>d__87.MoveNext() + 0x1fc
--- End of stack trace from previous location ---
   at System.Net.Http.HttpConnectionPool.<SendWithVersionDetectionAndRetryAsync>d__89.MoveNext() + 0x614
--- End of stack trace from previous location ---
   at System.Net.Http.RedirectHandler.<SendAsync>d__4.MoveNext() + 0x194
--- End of stack trace from previous location ---
   at System.Net.Http.HttpClient.<<SendAsync>g__Core|83_0>d.MoveNext() + 0x400
--- End of stack trace from previous location ---
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.<>c__DisplayClass29_0.<<ConnectionAttemptCanceled_AuthorityNotBlocked>b__1>d.MoveNext() + 0x46c
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) + 0x2c
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.<WhenAllOrAnyFailed>d__10.MoveNext() + 0x2c0
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.<WhenAllOrAnyFailed>d__8.MoveNext() + 0xe8
--- End of stack trace from previous location ---
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.<ConnectionAttemptCanceled_AuthorityNotBlocked>d__29.MoveNext() + 0x1a8
--- End of stack trace from previous location ---
--- End of stack trace from previous location ---
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at System.Net.Quic.ValueTaskSource.TryComplete(Exception) + 0x8c
   at System.Net.Quic.ValueTaskSource.<>c.<TryInitialize>b__10_0(Object obj, CancellationToken cancellationToken) + 0x7c
   at System.Threading.CancellationTokenSource.Invoke(Delegate, Object, CancellationTokenSource) + 0x94
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean) + 0x15c
   at System.Threading.CancellationTokenSource.Invoke(Delegate, Object, CancellationTokenSource) + 0x44
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean) + 0x15c
   at System.Threading.CancellationTokenSource.Invoke(Delegate, Object, CancellationTokenSource) + 0x44
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean) + 0x15c
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.<>c__DisplayClass29_1.<ConnectionAttemptCanceled_AuthorityNotBlocked>b__3(Object _, X509Certificate _, X509Chain _, SslPolicyErrors _) + 0x30
   at System.Net.Quic.QuicConnection.SslConnectionOptions.ValidateCertificate(QUIC_BUFFER*, QUIC_BUFFER*, X509Certificate2&) + 0x1bc
   at System.Net.Quic.QuicConnection.HandleEventPeerCertificateReceived(QUIC_CONNECTION_EVENT._Anonymous_e__Union._PEER_CERTIFICATE_RECEIVED_e__Struct&) + 0x2c
   at System.Net.Quic.QuicConnection.HandleConnectionEvent(QUIC_CONNECTION_EVENT&) + 0x94
   at System.Net.Quic.QuicConnection.NativeCallback(QUIC_HANDLE*, Void*, QUIC_CONNECTION_EVENT*) + 0x1a4
--- End of stack trace from previous location ---
   at System.Net.Quic.ValueTaskSource.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16) + 0x18
   at System.Net.Quic.QuicConnection.<FinishConnectAsync>d__34.MoveNext() + 0x60c
--- End of stack trace from previous location ---
   at System.Net.Quic.QuicConnection.<<ConnectAsync>g__StartConnectAsync|2_0>d.MoveNext() + 0x168
--- End of stack trace from previous location ---
   at System.Net.Quic.QuicConnection.<<ConnectAsync>g__StartConnectAsync|2_0>d.MoveNext() + 0x480
--- End of stack trace from previous location ---
   at System.Net.Http.ConnectHelper.<ConnectQuicAsync>d__3.MoveNext() + 0x1c4
--- End of stack trace from previous location ---
   at System.Net.Http.HttpConnectionPool.<GetHttp3ConnectionAsync>d__86.MoveNext() + 0x8ec
--- End of stack trace from previous location ---
   at System.Net.Http.HttpConnectionPool.<TrySendUsingHttp3Async>d__87.MoveNext() + 0x314
--- End of stack trace from previous location ---
   at System.Net.Http.HttpConnectionPool.<SendWithVersionDetectionAndRetryAsync>d__89.MoveNext() + 0x614
--- End of stack trace from previous location ---
   at System.Net.Http.RedirectHandler.<SendAsync>d__4.MoveNext() + 0x194
--- End of stack trace from previous location ---
   at System.Net.Http.HttpClient.<<SendAsync>g__Core|83_0>d.MoveNext() + 0x140

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=483727
Error message validated: Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/29/2023 5:31:56 PM UTC

Report

Build Definition Test Pull Request
484823 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95370
484795 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95411
484712 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #93220
484684 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked
484685 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked
484659 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95404
484656 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked
484569 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #94737
484361 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #91229
484362 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #91229
484357 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95426
484278 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95303
484240 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95404
484154 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked
484167 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95426
484155 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked
484159 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95384
484147 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95425
484062 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked
484007 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #94684
483997 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95384
483950 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #94169
483889 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95416
483861 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95411
483851 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95324
483844 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95412
483803 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #94353
483786 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95408
483780 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95402
483770 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95260
483727 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #94868
483751 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95405
483743 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95404
483661 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95398
483626 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95396
483591 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95274
483531 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #93220

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
36 37 37
@carlossanlop carlossanlop added arch-arm64 os-linux Linux OS (any supported distro) arch-x64 blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-NativeAOT-coreclr Known Build Error Use this to report build issues in the .NET Helix tab labels Nov 29, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Nov 29, 2023
@ghost
Copy link

ghost commented Nov 29, 2023

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

Error Blob

{
  "ErrorMessage": "Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Reproduction Steps

@dotnet/ilc-contrib @dotnet/ncl PTAL

Note: This issue might be related to #73290, but as I wasn't sure, I created this one so I could mark it as a KnownBuildError so we could track the number of hits.

[FAIL] System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked
System.Net.Http.HttpRequestException : Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection.
---- System.OperationCanceledException : The operation was canceled.
   at System.Net.Http.HttpConnectionPool.ThrowGetVersionException(HttpRequestMessage, Int32, Exception) + 0x108
   at System.Net.Http.HttpConnectionPool.<TrySendUsingHttp3Async>d__87.MoveNext() + 0x1fc
--- End of stack trace from previous location ---
   at System.Net.Http.HttpConnectionPool.<SendWithVersionDetectionAndRetryAsync>d__89.MoveNext() + 0x614
--- End of stack trace from previous location ---
   at System.Net.Http.RedirectHandler.<SendAsync>d__4.MoveNext() + 0x194
--- End of stack trace from previous location ---
   at System.Net.Http.HttpClient.<<SendAsync>g__Core|83_0>d.MoveNext() + 0x400
--- End of stack trace from previous location ---
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.<>c__DisplayClass29_0.<<ConnectionAttemptCanceled_AuthorityNotBlocked>b__1>d.MoveNext() + 0x46c
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) + 0x2c
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.<WhenAllOrAnyFailed>d__10.MoveNext() + 0x2c0
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.<WhenAllOrAnyFailed>d__8.MoveNext() + 0xe8
--- End of stack trace from previous location ---
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.<ConnectionAttemptCanceled_AuthorityNotBlocked>d__29.MoveNext() + 0x1a8
--- End of stack trace from previous location ---
--- End of stack trace from previous location ---
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at System.Net.Quic.ValueTaskSource.TryComplete(Exception) + 0x8c
   at System.Net.Quic.ValueTaskSource.<>c.<TryInitialize>b__10_0(Object obj, CancellationToken cancellationToken) + 0x7c
   at System.Threading.CancellationTokenSource.Invoke(Delegate, Object, CancellationTokenSource) + 0x94
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean) + 0x15c
   at System.Threading.CancellationTokenSource.Invoke(Delegate, Object, CancellationTokenSource) + 0x44
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean) + 0x15c
   at System.Threading.CancellationTokenSource.Invoke(Delegate, Object, CancellationTokenSource) + 0x44
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean) + 0x15c
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.<>c__DisplayClass29_1.<ConnectionAttemptCanceled_AuthorityNotBlocked>b__3(Object _, X509Certificate _, X509Chain _, SslPolicyErrors _) + 0x30
   at System.Net.Quic.QuicConnection.SslConnectionOptions.ValidateCertificate(QUIC_BUFFER*, QUIC_BUFFER*, X509Certificate2&) + 0x1bc
   at System.Net.Quic.QuicConnection.HandleEventPeerCertificateReceived(QUIC_CONNECTION_EVENT._Anonymous_e__Union._PEER_CERTIFICATE_RECEIVED_e__Struct&) + 0x2c
   at System.Net.Quic.QuicConnection.HandleConnectionEvent(QUIC_CONNECTION_EVENT&) + 0x94
   at System.Net.Quic.QuicConnection.NativeCallback(QUIC_HANDLE*, Void*, QUIC_CONNECTION_EVENT*) + 0x1a4
--- End of stack trace from previous location ---
   at System.Net.Quic.ValueTaskSource.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16) + 0x18
   at System.Net.Quic.QuicConnection.<FinishConnectAsync>d__34.MoveNext() + 0x60c
--- End of stack trace from previous location ---
   at System.Net.Quic.QuicConnection.<<ConnectAsync>g__StartConnectAsync|2_0>d.MoveNext() + 0x168
--- End of stack trace from previous location ---
   at System.Net.Quic.QuicConnection.<<ConnectAsync>g__StartConnectAsync|2_0>d.MoveNext() + 0x480
--- End of stack trace from previous location ---
   at System.Net.Http.ConnectHelper.<ConnectQuicAsync>d__3.MoveNext() + 0x1c4
--- End of stack trace from previous location ---
   at System.Net.Http.HttpConnectionPool.<GetHttp3ConnectionAsync>d__86.MoveNext() + 0x8ec
--- End of stack trace from previous location ---
   at System.Net.Http.HttpConnectionPool.<TrySendUsingHttp3Async>d__87.MoveNext() + 0x314
--- End of stack trace from previous location ---
   at System.Net.Http.HttpConnectionPool.<SendWithVersionDetectionAndRetryAsync>d__89.MoveNext() + 0x614
--- End of stack trace from previous location ---
   at System.Net.Http.RedirectHandler.<SendAsync>d__4.MoveNext() + 0x194
--- End of stack trace from previous location ---
   at System.Net.Http.HttpClient.<<SendAsync>g__Core|83_0>d.MoveNext() + 0x140
Author: carlossanlop
Assignees: -
Labels:

arch-arm64, os-linux, arch-x64, blocking-clean-ci, area-NativeAOT-coreclr, Known Build Error

Milestone: -

@carlossanlop carlossanlop changed the title [NativeAOT] [HTTP3] Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection [NativeAOT] [HTTP3] [outerloop] Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection Nov 29, 2023
@jkotas
Copy link
Member

jkotas commented Nov 29, 2023

@wfurt Do we need to disable this test when Quic is not available?

@ManickaP
Copy link
Member

This test has gotten as far as cert validation, so seems like MsQuic is present and it's not #73290.
More digging shows that this might have been broken by #94211 @rzikm. The failures seem relevant.

@ManickaP
Copy link
Member

I see, because now the OCE has wrong token (the linked one, not the user provided):

await connection.FinishConnectAsync(options, linkedCts.Token).ConfigureAwait(false);

We then check it in blocked alt-svc:
if (ex is not OperationCanceledException oce || !cancellationToken.IsCancellationRequested || oce.CancellationToken != cancellationToken)
{
// Disables HTTP/3 until server announces it can handle it via Alt-Svc.
BlocklistAuthority(authority, ex);
}

@ghost
Copy link

ghost commented Nov 29, 2023

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

Issue Details

Error Blob

{
  "ErrorMessage": "Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Reproduction Steps

@dotnet/ilc-contrib @dotnet/ncl PTAL

Note: This issue might be related to #73290, but as I wasn't sure, I created this one so I could mark it as a KnownBuildError so we could track the number of hits.

[FAIL] System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked
System.Net.Http.HttpRequestException : Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection.
---- System.OperationCanceledException : The operation was canceled.
   at System.Net.Http.HttpConnectionPool.ThrowGetVersionException(HttpRequestMessage, Int32, Exception) + 0x108
   at System.Net.Http.HttpConnectionPool.<TrySendUsingHttp3Async>d__87.MoveNext() + 0x1fc
--- End of stack trace from previous location ---
   at System.Net.Http.HttpConnectionPool.<SendWithVersionDetectionAndRetryAsync>d__89.MoveNext() + 0x614
--- End of stack trace from previous location ---
   at System.Net.Http.RedirectHandler.<SendAsync>d__4.MoveNext() + 0x194
--- End of stack trace from previous location ---
   at System.Net.Http.HttpClient.<<SendAsync>g__Core|83_0>d.MoveNext() + 0x400
--- End of stack trace from previous location ---
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.<>c__DisplayClass29_0.<<ConnectionAttemptCanceled_AuthorityNotBlocked>b__1>d.MoveNext() + 0x46c
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) + 0x2c
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.<WhenAllOrAnyFailed>d__10.MoveNext() + 0x2c0
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.<WhenAllOrAnyFailed>d__8.MoveNext() + 0xe8
--- End of stack trace from previous location ---
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.<ConnectionAttemptCanceled_AuthorityNotBlocked>d__29.MoveNext() + 0x1a8
--- End of stack trace from previous location ---
--- End of stack trace from previous location ---
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at System.Net.Quic.ValueTaskSource.TryComplete(Exception) + 0x8c
   at System.Net.Quic.ValueTaskSource.<>c.<TryInitialize>b__10_0(Object obj, CancellationToken cancellationToken) + 0x7c
   at System.Threading.CancellationTokenSource.Invoke(Delegate, Object, CancellationTokenSource) + 0x94
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean) + 0x15c
   at System.Threading.CancellationTokenSource.Invoke(Delegate, Object, CancellationTokenSource) + 0x44
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean) + 0x15c
   at System.Threading.CancellationTokenSource.Invoke(Delegate, Object, CancellationTokenSource) + 0x44
   at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean) + 0x15c
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.<>c__DisplayClass29_1.<ConnectionAttemptCanceled_AuthorityNotBlocked>b__3(Object _, X509Certificate _, X509Chain _, SslPolicyErrors _) + 0x30
   at System.Net.Quic.QuicConnection.SslConnectionOptions.ValidateCertificate(QUIC_BUFFER*, QUIC_BUFFER*, X509Certificate2&) + 0x1bc
   at System.Net.Quic.QuicConnection.HandleEventPeerCertificateReceived(QUIC_CONNECTION_EVENT._Anonymous_e__Union._PEER_CERTIFICATE_RECEIVED_e__Struct&) + 0x2c
   at System.Net.Quic.QuicConnection.HandleConnectionEvent(QUIC_CONNECTION_EVENT&) + 0x94
   at System.Net.Quic.QuicConnection.NativeCallback(QUIC_HANDLE*, Void*, QUIC_CONNECTION_EVENT*) + 0x1a4
--- End of stack trace from previous location ---
   at System.Net.Quic.ValueTaskSource.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16) + 0x18
   at System.Net.Quic.QuicConnection.<FinishConnectAsync>d__34.MoveNext() + 0x60c
--- End of stack trace from previous location ---
   at System.Net.Quic.QuicConnection.<<ConnectAsync>g__StartConnectAsync|2_0>d.MoveNext() + 0x168
--- End of stack trace from previous location ---
   at System.Net.Quic.QuicConnection.<<ConnectAsync>g__StartConnectAsync|2_0>d.MoveNext() + 0x480
--- End of stack trace from previous location ---
   at System.Net.Http.ConnectHelper.<ConnectQuicAsync>d__3.MoveNext() + 0x1c4
--- End of stack trace from previous location ---
   at System.Net.Http.HttpConnectionPool.<GetHttp3ConnectionAsync>d__86.MoveNext() + 0x8ec
--- End of stack trace from previous location ---
   at System.Net.Http.HttpConnectionPool.<TrySendUsingHttp3Async>d__87.MoveNext() + 0x314
--- End of stack trace from previous location ---
   at System.Net.Http.HttpConnectionPool.<SendWithVersionDetectionAndRetryAsync>d__89.MoveNext() + 0x614
--- End of stack trace from previous location ---
   at System.Net.Http.RedirectHandler.<SendAsync>d__4.MoveNext() + 0x194
--- End of stack trace from previous location ---
   at System.Net.Http.HttpClient.<<SendAsync>g__Core|83_0>d.MoveNext() + 0x140

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=483727
Error message validated: Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/29/2023 5:31:56 PM UTC

Report

Build Definition Test Pull Request
483770 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95260
483727 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #94868
483751 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95405
483743 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95404
483661 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95398
483626 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95396
483591 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #95274
483531 dotnet/runtime System.Net.Http.Functional.Tests.HttpClientHandlerTest_Http3.ConnectionAttemptCanceled_AuthorityNotBlocked #93220

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
8 8 8
Author: carlossanlop
Assignees: -
Labels:

arch-arm64, os-linux, arch-x64, blocking-clean-ci, untriaged, area-System.Net.Quic, area-NativeAOT-coreclr, Known Build Error

Milestone: -

@jkotas jkotas changed the title [NativeAOT] [HTTP3] [outerloop] Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection [HTTP3] [outerloop] Requesting HTTP version 3.0 with version policy RequestVersionExact while unable to establish HTTP/3 connection Nov 29, 2023
@wfurt wfurt removed the untriaged New issue has not been triaged by the area owner label Nov 29, 2023
@wfurt wfurt added this to the 9.0.0 milestone Nov 29, 2023
@wfurt
Copy link
Member

wfurt commented Nov 29, 2023

There should not be reason why this impacts only AOT, right @ManickaP?
There is also #88832 @rzikm disabled recently.

@ManickaP
Copy link
Member

ManickaP commented Nov 29, 2023

It doesn't impact only AOT, e.g.:https://dev.azure.com/dnceng-public/public/_build/results?buildId=480926&view=ms.vss-test-web.build-test-results-tab
The other issue you linked is unrelated, as Radek's change was in Quic.

@rzikm rzikm self-assigned this Nov 30, 2023
@rzikm
Copy link
Member

rzikm commented Nov 30, 2023

Weird enough, I can't reproduce the failure locally. I will have to dig a bit deeper.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Nov 30, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Nov 30, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 arch-x64 area-System.Net.Quic blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro)
Projects
None yet
5 participants