From unknown Sun Aug 10 16:49:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12763 <12763@debbugs.gnu.org> To: bug#12763 <12763@debbugs.gnu.org> Subject: Status: Can't connect to NNTP server Reply-To: bug#12763 <12763@debbugs.gnu.org> Date: Sun, 10 Aug 2025 23:49:11 +0000 retitle 12763 Can't connect to NNTP server reassign 12763 gnus submitter 12763 Anssi Saari severity 12763 normal tag 12763 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 29 11:59:55 2012 Received: (at submit) by debbugs.gnu.org; 29 Oct 2012 15:59:55 +0000 Received: from localhost ([127.0.0.1]:38361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSrkn-0006Do-Bm for submit@debbugs.gnu.org; Mon, 29 Oct 2012 11:59:55 -0400 Received: from gw03.mail.saunalahti.fi ([195.197.172.111]:48658) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TSnCr-0006yf-I7 for submit@debbugs.gnu.org; Mon, 29 Oct 2012 07:08:35 -0400 Received: from crap (a88-114-28-181.elisa-laajakaista.fi [88.114.28.181]) by gw03.mail.saunalahti.fi (Postfix) with ESMTP id 025C82165DC; Mon, 29 Oct 2012 13:06:03 +0200 (EET) From: Anssi Saari To: submit@debbugs.gnu.org (The Gnus Bugfixing Girls + Boys) Subject: Can't connect to NNTP server User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-Debbugs-Version: 5.13 X-Debbugs-Package: gnus Date: Mon, 29 Oct 2012 13:06:03 +0200 Message-ID: <87y5ipillw.fsf@sci.fi> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 29 Oct 2012 11:59:52 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) It was asked in the Finnish language Emacs group that why can't Gnus connect to server news.saunalahti.fi since Fedora 17 and Emacs 24.1. Gnus just comes back with the message "nntp (news.saunalahti.fi) open error: 'Error when connecting: 200 Elisa USENET News Server (Typhoon v2.2.2.503)^M'. Continue? (y or n)" I debugged this a little and it turns out the connection fails somehow with the attempted TLS autodetect. If the server is configured to do plain NNTP then things are fine. So this kind of setup works: (setq gnus-select-method '(nntp "news.saunalahti.fi" (nntp-open-connection-function network-only) (nntp-address "news.saunalahti.fi"))) I don't understand enough elisp to figure out how things go wrong with the TLS autodetect but they do. Hence this bug report. This was originally found with the Gnus 5.13 that ships with Emacs 24.1, same thing also with Gnus from Git. No problem with older Emacs and Gnus, I tried Gnus 5.13 from Emacs 23.3 with Emacs 24.1 and that didn't have this problem. Notably also in win32 Gnus didn't have this problem. Gnus v5.13 GNU Emacs 24.1.1 (x86_64-unknown-linux-gnu) of 2012-10-26 on crap 200 Elisa USENET News Server (Typhoon v2.2.2.503) From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 25 10:28:56 2012 Received: (at 12763) by debbugs.gnu.org; 25 Dec 2012 15:28:56 +0000 Received: from localhost ([127.0.0.1]:59334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TnWR1-00039E-GP for submit@debbugs.gnu.org; Tue, 25 Dec 2012 10:28:56 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:35121) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TnWQu-00038x-1L for 12763@debbugs.gnu.org; Tue, 25 Dec 2012 10:28:49 -0500 Received: from ip-90-20-179-93.dialup.ice.net ([93.179.20.90] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TnWQ8-0002mB-7w; Tue, 25 Dec 2012 16:27:56 +0100 To: Anssi Saari Subject: Re: bug#12763: Can't connect to NNTP server References: <87y5ipillw.fsf@sci.fi> X-Now-Playing: Winston Tong's _Theoretically Chinese_ From: Lars Ingebrigtsen Date: Tue, 25 Dec 2012 16:27:53 +0100 In-Reply-To: <87y5ipillw.fsf@sci.fi> (Anssi Saari's message of "Mon, 29 Oct 2012 13:06:03 +0200") Message-ID: <87ehie883q.fsf@gnus.org> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1TnWQ8-0002mB-7w X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1357054077.07253@q5Bju9WnQCi32R+nvG7dsg X-Spam-Status: No X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12763 Cc: 12763@debbugs.gnu.org, bugs@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: bugs@gnus.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) Anssi Saari writes: > (setq gnus-select-method > '(nntp "news.saunalahti.fi" > (nntp-open-connection-function network-only) > (nntp-address "news.saunalahti.fi"))) > > I don't understand enough elisp to figure out how things go wrong with > the TLS autodetect but they do. Unfortunately, I can't connect to the server to try to debug this. larsi@rusty:~/mgnus$ telnet news.saunalahti.fi nntp Trying 195.197.54.114... Connected to uutiset.elisa.fi. Escape character is '^]'. 502 Permission Denied - Permission Denied - Elisa Oyj - USENET News server (Typhoon v2.2.2.503) Connection closed by foreign host. Could you try edebugging through the connection code (which will probably be the `open-network-stream' function in network-stream.el)? -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Lars Magne Ingebrigtsen From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 27 18:52:33 2012 Received: (at control) by debbugs.gnu.org; 27 Dec 2012 23:52:33 +0000 Received: from localhost ([127.0.0.1]:34177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ToNFZ-0003zR-4K for submit@debbugs.gnu.org; Thu, 27 Dec 2012 18:52:33 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:53159) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ToNFU-0003zD-8o for control@debbugs.gnu.org; Thu, 27 Dec 2012 18:52:30 -0500 Received: from ip-90-20-179-93.dialup.ice.net ([93.179.20.90] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1ToNEZ-0000kI-EB for control@debbugs.gnu.org; Fri, 28 Dec 2012 00:51:31 +0100 Date: Fri, 28 Dec 2012 00:51:28 +0100 Message-Id: <87vcbn9hq7.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #12763 X-MailScanner-ID: 1ToNEZ-0000kI-EB X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1357257091.95195@hFmWzH0eVRDEVaf3lfOw3A X-Spam-Status: No X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) tags 12763 fixed close 12763 24.4 From unknown Sun Aug 10 16:49:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 25 Jan 2013 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator