Pure-D / serve-d

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

OpenSSL version error on Fedora 38 Workstation Edition #325

Closed ghost closed 1 year ago

ghost commented 1 year ago

After installing the VSCode code-d extension and allowing the extension to download and install serve-d, things were not working this was the output of the extension:

object.Exception@../../../.dub/packages/requests-1.1.7/requests/source/requests/ssl_adapter.d(193): loading openssl: unknown version for init
[Info  - 2:41:21 AM] Connection to server got closed. Server will restart.
object.Exception@../../../.dub/packages/requests-1.1.7/requests/source/requests/ssl_adapter.d(193): loading openssl: unknown version for init
[Info  - 2:41:22 AM] Connection to server got closed. Server will restart.
object.Exception@../../../.dub/packages/requests-1.1.7/requests/source/requests/ssl_adapter.d(193): loading openssl: unknown version for init
[Info  - 2:41:22 AM] Connection to server got closed. Server will restart.
object.Exception@../../../.dub/packages/requests-1.1.7/requests/source/requests/ssl_adapter.d(193): loading openssl: unknown version for init
[Info  - 2:41:22 AM] Connection to server got closed. Server will restart.
object.Exception@../../../.dub/packages/requests-1.1.7/requests/source/requests/ssl_adapter.d(193): loading openssl: unknown version for init
[Info  - 2:41:23 AM] Connection to server got closed. Server will restart.
object.Exception@../../../.dub/packages/requests-1.1.7/requests/source/requests/ssl_adapter.d(193): loading openssl: unknown version for init
[Info  - 2:41:23 AM] Connection to server got closed. Server will restart.
object.Exception@../../../.dub/packages/requests-1.1.7/requests/source/requests/ssl_adapter.d(193): loading openssl: unknown version for init
[Info  - 2:41:23 AM] Connection to server got closed. Server will restart.
object.Exception@../../../.dub/packages/requests-1.1.7/requests/source/requests/ssl_adapter.d(193): loading openssl: unknown version for init
[Info  - 2:41:23 AM] Connection to server got closed. Server will restart.
object.Exception@../../../.dub/packages/requests-1.1.7/requests/source/requests/ssl_adapter.d(193): loading openssl: unknown version for init
[Info  - 2:41:23 AM] Connection to server got closed. Server will restart.
object.Exception@../../../.dub/packages/requests-1.1.7/requests/source/requests/ssl_adapter.d(193): loading openssl: unknown version for init
Server crashed 10 times in the last minute. The server will not be restarted.
[Error - 2:41:24 AM] Connection to server got closed. Server will not be restarted.
WebFreak001 commented 1 year ago

this should be fixed on nightly, for this go into the VSCode User Settings (Ctrl-,) and then change the setting d.servedReleaseChannel to nightly.

Afterwards reload the windows (Ctrl-Shift-P -> reload window) and let it redownload serve-d. (if it doesn't redownload on the first attempt, try again, since code-d avoids checking for updates on fridays)

ghost commented 1 year ago

Thanks a ton it worked! :pray: