Skip to content

Confusing error message when trying to run ty server in a terminal #2851

@roumail

Description

@roumail

Summary

I can't get past running the command ty server

Everytime I run it the process effectively hangs and when I press enter, I get the following error:

Cause: Failed to start server
Cause: disconnected channel

Where I'm trying to test

❯ cat test.py
x: int = 1
❯ ty check .
All checks passed!

I'm on mac, arm architecture and I face the same issue trying to launch ty server when running it inside wsl on a separate machine. My eventual goal was to switch over to using ty instead of pyright in my vim-lsp lsp setup. However, I never got paste the first stage. I wanted to share some logs, or debug information but unfortunately I found that the docs on running the lsp didn't say much. The docs are more geared towards the use of ty as a vscode extension, or in integrating with other LSP's, how to specify configurations for neovim, zed or vscode.

Let me know if there's other information I can add to help.

Version

ty 0.0.17 (8cec857 2026-02-13)

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the command-line interfaceserverRelated to the LSP server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions