vscode-csharp: connection to server is erroring
Type: Bug
Steps to reproduce:
- Open any tModLoader project
- Hover over any part of the code
Results:
[Error - 10:00:32 PM] Client Microsoft.CodeAnalysis.LanguageServer: connection to server is erroring. Shutting down server.
[Error - 10:00:32 PM] Client Microsoft.CodeAnalysis.LanguageServer: connection to server is erroring. Shutting down server.
[Error - 10:00:32 PM] Client Microsoft.CodeAnalysis.LanguageServer: connection to server is erroring. Shutting down server.
[Error - 10:00:32 PM] Client Microsoft.CodeAnalysis.LanguageServer: connection to server is erroring. Shutting down server.
[Error - 10:00:34 PM] Stopping server timed out
[Error - 10:00:34 PM] Stopping server failed
Error: Stopping the server timed out
at /home/neoncube/.vscode/extensions/ms-dotnettools.csharp-2.0.312/dist/extension.js:2:2236900
[Error - 10:00:34 PM] Stopping server failed
Error: Stopping the server timed out
at /home/neoncube/.vscode/extensions/ms-dotnettools.csharp-2.0.312/dist/extension.js:2:2236900
[Error - 10:00:34 PM] Stopping server failed
Error: Stopping the server timed out
at /home/neoncube/.vscode/extensions/ms-dotnettools.csharp-2.0.312/dist/extension.js:2:2236900
[Error - 10:00:34 PM] Stopping server failed
Error: Stopping the server timed out
at /home/neoncube/.vscode/extensions/ms-dotnettools.csharp-2.0.312/dist/extension.js:2:2236900
Extension version: 2.0.312 VS Code version: Code 1.80.2 (2ccd690cbff1569e4a83d7c43d45101f817401dc, 2023-07-27T20:41:52.615Z) OS version: Linux x64 6.2.6-76060206-generic Modes:
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i5-6500 CPU @ 3.20GHz (4 x 3299) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off 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: disabled_software vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | 2, 2, 2 |
Memory (System) | 15.49GB (8.31GB free) |
Process Argv | –unity-launch --crash-reporter-id 2111c801-069c-42bd-b011-46e56007b987 |
Screen Reader | no |
VM | 0% |
DESKTOP_SESSION | pop |
XDG_CURRENT_DESKTOP | Unity |
XDG_SESSION_DESKTOP | pop |
XDG_SESSION_TYPE | x11 |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263cf:30792227
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30803845
282f8724:30602487
f6dab269:30613381
vscrpc:30673769
showlangstatbar:30737416
vsctsb:30748421
03d35959:30757346
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
showindicator:30785052
pythongtdpath:30769146
i26e3531:30792625
gsofb:30804716
pythonnosmt12:30797651
pythonnoceb:30797650
e537b577:30795824
dsvsc013:30795093
dsvsc014:30804076
cmakestatusbarv2:30779594
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 17 (4 by maintainers)
I meet the same problem.
I can’t fix it
I’ve been having a similar problem as @beta1scat… I have the newest version .net 7.0.306 downloaded, but perhaps it’s looking in the wrong location?
The output:
…And it repeats several times. Notably the Dotnet path
/usr/bin/snap
doesn’t match any of my paths that I’ve set up and doesn’t have a dotnet version when i navigated there and checked with? I’ve been trying to change the path by fiddling with it in settings, but nothing comes about…@Neon-Cube mentioned setting the dotnet path in the settings, may I inquire which field that is specifically?? Here are my settings now:
Now I did check that snap/root has the correct version which is why I set it so. I’m a bit of a newbie so I do apologize if I mixed up any of the paths ^_^;
@beta1scat,
As @dibarbet said,
To confirm, do you still have the
dotnetAcquisitionExtension.existingDotnetPath
in your settings pointing to/usr/share/dotnet
?