GNU bug report logs - #30475
25.3; connection-failure errors

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ken Raeburn <raeburn@HIDDEN>; dated Thu, 15 Feb 2018 22:25:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 30475 <at> debbugs.gnu.org:


Received: (at 30475) by debbugs.gnu.org; 15 Feb 2018 22:51:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 15 17:51:51 2018
Received: from localhost ([127.0.0.1]:45304 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1emSNa-0003UY-RQ
	for submit <at> debbugs.gnu.org; Thu, 15 Feb 2018 17:51:51 -0500
Received: from mail-qt0-f181.google.com ([209.85.216.181]:44147)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raeburn@HIDDEN>) id 1emSNZ-0003UM-Rh
 for 30475 <at> debbugs.gnu.org; Thu, 15 Feb 2018 17:51:50 -0500
Received: by mail-qt0-f181.google.com with SMTP id f18so1708470qth.11
 for <30475 <at> debbugs.gnu.org>; Thu, 15 Feb 2018 14:51:49 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:organization
 :message-id:date:user-agent:mime-version:in-reply-to
 :content-transfer-encoding:content-language;
 bh=QuAjPH/awhb2TTA2JLjXkoOE+P35kxVwuOhvA9RPLkI=;
 b=m/uRdfk4ief7SEHvLkL6JkJgWOfvmuK1ubFTcLe3EcNyoar/rSWj2RLZCZq0x14tep
 eud8+CeIU10zKpnJ1dIGJG8Hf+AMloH9EcbdWVI11guraPZW8KvHN/F2TZig49paOhBf
 tDoHgVCyiyiEMVos4jZJhIPwkXT/Z66NtY8zo480LNAYQ4UuZm8weo5XI8rO1pdUoz1j
 w10zJuP/8l0etHnFijVxQst2r72KnO8WeMzTWOcXoDQsd710DVsD5vAzMG1WG+WNcrI0
 dj6Z7vt9KyLNcuT/kh/06JiIywn+rMu3IrGX/SMIgtsXmboT7i8h+tTogQZjYWtFgHEc
 3tYA==
X-Gm-Message-State: APf1xPAXlZoiwVj8vVIfC7URUO9DqdMnWbGAu4I3974VNV5xBXPbIWnC
 dPKrVKAStmb2GS4xzPEm11aJ3Q==
X-Google-Smtp-Source: AH8x224upfXTMPYrTdrrg9QYtpeJkrA0JnGBle3CYM18W0sB8cq2xMy5CfJud9kWOFTVCgsX+YOCpg==
X-Received: by 10.237.57.165 with SMTP id m34mr6710893qte.258.1518735104401;
 Thu, 15 Feb 2018 14:51:44 -0800 (PST)
Received: from [10.18.25.152] (nat-pool-bos-t.redhat.com. [66.187.233.206])
 by smtp.gmail.com with ESMTPSA id n50sm11620724qtc.84.2018.02.15.14.51.42
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 15 Feb 2018 14:51:43 -0800 (PST)
Subject: Re: bug#30475: 25.3; connection-failure errors
To: 30475 <at> debbugs.gnu.org
References: <87y3jtyjq7.fsf@HIDDEN>
 <handler.30475.B.151873349110882.ack <at> debbugs.gnu.org>
From: Ken Raeburn <raeburn@HIDDEN>
Organization: Red Hat, Inc.
Message-ID: <edab8a66-fc0f-453c-e32e-5e66d686ae15@HIDDEN>
Date: Thu, 15 Feb 2018 17:51:42 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <handler.30475.B.151873349110882.ack <at> debbugs.gnu.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30475
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

It's been pointed out to me that we have internal IPv6 routing, just not 
outside access. So the network is configured as intended. Anyway...

It probably won't be a surprise that smtpmail (as used when filing a bug 
report!) can fail the same way. Probably most things that try to connect 
to servers with IPv6 addresses available will intermittently fail this way.

