Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

JSON RPC from the stream failed with IOException error when running Aspire app

Abierto
#9,889 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
18/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
csharp, typescript
Área
tooling

Línea de trabajo

The payload names no source file. Start by reading the attached CSharplog.txt and the JsonRpc stack trace, which points to StreamJsonRpc reading from the debugger transport. Reproduce by running an Aspire app under the C# extension with a breakpoint set. Done means the IOException and the unbound breakpoint are explained, or a fix is shown to stop them.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

C#DK Debugger untriaged
Description

Issue Description

When trying to run an Aspire app, errors are thrown in the debug console. This was fixed in a previous version of the C# extension.


JsonRpc Critical: 13 : Connection closing (StreamError: Reading JSON RPC from the stream failed with IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..). System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
 ---> System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
   --- End of inner exception stack trace ---
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.IO.Pipelines.StreamPipeReader.<ReadInternalAsync>g__Core|39_0(StreamPipeReader reader, Nullable`1 minimumSize, CancellationTokenSource tokenSource, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at StreamJsonRpc.HeaderDelimitedMessageHandler.ReadHeadersAsync(CancellationToken cancellationToken)
   at StreamJsonRpc.HeaderDelimitedMessageHandler.ReadCoreAsync(CancellationToken cancellationToken)
   at StreamJsonRpc.MessageHandlerBase.ReadAsync(CancellationToken cancellationToken)
   at StreamJsonRpc.JsonRpc.ReadAndHandleRequestsAsync()

Also, I set a debug breakpoint - all that shows is a red outlined circle:

Steps to Reproduce

Load an Aspire app. Run it.

Expected Behavior

No Errors and can set debug breakpoints.

Actual Behavior

Errors and cannot debug.

Issue Details
Item Value
Issue Category Bug
Target C#
VS Code Version Code 1.142.0 (6d62b1d5dace93a33b3a6d3eca1317bd5e15bcb1, 2026-10-15T03:02:17Z)
OS Version Windows_NT x64 10.0.26300
Extension Identifier ms-dotnettools.csharp
Extension Version 11.3.18
Extension Publisher ms-dotnettools
Extension Data
Logs
C# log

CSharplog.txt

C# LSP Trace Logs log

Environment Information

VSCode version: 1.142.0
C# Extension: 11.3.18
Using OmniSharp: false

Dotnet Information .NET SDK: Version: 11.0.100-rc.2.26504.105 Commit: 820230c386 Workload version: 11.0.100-manifests.939e2b91 MSBuild version: 18.12.0-1.26504.105+820230c38

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26300
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\11.0.100-rc.2.26504.105

.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
Version: 11.0.0-rc.2.26504.105
Architecture: x64
Commit: 820230c386

.NET SDKs installed:
7.0.410 [C:\Program Files\dotnet\sdk]
8.0.426 [C:\Program Files\dotnet\sdk]
10.0.113 [C:\Program Files\dotnet\sdk]
10.0.303 [C:\Program Files\dotnet\sdk]
11.0.100-rc.2.26504.105 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 11.0.0-rc.2.26504.105 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.21 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 11.0.0-rc.2.26504.105 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.21 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 11.0.0-rc.2.26504.105 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions
Extension Author Version Folder Name
aspire-vscode microsoft-aspire 1.24.0 microsoft-aspire.aspire-vscode-1.24.0
azure-repos ms-vscode 0.40.0 ms-vscode.azure-repos-0.40.0
base64 m4ns0ur 1.0.0 m4ns0ur.base64-1.0.0
csdevkit ms-dotnettools 11.5.46 ms-dotnettools.csdevkit-11.5.46-win32-x64
csharp ms-dotnettools 11.3.18 ms-dotnettools.csharp-11.3.18-win32-x64
hexeditor ms-vscode 1.11.1 ms-vscode.hexeditor-1.11.1
hl7tools RobHolme 2.0.8 robholme.hl7tools-2.0.8
material-icon-theme PKief 5.39.0 pkief.material-icon-theme-5.39.0
native-preview TypeScriptTeam 1.0.1 typescriptteam.native-preview-1.0.1-win32-x64
night-owl sdras 2.1.1 sdras.night-owl-2.1.1
pink-ink davidpine-dev 0.0.4 davidpine-dev.pink-ink-0.0.4
quicktype quicktype 23.0.170 quicktype.quicktype-23.0.170
remote-repositories ms-vscode 0.42.0 ms-vscode.remote-repositories-0.42.0
rest-client humao 0.25.1 humao.rest-client-0.25.1
TabOut albert 0.2.4 albert.tabout-0.2.4
vscode-azureappservice ms-azuretools 0.27.0 ms-azuretools.vscode-azureappservice-0.27.0
vscode-azurefunctions ms-azuretools 1.22.2 ms-azuretools.vscode-azurefunctions-1.22.2
vscode-azureresourcegroups ms-azuretools 0.13.2 ms-azuretools.vscode-azureresourcegroups-0.13.2
vscode-dotnet-runtime ms-dotnettools 3.2.0 ms-dotnettools.vscode-dotnet-runtime-3.2.0
vscode-icons vscode-icons-team 13.0.0 vscode-icons-team.vscode-icons-13.0.0
xml DotJoshJohnson 2.5.1 dotjoshjohnson.xml-2.5.1
C# Settings
Setting Value
preferCSharpExtension false
compilerDiagnosticScope openFiles
analyzerDiagnosticScope openFiles
enableXamlTools true
useServerGC true
System Info
Item Value
VS Code Version Code 1.142.0 (6d62b1d5dace93a33b3a6d3eca1317bd5e15bcb1, 2026-10-15T03:02:17Z)
OS Version Windows_NT x64 10.0.26300
CPUs Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz (6 x 3000)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x3e92 [Intel(R) UHD Graphics 630], DRIVER_VENDOR=Intel, DRIVER_VERSION=30.0.101.1339 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9711
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg)
Memory (System) 31.78GB (11.57GB free)
Process Argv --crash-reporter-id a079dcaa-039a-4dfb-8683-7ec01accca06
Screen Reader no
VM 0%
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.142.0 Chrome/150.0.7871.250 Electron/43.7.7 Safari/537.36
Installation pure true
A/B Experiments
vsliv368cf:30146710
vswsl492cf:30256860
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
gh487529:31544284
cloudbuttont:31379625
3efgi100_wstrepl:31403338
55ia6109:31457054
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
cp_cls_t_1081:31454832
conptydll_true:31498968
e9c30283:31461165
46204921:31447328
control_6dc23131:31590236
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
2d1bi976:31596492
i2gc6536:31499202
52612955:31516516
ddid_c:31478207
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
b5d32f0b:31595862
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
jh5f2457_c:31540921
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
7g2b5551:31542111
nes-ex-cf-euporie-03:31542868
enable_editor_pane_layout:31569726
allow-none:31555437
ac562147:31564510
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
0c1h4866:31566224
session-mark-done:31591648
a3a5c856:31594158
multi-root:31593626
5b8j3302:31564601
autotiers:31584978
mangle-name-treatment:31572634
atk_rai_validation_enable:31598258
allow-signed-out:31592042
b17abb00-cfec-4134-90da-ee5e32ce4426:31589248
intellij_nes_preview_t:31580086
39a5d156:31574986
links-treatment:31596176
aw-autom-on:31583758
issue9151-8b8b39eb:31597539
revealsession_treatment_7ed7e840:31597558
usage_tips_endabled_0911:31587631
7g328426_fixed:31595622
codex-agent-host-stable-editor:31599810
9b7i0944:31600022
skill-budget-30000:31597277
sessioninlinediffenabled_disabled:31587634
intellij_copilot_command_preview_c:31598260
welcomesignin9359t:31590011
e6882f69-f5cc-4f90-9073-69a4ca3e50ea:31589215
ca19f5eb-b04f-4f52-8e6b-9f6927d4e0dc:31589210
ee75ae2a-d344-4855-a1a7-ebec120dec2d:31599374
5a177259:31599157
i67i8290:31599156
edbgf432:31599155
msft-auth-on:31593345
variation6-agent-feedback:31600295
permission_prompt_control:1332567
ccr_pr_nudge_control:1319470
vsc_wsm_t:1340632
cfee5631:1379228
4cj51803:1433348
5i7gb129:1453754
cmc_aa_c:1435710
t_ws_f7ce1948:1455090
h56ae855:1456854
seataa-998bffad:1447867
Lenguaje dominante
TypeScript
Estrellas
3.1k
Forks
741
Merge medio
23 h 58 min
PR fusionados (30 d)
49

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de dotnet/vscode-csharp

Todos los issues de dotnet/vscode-csharp

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.