Skip to content

Getting network is down errors via host name, but ip works fine. #1693

Discussion options

You must be logged in to vote

Sorry you are experiencing this issue. Nothing has changed there so the issue may well be temporary. Ping is solving the address using the usual POSIX C functions, but our ssh implementation uses iOS Sockets, which in theory are mostly the same except for iOS optimizations. If I recall, from my experience debugging this part of the code, I think that may be what is going on. If for some reason a socket would try to connect multiple times without success, at one point it will internally mark that part of the network down until it can figure out how to connect there again.

One possible workaround would be to use a Host from config. We also provide ssh2 command, which if I recall has been us…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@lordmortis
Comment options

@lordmortis
Comment options

Answer selected by lordmortis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions.
3 participants
Converted from issue

This discussion was converted from issue #1692 on February 04, 2023 17:06.