Ken




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#30475; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Feb 2018 22:24:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 15 17:24:51 2018
Received: from localhost ([127.0.0.1]:45258 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1emRxT-0002pR-A3
	for submit <at> debbugs.gnu.org; Thu, 15 Feb 2018 17:24:51 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41853)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raeburn@HIDDEN>) id 1emRxR-0002pC-7v
 for submit <at> debbugs.gnu.org; Thu, 15 Feb 2018 17:24:49 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <raeburn@HIDDEN>) id 1emRxK-00030n-Lw
 for submit <at> debbugs.gnu.org; Thu, 15 Feb 2018 17:24:44 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:42628)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <raeburn@HIDDEN>) id 1emRxK-00030d-Hq
 for submit <at> debbugs.gnu.org; Thu, 15 Feb 2018 17:24:42 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:32810)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <raeburn@HIDDEN>) id 1emRxI-0000Wl-MH
 for bug-gnu-emacs@HIDDEN; Thu, 15 Feb 2018 17:24:42 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <raeburn@HIDDEN>) id 1emRxE-0002i0-JE
 for bug-gnu-emacs@HIDDEN; Thu, 15 Feb 2018 17:24:40 -0500
Received: from mail-qt0-f180.google.com ([209.85.216.180]:36144)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <raeburn@HIDDEN>) id 1emRxE-0002ff-Cx
 for bug-gnu-emacs@HIDDEN; Thu, 15 Feb 2018 17:24:36 -0500
Received: by mail-qt0-f180.google.com with SMTP id q18so1669430qtl.3
 for <bug-gnu-emacs@HIDDEN>; Thu, 15 Feb 2018 14:24:35 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=MlnYnB/VPjEa/4I4qgevvUZapMY14ajHxq5dRDNU00I=;
 b=FKSEJmo48fDU6t+JGAP+qnGtogNd7inCEeSqqGaLbPiCVJBcG2wgUVSF2Q7S1jYT3k
 0CjvJWmNqpl0zUsGIevav4xsCj976uk31MchzuYNfHiP0tzxgT2QLZIommij0PU9eM+r
 QeAAd/gKCwpYO8kG6kJ94RjfdIz8+KrEw00BQhUT4VHMwQLdrY0gwFR8BrMAAMBUSOG5
 mSmMizEC1d0TD077eDnWlR2zFY8l6aAlzWTiLqi4UHlktIdWQiQbQe2ludjmn1ea05iY
 JOirisRsPWtzCdLvpbaoGubOfANmuvaPMw7gf+TVKPYrheiycokcIGNWgjKGmV/WW/ZJ
 N3/Q==
X-Gm-Message-State: APf1xPC4SBRUWAeMw38vAQ6SiM7bI38NZPP3wctDbErRAsJtLVmXvCX2
 k0qHhxgmu/xsp+scv0/AdrKbKuEH0uQ=
X-Google-Smtp-Source: AH8x224XZC3kAzEvVjwkv38+scHqC22WTjE9TIE9aKSUzfb3zYkYEz6szRHdaS5ipruxWMS1999MPg==
X-Received: by 10.237.38.2 with SMTP id z2mr6744824qtc.319.1518733474893;
 Thu, 15 Feb 2018 14:24:34 -0800 (PST)
Received: from crash (nat-pool-bos-t.redhat.com. [66.187.233.206])
 by smtp.gmail.com with ESMTPSA id q26sm12002996qtl.68.2018.02.15.14.24.33
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 15 Feb 2018 14:24:34 -0800 (PST)
From: Ken Raeburn <raeburn@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.3; connection-failure errors
Date: Thu, 15 Feb 2018 17:24:32 -0500
Message-ID: <87y3jtyjq7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)


I'm running on a network with a broken IPv6 setup; there are router
advertisements so I get a network address and default router, but the
router can't get anywhere so I always get "no route" errors back.

