GNU bug report logs - #12763
Can't connect to NNTP server

Previous Next

Package: gnus;

Reported by: Anssi Saari <as <at> sci.fi>

Date: Mon, 29 Oct 2012 16:00:02 UTC

Severity: normal

Tags: fixed

Found in version 5.13

Fixed in version 24.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12763 in the body.
You can then email your comments to 12763 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bugs <at> gnus.org:
bug#12763; Package gnus. (Mon, 29 Oct 2012 16:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Anssi Saari <as <at> sci.fi>:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Mon, 29 Oct 2012 16:00:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Anssi Saari <as <at> sci.fi>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: Can't connect to NNTP server
Date: Mon, 29 Oct 2012 13:06:03 +0200
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)




Information forwarded to bugs <at> gnus.org:
bug#12763; Package gnus. (Tue, 25 Dec 2012 15:29:01 GMT) Full text and rfc822 format available.

Message #8 received at 12763 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Anssi Saari <as <at> sci.fi>
Cc: 12763 <at> debbugs.gnu.org, bugs <at> gnus.org
Subject: Re: bug#12763: Can't connect to NNTP server
Date: Tue, 25 Dec 2012 16:27:53 +0100
Anssi Saari <as <at> sci.fi> 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 <at> 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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 27 Dec 2012 23:53:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.4, send any further explanations to 12763 <at> debbugs.gnu.org and Anssi Saari <as <at> sci.fi> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 27 Dec 2012 23:53:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 25 Jan 2013 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 149 days ago.

Previous Next


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