question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The server does not start

See original GitHub issue

The coc-rust-analyzer server is unable to start. I was having problems (like go to definition has not been working for days now), so I tried to uninstall everything including coc and do a fresh reinstall, removing all artifacts from ~/.config/coc. However now the server does not even start.

My coc settings:

{
  "languageserver": {
    "haskell": {
      "command": "ghcide",
      "args": [
        "--lsp"
      ],
      "rootPatterns": [
        ".stack.yaml",
        ".hie-bios",
        "BUILD.bazel",
        "cabal.config",
        "package.yaml"
      ],
      "filetypes": [
        "hs",
        "lhs",
        "haskell"
      ]
    },
    "ocaml-lsp": {
      "command": "opam",
      "args": ["config", "exec", "--", "ocamllsp"],
      "filetypes": ["ocaml", "reason"]
    }
  }
}

Logs:

## versions

vim version: NVIM v0.4.3
node version: v12.18.0
coc.nvim version: 0.0.78
coc.nvim directory: /home/XXX/.vim/bundle/coc.nvim
term: xterm-256color
platform: linux

## Output channel: Rust Analyzer Language Server Trace


## Output channel: rust-analyzer
[Error  - 17:38:17] Connection to server is erroring. Shutting down server.
[Error  - 17:38:17] Connection to server is erroring. Shutting down server.
[Error  - 17:38:17] Connection to server is erroring. Shutting down server.
/home/yago/.config/coc/extensions/coc-rust-analyzer-data/rust-analyzer: 3: Syntax error: "(" unexpected
[Error  - 17:38:17] /home/yago/.config/coc/extensions/coc-rust-analyzer-data/rust-analyzer exited with code: 2

Rustc/cargo version: 1.44.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
yannhamcommented, Jun 24, 2020

Thanks a lot, this allows me to at least work normally in the meantime. For the maintainer’s information, I tried to downgrade coc-rust-analyzer to 7.6 without success.

2reactions
juboscommented, Jun 24, 2020

I encountered this as well and fixed it in the short term by downloading a rust-analyzer release for your OS from https://github.com/rust-analyzer/rust-analyzer/releases/tag/2020-06-22 and replacing the rust-analyzer binary.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Start the Server Service - Microsoft Support
When you attempt to start the Server service from a command prompt, you may receive the following error message: System error 1058 has...
Read more >
My Server won't boot. What do I do? - Support Center
My Server won't boot. What do I do? · External Power - Check power source that it is able to actively power devices....
Read more >
Why Won't My Minecraft Server Start? - Apex Hosting
Your server not starting can be the result of a number of causes, in most cases, it can be resolved or at least...
Read more >
Dell PowerEdge: Troubleshooting a Server that does not start ...
This article provides information about how to troubleshoot No Power, No POST, No Boot and No Video issues on a Dell PowerEdge Server....
Read more >
Application Server start or restart problems - IBM
If a server process does not start or starts with errors, the following topics might help you to diagnose the problem.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found