unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Arni Magnusson <arnima@hafro.is>
Cc: 21727@debbugs.gnu.org
Subject: bug#21727: Tramp hangs in Windows
Date: Thu, 22 Oct 2015 18:21:33 +0200	[thread overview]
Message-ID: <877fmelvqq.fsf@gmx.de> (raw)
In-Reply-To: <alpine.LRH.2.20.1510211804390.30298@hafurtask.hafro.is>

Arni Magnusson <arnima@hafro.is> writes:

Hi Arni,

> Thank you for looking into this, Michael.
>
> You are right, this problem is machine-specific. I tried loading Tramp
> in Emacs 24.5 on my colleague's Windows 7 laptop (next door office)
> and it works.

Good to know.

> Alas, I'm not able to determine what is improper about my DNS
> settings, if that is the case. All settings seem to be set to default
> (obtain DNS server addresss automatically) and no network-related
> applications show any symptoms of improper DNS settings. They all work
> smoothly (Putty, wget, Firefox, Skype, etc.), both on the wireless at
> home and the ethernet at work. As a simple test, I tried unplugging
> the ethernet cable to go offline, but Tramp still hangs.

No, that's not the point. Tramp wants to check some ssh arguments, and
tries to contact an *inalid* host name on purpose. If DNS is configured
properly, there will be an immediate reaction that this is an invalid FQDN.

> The Linux commands in bug thread 20015 do not apply to diagnose the
> problem in native Windows. Can you suggest some test I can run to
> analyze what is causing the problem?

Well, I don't run Windows personally, so my advice might be wrong. But
you could open a cmd.exe window, and try

# ssh -o ControlPath=%C host.does.not.exist

Likely, it will hang for you.

An alternative could be to install Emacs 25.0.50. This works pretty
stable, and Tramp has changed its test to be used w/o DNS. You find
weekly snapshots at <https://sourceforge.net/projects/emacs-bin/>.

> Thanks,
>
> Arni

Best regards, Michael.





  reply	other threads:[~2015-10-22 16:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-21 18:24 bug#21727: Tramp hangs in Windows Arni Magnusson
2015-10-22  8:00 ` Michael Albinus
2015-10-22 12:10   ` Arni Magnusson
2015-10-22 16:21     ` Michael Albinus [this message]
2015-10-22 19:08       ` Arni Magnusson
2015-10-22 20:56         ` Michael Albinus
2015-10-22 14:55 ` Eli Zaretskii

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=877fmelvqq.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=21727@debbugs.gnu.org \
    --cc=arnima@hafro.is \
    /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).