Pure-D / serve-d

D LSP server (dlang language server protocol server)
MIT License
208 stars 50 forks source link

serve-d doesn't work anymore (openssl) problem #352

Closed MonoMaxMW closed 11 months ago

MonoMaxMW commented 11 months ago

Hello serve-d stopped working. I'm using the "nightly" edition

Archlinux x64

Below the log:

object.Exception@../../../.dub/packages/requests/2.1.1/requests/source/requests/ssl_adapter.d(204): loading openssl: unknown version Tuple!(int, "major", int, "minor")(3, 2) for init [Info - 9:47:26 AM] Connection to server got closed. Server will restart. object.Exception@../../../.dub/packages/requests/2.1.1/requests/source/requests/ssl_adapter.d(204): loading openssl: unknown version Tuple!(int, "major", int, "minor")(3, 2) for init [Info - 9:47:26 AM] Connection to server got closed. Server will restart. object.Exception@../../../.dub/packages/requests/2.1.1/requests/source/requests/ssl_adapter.d(204): loading openssl: unknown version Tuple!(int, "major", int, "minor")(3, 2) for init [Info - 9:47:26 AM] Connection to server got closed. Server will restart. object.Exception@../../../.dub/packages/requests/2.1.1/requests/source/requests/ssl_adapter.d(204): loading openssl: unknown version Tuple!(int, "major", int, "minor")(3, 2) for init [Info - 9:47:26 AM] Connection to server got closed. Server will restart. object.Exception@../../../.dub/packages/requests/2.1.1/requests/source/requests/ssl_adapter.d(204): loading openssl: unknown version Tuple!(int, "major", int, "minor")(3, 2) for init [Info - 9:47:26 AM] Connection to server got closed. Server will restart. object.Exception@../../../.dub/packages/requests/2.1.1/requests/source/requests/ssl_adapter.d(204): loading openssl: unknown version Tuple!(int, "major", int, "minor")(3, 2) for init [Info - 9:47:26 AM] Connection to server got closed. Server will restart. object.Exception@../../../.dub/packages/requests/2.1.1/requests/source/requests/ssl_adapter.d(204): loading openssl: unknown version Tuple!(int, "major", int, "minor")(3, 2) for init [Info - 9:47:26 AM] Connection to server got closed. Server will restart. object.Exception@../../../.dub/packages/requests/2.1.1/requests/source/requests/ssl_adapter.d(204): loading openssl: unknown version Tuple!(int, "major", int, "minor")(3, 2) for init [Info - 9:47:26 AM] Connection to server got closed. Server will restart. object.Exception@../../../.dub/packages/requests/2.1.1/requests/source/requests/ssl_adapter.d(204): loading openssl: unknown version Tuple!(int, "major", int, "minor")(3, 2) for init [Info - 9:47:26 AM] Connection to server got closed. Server will restart. object.Exception@../../../.dub/packages/requests/2.1.1/requests/source/requests/ssl_adapter.d(204): loading openssl: unknown version Tuple!(int, "major", int, "minor")(3, 2) for init Server crashed 10 times in the last minute. The server will not be restarted. [Error - 9:47:27 AM] Connection to server got closed. Server will not be restarted.

vabenil commented 11 months ago

I have exactly the same issue. This started happening when I upgraded Arch Linux ~3 days ago.

WebFreak001 commented 11 months ago

upstream issue: https://github.com/ikod/dlang-requests/issues/161

snprajwal commented 10 months ago

When will this be released? Or is there a workaround to make serve-d work until the next release is cut?

snprajwal commented 10 months ago

Just saw that the last pre-release was published in Sep 2023, could we please cherry-pick this commit (if we don't want any of the others), and cut a hotfix release or something? I wouldn't want my LSP to depend on a local build unless I'm making changes to serve-d myself.

WebFreak001 commented 10 months ago

you can set the d.servedReleaseChannel setting to nightly to get the latest master build, but yeah cherry picking this is a good idea

snprajwal commented 10 months ago

you can set the d.servedReleaseChannel setting to nightly to get the latest master build, but yeah cherry picking this is a good idea

It looks like coc-dlang does not have this configuration option (I'm not using code-d). Thanks for the release, it fixed it for me!