Skip to content
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

Server initialization failed. #904

Closed
conradwt opened this issue Jun 4, 2023 · 3 comments
Closed

Server initialization failed. #904

conradwt opened this issue Jun 4, 2023 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@conradwt
Copy link
Contributor

conradwt commented Jun 4, 2023

Environment

  • Elixir & Erlang versions (elixir --version): Elixir 1.14.5 (compiled with Erlang/OTP 26)
  • Elixir Language Server version: 0.14.7
  • Operating system: macOS 13.4
  • Editor or IDE name (e.g. Emacs/VSCode): 1.79.0-insider (Universal)
  • Editor Plugin/LSP Client name and version: ElixirLS: Elixir support and debugger
    v0.14.7
  • Hardware: Apple M1 MacBook Pro

Current behavior

Server initialization failed.

Starting ElixirLS release v0.14.6
Running in /Users/conradwt/projects.dir/zero-to-graphql-using-elixir
[Info  - 12:06:22 AM] Started ElixirLS v0.14.6
[Info  - 12:06:22 AM] Running in /Users/conradwt/projects.dir/zero-to-graphql-using-elixir
[Info  - 12:06:22 AM] ElixirLS built with elixir "1.14.5" on OTP "26"
[Info  - 12:06:22 AM] Running on elixir "1.14.5 (compiled with Erlang/OTP 26)" on OTP "26"
[Info  - 12:06:22 AM] Protocols are not consolidated
[Info  - 12:06:22 AM] Elixir sources not found (checking in /home/build/elixir). Code navigation to Elixir modules disabled.
Runtime terminating during boot ({badarg,[{io,put_chars,[standard_error,[_]],[{_},{_},{_}]},{Elixir.Kernel.CLI,exec_fun,2,[{_},{_}]},{Elixir.Kernel.CLI,run,1,[{_},{_}]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done
[Error - 12:06:24 AM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 12:06:24 AM] Connection to server got closed. Server will restart.
true
[Error - 12:06:24 AM] ElixirLS - zero-to-graphql-using-elixir client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
  1. open a Phoenix project

Expected behavior

I expected that the Elixir LS would work without fail.

@lukaszsamson
Copy link
Collaborator

Please use search before opening new issues. Duplicate of #886

@lukaszsamson lukaszsamson added the duplicate This issue or pull request already exists label Jun 4, 2023
@conradwt
Copy link
Contributor Author

conradwt commented Jun 4, 2023

@lukaszsamson The issue that you referenced here doesn't specify the machine architecture or provide any type of logs to actually search against. Thus, it's really impossible for me to make assumptions about #886 when trying to determine if my bug is a duplicate or not. If you're wanting people to complete the bug template, then the maintainer of this repository should provide the same information in their bug reporting if you're expecting others to check for duplicates. Finally, I highly recommend adding relevant information to your README.md regarding Erlang 26 and ELixirLS to let developers know the support status for ElixirLS using Erlang 26. A compatibility matrix would better help developers in determining the exact OTP versions that are supported by ElixirLS.

@lukaszsamson
Copy link
Collaborator

@conradwt Good ideas, please send PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants