Skip to content

[wasm] System.Net.WebSockets.Client.Tests.InvokerCloseTest.CloseOutputAsync_ClientInitiated_CanReceive_CanClose failing with WebSocketException #117964

@elinor-fung

Description

@elinor-fung

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1102265
Build error leg or test failing: System.Net.WebSockets.Client.Tests.InvokerCloseTest.CloseOutputAsync_ClientInitiated_CanReceive_CanClose
Pull request: #117797

[19:19:09] info: [FAIL] System.Net.WebSockets.Client.Tests.InvokerCloseTest.CloseOutputAsync_ClientInitiated_CanReceive_CanClose(server: wss://127.0.0.1:49187/WebSocket/EchoWebSocket.ashx)
[19:19:09] info: System.Net.WebSockets.WebSocketException : CloseOutputAsync_Client_InvalidPayloadData
[19:19:09] info:    at System.Net.WebSockets.BrowserWebSocket.ConvertResponse()
[19:19:09] info:    at System.Net.WebSockets.BrowserWebSocket.ReceiveAsyncCore(ArraySegment`1 buffer, CancellationToken cancellationToken)
[19:19:09] info:    at System.Net.WebSockets.Client.Tests.CloseTest.CloseOutputAsync_ClientInitiated_CanReceive_CanClose(Uri server)
[19:19:09] info: --- End of stack trace from previous location ---

Error Message

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

{
  "ErrorMessage": ["CloseOutputAsync_ClientInitiated_CanReceive_CanClose", "CloseOutputAsync_Client_InvalidPayloadData"],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1102265
Error message validated: [CloseOutputAsync_ClientInitiated_CanReceive_CanClose CloseOutputAsync_Client_InvalidPayloadData]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/23/2025 2:54:02 AM UTC

Report

Build Definition Test Pull Request
1135493 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #118932
1134226 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117436
1131564 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #119069
1129101 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1125719 dotnet/runtime System.Net.WebSockets.Client.Tests.CloseTest_SharedHandler_External.CloseOutputAsync_ClientInitiated_CanReceive_CanClose #117473
1125640 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #118859
1125463 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #118845
1122832 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #118708
1122644 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #118715
1121065 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #118660
1119841 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #118615
1118617 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1116767 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #117821
1115209 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1114522 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #118123
1113971 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1113079 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #118037
1112109 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #118302
1110943 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #118249

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 3 19

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarch-wasmWebAssembly architecturearea-System.Netblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions