vscode-csharp: Timeout. Named pipe information not received from server

Type: Bug

got this error in my output

Using dotnet configured on PATH Dotnet path: C:\Program Files\dotnet\dotnet.exe Activating C# + C# Dev Kit + C# IntelliCode… waiting for named pipe information from server… [Error - 12:10:20 PM] Microsoft.CodeAnalysis.LanguageServer client: couldn’t create connection to server. Error: Timeout. Named pipe information not received from server. at q.<anonymous> (c:\Users\Dan.vscode\extensions\ms-dotnettools.csharp-2.15.30-win32-x64\dist\extension.js:2:1290803) at Generator.next (<anonymous>) at s (c:\Users\Dan.vscode\extensions\ms-dotnettools.csharp-2.15.30-win32-x64\dist\extension.js:2:1280740) [stdout] {“pipeName”:“\\.\pipe\4568f666”} received named pipe information from server

Extension version: 2.15.30 VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z) OS version: Windows_NT x64 10.0.19045 Modes:

System Info
Item Value
CPUs Intel® Core™ i7-7500U CPU @ 2.70GHz (4 x 2904)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 7.90GB (2.00GB free)
Process Argv –crash-reporter-id 08eefc6f-246f-433b-9dd6-668bc473749e
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30951796
f8hc8238:30694864
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
accentitlementst:30887150
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
dsvsc019bcf:30953938
7j2b6412:30949929

About this issue

  • Original URL
  • State: open
  • Created 5 months ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

Similar to https://github.com/dotnet/vscode-csharp/issues/6865 and https://github.com/dotnet/vscode-csharp/issues/6870

Interesting issue - we seem to be getting the pipe name back, but we aren’t able to connect to it. We haven’t modified this code in a while either.

To anyone hitting this please

  1. Update dotnet.server.startTimeout to something longer (for example 60000)
  2. Set the dotnet.server.trace configuration in vscode settings to Trace
  3. Reload the window
  4. If it still times out, please attach the logs with the new log level here.
  5. Check if the the language server process is running after it times out (e.g. ps -ef | grep 'Microsoft.CodeAnalysis.LanguageServer.exe')
  6. Check if reverting to an older version of the extension fixes

Thanks!