Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Helix Editor] Timed out waiting for language servers to shutdown #311

Open
xcpky opened this issue Aug 4, 2024 · 1 comment
Open

[Helix Editor] Timed out waiting for language servers to shutdown #311

xcpky opened this issue Aug 4, 2024 · 1 comment

Comments

@xcpky
Copy link

xcpky commented Aug 4, 2024

Describe the bug
whenever I exit in helix editor (:q or so), helix stucks and after a few seconds I get "Timed out waiting for language servers to shutdown".

Software
OS and version : archlinux 6.10.2-arch1-1
Code editor : Helix
Vala Language Server: 0.48.7
Vala version (valac --version): 0.56.17

To Reproduce
Steps to reproduce the behavior:

  1. create a file that ends with .vala
  2. use helix to open the file like hx main.vala
  3. quit in any way (:q, :q!, :wq or so)
  4. Helix stucks waiting for vls to stop, and after a few seconds we should see "Timed out waiting for language servers to shutdown"

Here is the log from helix side, the most relevant part should be

2024-08-04T19:18:09.081 helix_lsp::transport [ERROR] vala-language-server err <- "(vala-language-server:14930): vls-WARNING **: 19:18:09.036: server.vala:155: unhandled notification `initialized'\n"
2024-08-04T19:18:31.940 helix_lsp::transport [ERROR] vala-language-server err <- "\n"
2024-08-04T19:18:31.940 helix_lsp::transport [ERROR] vala-language-server err <- "(vala-language-server:14930): jsonrpc-client-WARNING **: 19:18:31.938: Unhandled RPC from peer!\n"
2024-08-04T19:18:34.939 helix_term::application [ERROR] Timed out waiting for language servers to shutdown

vls-helix.log

@xcpky
Copy link
Author

xcpky commented Jan 17, 2025

one small workaround, :lsp-stop first before quit prevents this issue. But it's no so practical anyway....

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

No branches or pull requests

1 participant