vscode-csharp: Razor pages server crashing in vscode
when i open vscode Razor pages i get this error The Razor Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. `-------------------------------------------------------------------------------- Razor.VSCode version 6.0.0-preview.5.21358.6
Razor’s trace level is currently set to ‘Off’
- To change Razor’s trace level set ‘razor.trace’ to ‘Off’, ‘Messages’ or ‘Verbose’ and then restart VSCode.
- To report issues invoke the ‘Report a Razor issue’ command via the command palette.
Cannot get required symbol EVP_MD_size from libssl [Info - 2:39:23 AM] Connection to server got closed. Server will restart. [Error - 2:39:23 AM] Request textDocument/codeAction failed. Error: Connection got disposed. at Object.dispose (/home/muchirajunior/.vscode/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/dist/extension.js:2:994214) at Object.dispose (/home/muchirajunior/.vscode/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/dist/extension.js:2:1050936) at x.handleConnectionClosed (/home/muchirajunior/.vscode/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/dist/extension.js:2:1051111) at x.handleConnectionClosed (/home/muchirajunior/.vscode/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/dist/extension.js:2:1070276) at t (/home/muchirajunior/.vscode/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/dist/extension.js:2:1049310) at n.invoke (/home/muchirajunior/.vscode/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/dist/extension.js:2:979052) at r.fire (/home/muchirajunior/.vscode/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/dist/extension.js:2:979782) at $ (/home/muchirajunior/.vscode/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/dist/extension.js:2:986274) at n.invoke (/home/muchirajunior/.vscode/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/dist/extension.js:2:979052) at r.fire (/home/muchirajunior/.vscode/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/dist/extension.js:2:979782) at t.StreamMessageWriter.fireClose (/home/muchirajunior/.vscode/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/dist/extension.js:2:999879) at Socket.<anonymous> (/home/muchirajunior/.vscode/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/dist/extension.js:2:1000249) at Socket.emit (node:events:390:28) at Pipe.<anonymous> (node:net:687:12)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 9
- Comments: 18 (1 by maintainers)
The VSCode team claims its a C++ issue, couldn’t figure out how. here
https://github.com/dotnet/razor/issues/6241
This workaround likely works because you have OpenSSL 1.1 installed alongside OpenSSL 3. Most Linux distros have removed nearly old traces of 1.1, including the compat libraries, so that’s not going to work in this case.
I have compiled 1.1 on Fedora 26 for a Ruby install but I don’t know what environment variable this would look to for that path. Any ideas for that?
Based on what else I’ve read about this issue, the Razor Language Server packaged with the extension needs to be upgraded. It might do to point people to where they can get a newer version of it and point out the extension setting for its path. As it is, I’m still searching.
Probably the workaround I found solves a different, but related, issue. Too bad.