`GetAsync_ServerNeedsAuthAndNoCredential_StatusCodeUnauthorized` got cancelled
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- csharp, wasm
- Domain
- testing-qa
Research direction
Start with System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_ServerNeedsAuthAndNoCredential_StatusCodeUnauthorized and the WasmTestOnChrome-MT-System.Net.Http.Functional.Tests.WorkItemExecution log. Compare the expected unauthorized response with the timeout and browser cancellation shown there. Done means the test no longer gets cancelled and the relevant validation passes.
Written by the indexing model from the issue text.
Description
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=811867
Build error leg or test failing: WasmTestOnChrome-MT-System.Net.Http.Functional.Tests.WorkItemExecution
Pull request: https://github.com/dotnet/runtime/pull/107504
log: https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-107504-merge-22effdb9e29a4d47a9/WasmTestOnChrome-ST-System.Net.Http.Functional.Tests/1/console.9bf1cbdb.log?helixlogtype=result
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "",
"ErrorPattern": [ "FAIL", "System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_ServerNeedsAuthAndNoCredential_StatusCodeUnauthorized" ],
"BuildRetry": false,
"ExcludeConsoleLog": false
}
[09:50:18] info: Starting: System.Net.Http.Functional.Tests.dll
[09:50:18] fail: [out of order message from the browser]: https://127.0.0.1:50799/Echo.ashx - Failed to load resource: net::ERR_FAILED
[09:50:18] fail: [out of order message from the browser]: https://127.0.0.1:50799/Echo.ashx - Failed to load resource: net::ERR_FAILED
[09:50:18] fail: [out of order message from the browser]: https://127.0.0.1:50799/Echo.ashx - Failed to load resource: net::ERR_FAILED
[09:50:18] fail: [out of order message from the browser]: https://127.0.0.1:50799/Echo.ashx - Failed to load resource: net::ERR_FAILED
[09:50:18] fail: [out of order message from the browser]: https://127.0.0.1:50799/Echo.ashx - Failed to load resource: net::ERR_FAILED
[09:50:18] fail: [out of order message from the browser]: https://127.0.0.1:50799/Echo.ashx - Failed to load resource: net::ERR_FAILED
[09:50:18] fail: [out of order message from the browser]: https://127.0.0.1:50799/Echo.ashx - Failed to load resource: net::ERR_FAILED
[09:50:18] fail: [out of order message from the browser]: https://127.0.0.1:50799/Echo.ashx - Failed to load resource: net::ERR_FAILED
[09:50:39] fail: [out of order message from the browser]: https://127.0.0.1:50799/StatusCode.ashx?statuscode=500&statusdescription=test&delay=100 - Failed to load resource: the server responded with a status of 500 ()
[09:50:40] fail: [out of order message from the browser]: http://127.0.0.1:58189/ - Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH
[09:50:41] fail: [out of order message from the browser]: http://127.0.0.1:53394/ - Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING
[09:50:41] fail: [out of order message from the browser]: http://127.0.0.1:55602/ - Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING
[09:52:22] info: [FAIL] System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_ServerNeedsAuthAndNoCredential_StatusCodeUnauthorized(remoteServer: (BaseUri: http://127.0.0.1:50798/, HttpVersion: 1.1))
[09:52:22] info: System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
[09:52:22] info: ---- System.TimeoutException : The operation was canceled.
[09:52:22] info: -------- System.Threading.Tasks.TaskCanceledException : The operation was canceled.
[09:52:22] info: ------------ System.Runtime.InteropServices.JavaScript.JSException : Error: OperationCanceledException
[09:52:22] info: at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
[09:52:22] info: at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
[09:52:22] info: at System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_ServerNeedsAuthAndNoCredential_StatusCodeUnauthorized(RemoteServer remoteServer)
[09:52:22] info: --- End of stack trace from previous location ---
[09:52:22] info: ----- Inner Stack Trace -----
[09:52:22] info:
[09:52:22] info: ----- Inner Stack Trace -----
[09:52:22] info: at System.Net.Http.CancellationHelper.ThrowOperationCanceledException(Exception innerException, CancellationToken cancellationToken)
[09:52:22] info: at System.Net.Http.CancellationHelper.ThrowIfCancellationRequested(Exception innerException, CancellationToken cancellationToken)
[09:52:22] info: at System.Net.Http.BrowserHttpInterop.CancellationHelper(Task promise, CancellationToken cancellationToken, JSObject jsController)
[09:52:22] info: at System.Net.Http.BrowserHttpController.CallFetch()
[09:52:22] info: at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
[09:52:22] info: ----- Inner Stack Trace -----
[09:52:22] info: at System.Net.Http.BrowserHttpInterop.CancellationHelper(Task promise, CancellationToken cancellationToken, JSObject jsController)
[09:52:22] info: at Jr.cancel (http://127.0.0.1:50798/_framework/dotnet.runtime.js:3:43272)
[09:52:22] info: at http://127.0.0.1:50798/_framework/dotnet.runtime.js:3:175008
[09:52:22] info: at http://127.0.0.1:50798/_framework/dotnet.runtime.js:3:175017
[09:52:22] info: at fr (http://127.0.0.1:50798/_framework/dotnet.runtime.js:3:35050)
[09:52:22] info: at Mc (http://127.0.0.1:50798/_framework/dotnet.runtime.js:3:174795)
[09:52:22] info: at http://127.0.0.1:50798/_framework/dotnet.native.wasm:wasm-function[289]:0x1fa8c
[09:52:22] info: at http://127.0.0.1:50798/_framework/dotnet.native.wasm:wasm-function[220]:0x1cf8a
[09:52:22] info: at http://127.0.0.1:50798/_framework/dotnet.native.wasm:wasm-function[211]:0xef62
[09:52:22] info: at http://127.0.0.1:50798/_framework/dotnet.native.wasm:wasm-function[282]:0x1f531
[09:52:22] info: at http://127.0.0.1:50798/_framework/dotnet.native.wasm:wasm-function[318]:0x206d7
[09:52:22] info: at http://127.0.0.1:50798/_framework/dotnet.native.wasm:wasm-function[190]:0xcbcb
[09:52:22] info: at http://127.0.0.1:50798/_framework/dotnet.native.wasm:wasm-function[3564]:0x113ab3
[09:52:22] info: at mono_wasm_schedule_timer_tick (http://127.0.0.1:50798/_framework/dotnet.runtime.js:3:56220)
[09:52:22] info: at callUserCallback (http://127.0.0.1:50798/_framework/dotnet.native.js:8:107026)
[09:52:22] info: at http://127.0.0.1:50798/_framework/dotnet.native.js:8:107294
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=811867
Error message validated: [FAIL System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.GetAsync_ServerNeedsAuthAndNoCredential_StatusCodeUnauthorized]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/20/2024 6:40:41 AM UTC
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/runtime
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
area-System.Reflection blocking-clean-ci-optional Known Build Error os-mac-os-x untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area-CodeGen-coreclr untriaged
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
agentic-workflows untriaged
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
area-VM-meta-mono untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
Create parent directories only after the containment check in InstallHelper.TryExtractToDirectory Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PowerShell/PSResourceGet#2056 ·