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
1150040 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #112876
1148555 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #119599
1147873 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #119702
1146219 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #119628
1145755 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #119584
1144762 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1144231 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #114969
1143909 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #119518
1139630 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution
1137905 dotnet/runtime WasmTestOnChrome-ST-System.Net.WebSockets.Client.Tests.WorkItemExecution #119294
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

Summary

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

Metadata

Metadata

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