unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuri D'Elia <wavexx@thregr.org>
To: emacs-devel@gnu.org
Subject: tramp: recovering from a dead connection
Date: Thu, 25 Nov 2021 11:01:45 +0100	[thread overview]
Message-ID: <87k0gweepi.fsf@wavexx.thregr.org> (raw)

Using tramp on the current master has some issues when it comes down to
flaky links.

I was editing a couple of buffers through the scp transport. Link died,
so the ssh process terminated. I just wanted to kill the buffers.
Everything I do seems to fail..

Tramp: Opening connection nil for remote_host using scp...failed
File error: Couldn't find command to check if file exists
tramp-error: Couldn't find command to check if file exists
Tramp: Opening connection nil for remote_host using scp...failed
Tramp: Opening connection nil for remote_host using scp...failed
Tramp: Opening connection nil for remote_host using scp...failed
Tramp: Opening connection nil for remote_host using scp...failed
Tramp: ‘getconf PATH’ not successful, using default value "/bin:/usr/bin".
Tramp: Opening connection nil for remote_host using scp...failed
File error: Couldn't find command to check if file exists
tramp-error: Couldn't find command to check if file exists

I tried first tramp-cleanup-this-connection, then all-connections,
however all I got is to get even more stuck. M-x doesn't even bring the
minibuffer prompt anymore when run within the stuck buffer.

I could use C-x C-b to get into a buffer list, however that also
only contains a single line: "ssh: could not connect to ...".
Fortunately, from there M-x works. But I still cannot terminate those
buffers.




             reply	other threads:[~2021-11-25 10:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25 10:01 Yuri D'Elia [this message]
2021-11-25 11:53 ` tramp: recovering from a dead connection Michael Albinus
2021-11-25 12:05   ` Yuri D'Elia
2021-11-25 14:29     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0gweepi.fsf@wavexx.thregr.org \
    --to=wavexx@thregr.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).