If I try running rcirc to connect to freenode, I sometimes get:

  Connecting to irc.freenode.net...
  open-network-stream: Failed connect: No route to host

If I retry a few times, eventually it succeeds. At the moment,
irc.freenode.net resolves to 5 IPv4 addresses and 3 IPv6
addresses. Emacs doesn't tell me which address it's trying each time,
but I expect something is doing randomization or round-robin ordering.

1) It might be useful (for debugging, at least) if the error message
indicated the host name and, when open-network-stream is given a host
name, the actual address tried that got the error, if we're not going to
try multiple addresses.

2) If a host has multiple addresses, routing failures (or timeouts, or
probably some other failures) should cause us to try the next
address. The error on one address should probably still be displayed so
it's saved to the *Messages* buffer, but success on a second address
when the first is unreachable should still let the application code go
forward.

2a) In fact, it wouldn't be completely insane to make "Happy Eyeballs"
(RFC 8305) style staggered but parallel connection attempts when both
IPv4 and IPv6 addresses are available.




In GNU Emacs 25.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.19)
 of 2017-09-14 built on buildvm-31.phx2.fedoraproject.org
Windowing system distributor 'Fedora Project', version 11.0.11906000
System Description:	Fedora release 27 (Twenty Seven)

Configured using:
 'configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3
 --with-gpm=no --with-xwidgets --with-modules
 build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu
 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security
 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
 --param=ssp-buffer-size=4 -grecord-gcc-switches
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
 LDFLAGS=-Wl,-z,relro
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES XWIDGETS

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: rcirc

Minor modes in effect:
  buffer-face-mode: t
  diff-auto-refine-mode: t
  rcirc-track-minor-mode: t
  display-time-mode: t
  desktop-save-mode: t
  which-function-mode: t
  icomplete-mode: t
  global-hi-lock-mode: t
  hi-lock-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  use-hard-newlines: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  visual-line-mode: t
  transient-mark-mode: t

Recent messages:
open-network-stream: Failed connect: No route to host
Connecting to irc.freenode.net...
open-network-stream: Failed connect: No route to host
Connecting to irc.freenode.net...done
Connecting to irc.devel.redhat.com...done
Quit
funcall-interactively: End of buffer
mwheel-scroll: Beginning of buffer [4 times]
Mark set
mwheel-scroll: Beginning of buffer

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message idna rfc822 mml mml-sec epg
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums add-log network-stream
nsm auth-source cl-seq eieio eieio-core cl-macs password-cache starttls
tls gnutls face-remap conf-mode js sgml-mode json map thingatpt
adaptive-wrap make-mode sh-script smie executable org-element org-rmail
org-mhe org-irc org-info org-gnus org-docview doc-view subr-x jka-compr
image-mode dired org-bibtex bibtex org-bbdb org-w3m org org-macro
org-footnote org-pcomplete pcomplete org-list org-faces org-entities
noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ob-core
ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu
calendar cal-loaddefs cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs vc-git diff-mode rcirc gnus
gnus-ems nnheader gnus-util mail-utils mm-util help-fns mail-prsvr
wid-edit time desktop frameset cus-start cus-load kr-init iso-transl
advice smart-quotes easy-mmode time-date which-func imenu icomplete
server term disp-table ehelp ring hi-lock finder-inf info package
epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode
easymenu cconv cl-loaddefs pcase cl-lib mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
dbusbind inotify dynamic-setting system-font-setting font-render-setting
xwidget-internal move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 337704 14852)
 (symbols 48 36689 0)
 (miscs 40 2764 705)
 (strings 32 72872 11293)
 (string-bytes 1 2215683)
 (vectors 16 31204)
 (vector-slots 8 689180 7376)
 (floats 8 317 229)
 (intervals 56 9731 0)
 (buffers 976 87))




Acknowledgement sent to Ken Raeburn <raeburn@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#30475; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.