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

“Couldn't create connection to server.” #2499

Open
matj1 opened this issue Apr 8, 2024 · 1 comment
Open

“Couldn't create connection to server.” #2499

matj1 opened this issue Apr 8, 2024 · 1 comment

Comments

@matj1
Copy link

matj1 commented Apr 8, 2024

If I run the command “Calva Clojure LSP: Start the Clojure LSP Server”, it shows this error:

[Error - 12:58:24] Server initialization failed.
  Message: Internal error
  Code: -32603 
[object Object]
[Error - 12:58:24] Clojure Language Client client: couldn't create connection to server.
  Message: Internal error
  Code: -32603 
[object Object]

I have installed clojure-lsp with the command “Calva Clojure LSP: Download the configured Clojure LSP Server version” and the file is present at ~/.vscode-oss/extensions/betterthantomorrow.calva-2.0.435-universal/clojure-lsp. I have calva.clojureLspPath empty and calva.clojureLspVersion set to “latest”. One thing which is probably irrelevant but on my mind is that I use Nushell as the default shell, and it is not POSIX-compliant.

What is wrong? The message “Internal error” and the error code are not helpful. I would like something which would show me more specifically where the problem is.

@PEZ
Copy link
Collaborator

PEZ commented Apr 8, 2024

Maybe we're supposed to see more details but it's being presented as [object Object]... Can you start clojure-lsp manually? Like just execute ~/.vscode-oss/extensions/betterthantomorrow.calva-2.0.435-universal/clojure-lsp in the terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants