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

Exited Unexpectedly: exit code 1 #233

Open
williamneves opened this issue Nov 17, 2023 · 1 comment
Open

Exited Unexpectedly: exit code 1 #233

williamneves opened this issue Nov 17, 2023 · 1 comment

Comments

@williamneves
Copy link

I'm trying to make distant work, but I couldt:

How to reproduce:
distant installed on mac:

distant -V
distant 0.20.0
{
    "chipsenkbeil/distant.nvim",
    branch = "v0.3",
    lazy = false,
    config = function()
      require("distant"):setup()
    end,
  },

nvim commands

:DistantInstall
installed tp distant

:DistantCheckHealth
distant: require("distant.health").check()

distant.nvim ~
- OK distant installed
- OK distant version 0.20.0 meets minimum requirement of 0.20.0

Error:

:DistantConnect xxx (any host)
Exited unexpectedly: exit code 1

My system
MacOS 13.2.1
iTerm2
Nvim (nvchad)

@martlaf
Copy link

martlaf commented Dec 9, 2023

I have the same (Exited unexpectedly: exit code 1) from nvim plugin (Ubuntu 23.10, nvim 0.10.0-dev, distant 0.20.0, distant.nvim 0.3) when doing :DistantLaunch ssh://user@server, which translates into a Connection timed out (os error 110) when just trying to do it through commandline (distant launch ssh://user@server)

I have ensured binaries are on path on remote server (ssh user@server distant server listen --daemon works fine for instance), and tried setting the --distant argument to point to it

As for me starting the server manually first I can use it with connect instead of launch, I guess I won't be pursuing this much further

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