Skip to content

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

@xcpky

Description

@xcpky

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions