From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.bugs Subject: bug#54087: 28.0.91; rcirc: irc.gnome reg timeout; reconnects after /quit Date: Mon, 21 Feb 2022 06:12:11 -0500 Message-ID: <87a6ekbhis.fsf@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32546"; mail-complaints-to="usenet@ciao.gmane.io" To: 54087@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 21 12:17:33 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nM6hA-0008F7-So for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 12:17:32 +0100 Original-Received: from localhost ([::1]:41540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nM6h9-0003NX-DR for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Feb 2022 06:17:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nM6el-0001x3-FW for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 06:15:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nM6el-00010D-4n for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 06:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nM6ek-0002T2-RU for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 06:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ken Raeburn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Feb 2022 11:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54087 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16454420539392 (code B ref -1); Mon, 21 Feb 2022 11:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Feb 2022 11:14:13 +0000 Original-Received: from localhost ([127.0.0.1]:35190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM6dw-0002RP-4f for submit@debbugs.gnu.org; Mon, 21 Feb 2022 06:14:12 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:45426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nM6ds-0002RF-9D for submit@debbugs.gnu.org; Mon, 21 Feb 2022 06:14:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nM6ds-0000n4-1N for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 06:14:08 -0500 Original-Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:32055) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nM6dn-0000vO-0u for bug-gnu-emacs@gnu.org; Mon, 21 Feb 2022 06:14:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645442041; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=UXvgve6RdL2CYJ9w7E2qV//lSfKt8OxsZvn8/jpxKEI=; b=HMuS1U/Msqf6xNqwPpUyVAt8toE42fIzjiJhXfSTXviw2opuaZ9tTKWURTGNP4OxPvjD8H lr83OHCLQpfWI1VOzLReSqPZNBGjFeFZXD/4Iteaq+yJtABiWVJiHp7YyN7gNsXeR2KZsk cAtAHrgzBfMZqxzxxCuIAlulDFVYYqU= Original-Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-657-x0gsugiQO1u5TR1nJXoKBg-1; Mon, 21 Feb 2022 06:12:14 -0500 X-MC-Unique: x0gsugiQO1u5TR1nJXoKBg-1 Original-Received: by mail-qv1-f70.google.com with SMTP id w14-20020a0cfc4e000000b0042c1ac91249so16849557qvp.4 for ; Mon, 21 Feb 2022 03:12:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=UXvgve6RdL2CYJ9w7E2qV//lSfKt8OxsZvn8/jpxKEI=; b=LXAKnZfPUAgXgU3tN4yKJb10I0KKg/R2Cx08hOKpVAXgxplAZOmlKpPYHjy00XQYjZ WPBhlhDD4geif0hgLhwqfeBK+8YaDj4aDO7e/yjROtRZDSm3TfmBUDQPrpNFnJ9WtBPy 5Hr1kMPcToWnhRzRr2vihmbLASgSELT8Yy7LH39QFULbvD6qtY75MPYOxeZ508js2RhN pVI6ED5kxbXMVRwGK+LqkP7zMzo1vOwsz+S6z9Yr0vdff5cpuTK/JSTCF8GpQASHmg4r QzfhTfHYIuawuj2WnTcaaDcXabLWC/8mob4Jmf1M2ksn5IEtSysS7kUz3ZVjxBQHHiOn hTfA== X-Gm-Message-State: AOAM530p7F6fvXBvdYClfqZZ01TLtnJbCuQ5jSr8q1HGZItMW8rWr4eC /1XgQ0s4tWSe4MS/KqYdMSOWhD6lcNZMerfubNdt/qulLUHYxCxGNXHxQ7rMKug1EAu2P4nXUzN UAq0nsbvEpuYERGw= X-Received: by 2002:ac8:584f:0:b0:2de:2f9:509e with SMTP id h15-20020ac8584f000000b002de02f9509emr6922217qth.324.1645441933211; Mon, 21 Feb 2022 03:12:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzqEJGsf676+1GPE4TtAHvW5wqQNrpzCsHhKZDIXJkScv8VAf7pZZGUO4GS47Z1GQyByJ/zLA== X-Received: by 2002:ac8:584f:0:b0:2de:2f9:509e with SMTP id h15-20020ac8584f000000b002de02f9509emr6922187qth.324.1645441932809; Mon, 21 Feb 2022 03:12:12 -0800 (PST) Original-Received: from crash (c-24-60-138-149.hsd1.ma.comcast.net. [24.60.138.149]) by smtp.gmail.com with ESMTPSA id d17sm27235477qkn.84.2022.02.21.03.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 03:12:12 -0800 (PST) Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=raeburn@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=170.10.133.124; envelope-from=raeburn@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227319 Archived-At: I'm running emacs 28.0.91 as packaged for Fedora 34 by bhavin192, in a recently created F34 virtual machine, so a fairly fresh environment. The .emacs file settings are slightly customized: '(rcirc-reconnect-delay 10) '(rcirc-server-alist '(("irc.libera.chat" :nick "raeburn" :port 6697 :password :channels ("#emacs" "#rcirc") :encryption tls) ("irc.gnome.org" :nick "raeburn" :channels ("#gnucash")))) '(rcirc-time-format "%FT%T ") 1) Since I was already signed onto irc.gnome.org from elsewhere, my login as "raeburn" was rejected, and it always timed out trying to register as "raeburn`": 09:52 -irc2.acc.umu.se- *** Looking up your hostname... 09:52 -irc2.acc.umu.se- *** Found your hostname (cached) 09:52 *** irc2.acc.umu.se 433 raeburn Nickname is already in use. 09:52 !!! Closing Link: raeburn`[24.60.138.149] (Registration Timeout) (This was before I changed the time format.) This happened over and over (not stopping at 3 tries, which is the value of rcirc-reconnect-attempts), with multiple server hosts. Typing "/quit" in the server buffer does get it to stop, *if* done after "Nickname is already in use". It's unclear to me from reading wiki.gnome.org whether irc.gnome.org requires or merely recommends pre-registering IRC nicknames; I see people on with "1" or "_" or "_afk" suffixes on their names so I suspect it's not required. So I don't know what would be leading to the timeout. The debug log recorded this: [2022-02-21T10:53:10 irc.gnome.org] SENTINEL: # "open " [2022-02-21T10:53:10 irc.gnome.org] CAP REQ :message-tags [2022-02-21T10:53:10 irc.gnome.org] CAP REQ :server-time [2022-02-21T10:53:10 irc.gnome.org] CAP REQ :batch [2022-02-21T10:53:10 irc.gnome.org] CAP REQ :message-ids [2022-02-21T10:53:10 irc.gnome.org] CAP REQ :invite-notify [2022-02-21T10:53:10 irc.gnome.org] CAP REQ :sasl [2022-02-21T10:53:10 irc.gnome.org] CAP REQ :multi-prefix [2022-02-21T10:53:10 irc.gnome.org] CAP REQ :standard-replies [2022-02-21T10:53:10 irc.gnome.org] NICK raeburn [2022-02-21T10:53:10 irc.gnome.org] USER user 0 * :unknown [2022-02-21T10:53:10 irc.gnome.org] :irc4.acc.umu.se NOTICE * :*** Looking up your hostname... [2022-02-21T10:53:10 irc.gnome.org] :irc4.acc.umu.se NOTICE * :*** Found your hostname [2022-02-21T10:53:12 irc.gnome.org] :irc4.acc.umu.se CAP * ACK :message-tags :irc4.acc.umu.se CAP * ACK :server-time :irc4.acc.umu.se CAP * ACK :batch :irc4.acc.umu.se CAP * NAK :message-ids :irc4.acc.umu.se CAP * NAK :invite-notify :irc4.acc.umu.se CAP * ACK :sasl :irc4.acc.umu.se CAP * ACK :multi-prefix :irc4.acc.umu.se CAP * NAK :standard-replies :irc4.acc.umu.se 433 * raeburn :Nickname is already in use. [2022-02-21T10:53:12 irc.gnome.org] NICK raeburn` [2022-02-21T10:53:12 irc.gnome.org] PING :93915F19 [2022-02-21T10:53:12 irc.gnome.org] PONG :93915F19 [2022-02-21T10:53:41 irc.gnome.org] ERROR :Closing Link: raeburn`[<>] (Registration Timeout) [2022-02-21T10:53:41 irc.gnome.org] SENTINEL: # "connection broken by remote peer " [2022-02-21T10:53:42 irc.gnome.org] SENTINEL: # "open " 2) I got signed into irc.libera.chat as "raeburn`", but if I type "/quit" in the #emacs buffer, it disconnects me ... and then reconnects me. Same with typing "/quit" in *irc.libera.chat*. Reconnecting automatically when disconnected on a network error is great, but being unable to disconnect and stay that way when I want to is taking it a little far, I think. :-) 2022-02-21T09:57:19 /quit 2022-02-21T09:57:20 *** raeburn` QUIT Client Quit 2022-02-21T09:57:20 !!! Closing Link: c-24-60-138-149.hsd1.ma.comcast.net (Client Quit) 2022-02-21T09:57:31 *** zinc.libera.chat 433 raeburn Nickname is already in use. 2022-02-21T09:57:34 *** zinc.libera.chat 001 Welcome to the Libera.Chat Internet Relay Chat Network raeburn` In GNU Emacs 28.0.91 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) of 2022-01-11 built on c817772a5dc24b448259fd330c6e2d67 Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Fedora 34 (Cloud Edition) 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 --with-harfbuzz --with-cairo --with-json --with-native-compilation build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu CC=gcc 'CFLAGS=-DMAIL_USE_LOCKF -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB 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: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t use-hard-newlines: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils thread backtrace novice apropos mule-util cl-extra help-mode disp-table gnutls network-stream puny nsm rmc misearch multi-isearch cus-edit pp cus-start cus-load wid-edit rcirc parse-time iso8601 auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map seq byte-opt gv bytecomp byte-compile cconv time-date subr-x ring thingatpt cl-loaddefs cl-lib find-func iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer 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 composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads xwidget-internal dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 166417 5901) (symbols 48 9322 0) (strings 32 28619 1978) (string-bytes 1 926876) (vectors 16 19201) (vector-slots 8 375586 10944) (floats 8 42 110) (intervals 56 5139 338) (buffers 992 23))