-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Client ElixirLS - elx: connection to server is erroring. #1093
Comments
Something is broken in your env. Installing stuff via homebrew usually leads to broken env. Especially in python land. I had too many problems with broken poetry or pyenv shims due to homebrew messing with python installs or my rc. Anyway, this thread contains some troubleshooting of similar problem elixir-lsp/vscode-elixir-ls#399. Please also verify that your problem is reproducible in devcontainer https://github.com/elixir-lsp/elixir-ls-devcontainer-example |
Were you able to resolve your issue @ibehnam? |
Closing for now |
@lukaszsamson I was consistently getting this issue, turns out that was due to some WARNING printing I had in my dotfiles setup https://github.com/yordis/.dotfiles/blob/6f24bd6ff76bedcc5e83e1bec62dda4a675d6ccd/roles/zsh/files/__dotfiles.zsh#L2
|
I have tried installing Elixir+Erlang through Homebrew (as instructed by the official Elixir website): https://elixir-lang.org/install.html#macos
I also tried uninstalling them and installing through ASDF and I made sure that they both had the same version (27) as mentioned in this article: https://elixir-ko.github.io/install.html
This Issue mentions that Elixir may be incompatible with the most recent OpenSSL versions, but I don't want to downgrade OpenSSL: erlang/otp#4577 (comment). Also: https://elixirforum.com/t/elixirls-cannot-connect-to-server-in-vscode/55345/8
I also did every tip mentioned on the Github page of the Elixir LSP: https://github.com/elixir-lsp/elixir-ls?tab=readme-ov-file#troubleshooting
Several hours later, I still can't use the Elixir LSP in VSCode. This is the error I keep getting:
And
And
This isn't supposed to be like this, and a search on Google shows many people have this problem. I like Elixir and BEAM, but the tooling is not comparable to Rust, Haskell, Go, etc.
Even with Python (which has one of the worst toolings), all I need to do before using the language is:
Install Python through Homebrew or a binary.
Install the plugin on VSCode.
Profit.
The text was updated successfully, but these errors were encountered: