all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: tramp complains about host not in localhost regexp when using nextcloud
Date: Wed, 21 Jul 2021 12:03:44 +0100	[thread overview]
Message-ID: <87r1fsylm7.fsf@ucl.ac.uk> (raw)
In-Reply-To: 8735s99hvx.fsf@gmx.de

Hi Michael,

thank you for responding to my puzzled query!

On Tuesday, 20 Jul 2021 at 16:31, Michael Albinus wrote:
> The complaint comes from tramp-compute-multi-hops. Have you tried
> multi-hops, with nextcloud?

No idea.  As I do not know what multi-hops are in this context, I would
guess my answer is no.

> This calls for traces. Set tramp-verbose to 6, rerun your test, and show
> the Tramp debug buffer. Preferably, from a new Emacs instance, started
> with "emacs -Q".

So, with "emacs -nw -Q" (because I have Emacs with EXWM as my window
manager), it works fine and the debug output is:

--8<---------------cut here---------------start------------->8---
attributes:
  filesystem::size: 2137079217
  filesystem::free: 2134407614
  filesystem::type: webdav
  filesystem::remote: TRUE
  filesystem::used: 2671603
  gvfs::backend: dav
--8<---------------cut here---------------end--------------->8---

From my normal Emacs, I get:

--8<---------------cut here---------------start------------->8---
;; Emacs: 28.0.50 Tramp: 2.5.1 -*- mode: outline; coding: utf-8; -*-
11:47:38.194579 tramp-maybe-open-connection (3) # Opening connection nil for USER@cloud.HOST.org using nextcloud...
11:47:38.194752 tramp-call-process (6) # ‘locale -a’ nil  *temp*
11:47:38.195770 tramp-call-process (6) # 0
C
C.UTF-8
en_GB.utf8
POSIX
11:47:38.195973 tramp-compute-multi-hops (1) # , Host name ‘cloud.HOST.org’ does not match ‘\`\(127\.0\.0\.1\|::1\|localhost6?\|t3610\)\'’
11:47:38.196080 tramp-maybe-open-connection (3) # Opening connection nil for USER@cloud.HOST.org using nextcloud...failed
11:47:44.928510 tramp-maybe-open-connection (3) # Opening connection nil for USER@cloud.HOST.org using nextcloud...
--8<---------------cut here---------------end--------------->8---

where account info has been obfuscated.

First of all, I don't understand why the traces are so different.  I
double checked that both instances had the same value of tramp-verbose
(set to 6).

But, secondly, obviously, there is something wrong in my
configuration.  Sigh.  I have no mention of tramp or nextcloud in my
init or custom files.  Any suggestions on what I might be setting that
could affect this?

Thank you,
eric

-- 
Eric S Fraga via Emacs 28.0.50 & org 9.4.6 on Debian 11.0




  reply	other threads:[~2021-07-21 11:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-19 18:52 tramp complains about host not in localhost regexp when using nextcloud Eric S Fraga
2021-07-20 14:31 ` Michael Albinus
2021-07-21 11:03   ` Eric S Fraga [this message]
2021-07-24  9:59     ` Michael Albinus
2021-07-24 14:17       ` Eric S Fraga
2021-07-24 18:49         ` 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

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

  git send-email \
    --in-reply-to=87r1fsylm7.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.