-
Notifications
You must be signed in to change notification settings - Fork 580
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
Need more info: Mosh fails to connect with Ubuntu #1801
Comments
@carloscabanero I am also running into this issue (started recently, maybe after one of the recent updates?). My notes:
From that reddit post:
|
Just digging into things that changed recently... seems like it has something to do with |
AHH, more info: maybe ipv6 related based on:
The failed to connect message I get shows the ipv4 and ipv6 of my server, weirdly:
|
OOOHHH, alright, I think we may have it. So I did not break anything, the "default" for IP resolution is still the same. BUT, I do have an idea of what may be going on since working on this. Do you have any Host configuration there as well? "Remote" resolution should work for you in the meantime (and you are now able to set that as default for the Host in the UI). Remote will perform resolution at the "remote" side (d'oh), and it will go with its preferred method. "Local" resolution will use the Host configuration (this may be a solution as well, although it is more intended for ProxyCommand). The "default" is doing a resolution over SSH, and I think that may be where the confusion is coming from. |
Nothing in the Host configuration (I do not currently use that Blink feature, but probably will now to avoid having to type out the --experimental-remote-ip=remote bit all the time). |
I recently started having problems with Blink and mosh also. Connecting through ssh works as it always has. Connecting through mosh only works if I bypass Host configuration and provide the full connection string ( There’s no IPv6 involved, and the failure happens even with hosts on the local LAN with local DNS. Error: |
Not sure this is related, but I will review the default flags when starting the ssh session. So sometimes mosh-server will not be in the path runs the command. This happens in macOS with homebrew. You should still be able to configure the mosh-server path on the Host configuration though.
For this second case, can you post here the verbose output? |
That’s right. The Mosh server path is set in the Host configuration. I’m saying that it doesn’t work unless I also say
|
Ok, found reproducible use case. This affects users with old hosts configurations. Line 69 in d011b98
Following code in that case defaults to nil value: Lines 348 to 349 in de72f99
Next this check failed bc Lines 430 to 434 in d011b98
This code with fix Lines 348 to 349 in d011b98
This code runs after parsing ssh output Lines 262 to 265 in de72f99
|
Ok, closing this issue. |
https://www.reddit.com/r/BlinkShell/comments/1477eb6/mosh_fails_immediately_to_ubuntu_box/
The text was updated successfully, but these errors were encountered: