From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36766 Path: main.gmane.org!not-for-mail From: Matt Christian Newsgroups: gmane.emacs.gnus.general Subject: Re: No indication of what's wrong with logging in to IMAP server Date: 03 Jul 2001 08:43:30 -0500 Message-ID: <87lmm6ku0t.fsf@powerhouse.boogie.cx> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172297 10336 80.91.224.250 (21 Oct 2002 03:51:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:51:37 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 23836 invoked from network); 3 Jul 2001 13:43:31 -0000 Original-Received: from msp-65-25-208-131.mn.rr.com (HELO powerhouse.boogie.cx) (65.25.208.131) by gnus.org with SMTP; 3 Jul 2001 13:43:31 -0000 Original-Received: by powerhouse.boogie.cx (Postfix, from userid 1000) id 6F17624619; Tue, 3 Jul 2001 08:43:30 -0500 (CDT) Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) In-Reply-To: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Capitol Reef) Original-Lines: 52 Xref: main.gmane.org gmane.emacs.gnus.general:36766 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36766 Hi Kai & other Gnusers, > With a system upgrade, my Cyrus saslpasswd entry got b0rked and I > couldn't log in. (I have an entry in ~/.authinfo for the IMAP > server.) Unfortunately I don't have a remedy for the problem you're describing but I'd like to make a point by pointing out that this type of problem is not strictly related to hung IMAP servers. > When I started Gnus, I got no indication of what was the > error: Gnus kept trying to contact the IMAP server and Emacs appeared > hung. The same thing will happen if Gnus tries to open a NNTP server that you can't reach for some reason (network/host down, etc). Remember when Andover.net suffered a major outage of their popular servers (slashdot.org, freshmeat.net, others) a little while ago? Well, I had news.freshmeat.net setup as a secondary server in Gnus. Because that NNTP server was unreachable, Gnus hung at startup with very little indication of what was going on. > So I typed C-g to wake up Emacs, and then it continued and > showed me all nnimap groups with `*' in front. But I couldn't see any > message in the echo area that said that the IMAP server refused login > and why. My situation above was worse, since hitting C-g would totally cancel Gnus startup. I had to do M-x gnus-no-server to open my primary server (nnml). For a temporary workaround, I put the following in my .gnus.el: ;;; Prevent Gnus from trying to open problem news servers at startup ;;; Use when a news server is acting up (down, slow, etc) (add-to-list 'gnus-opened-servers '((nntp "news.freshmeat.net") denied)) Of course, when the news.freshmeat.net NNTP server became reachable, I commented out the above .gnus.el snippet and all was happy again. Is this "hung server breaks Gnus startup" a (X)Emacs or a Gnus problem? I seem to remember that the nntp-connection-timeout variable doesn't seem to work, does anyone know if that is the cause? Is there a fix? - Matt -- Matt Christian - mattc@visi.com http://www.visi.com/~mattc/ ftp://ftp.visi.com/users/mattc/ Learn to love and love to learn.