unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kostas Zorbadelos <kzorba@nixly.net>
To: help-gnu-emacs@gnu.org
Subject: Emacs gnus (tls) IMAP connection problems with Google
Date: Sat, 26 Jan 2019 13:13:09 +0200	[thread overview]
Message-ID: <87va2bpt8a.fsf@nixly.net> (raw)


Hello all,

I use emacs gnus for all my mail handling mostly over IMAP.
A recent upgrade in my Arch system left me with a very strange
problem. My software versions:

GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2018-07-05

gnutls 3.6.5-4

My .gnus.el hasn't changed for a very long time, looking like this: 

(add-to-list 'gnus-secondary-select-methods '(nnimap "gmail"
                                  (nnimap-address "imap.gmail.com")
                                  (nnimap-server-port 993)
                                  (nnimap-stream ssl)
				  (nnimap-authinfo-file "~/.authinfo.gpg")))

Everything worked very well until I got the following errors connecting
to Google's IMAP service (could be that a recent gnutls upgrade is
responsible, older versions of emacs and gnutls I use in other Linux
systems have no such issue)  

*Messages*
Opening nnimap server on gmail...
Opening connection to imap.gmail.com via tls...
Unable to open server nnimap+gmail due to: Process *nnimap*<1> not running
Opening nnimap server on gmail...failed:

Sometimes however (rarely) the connections are established OK. 

Unfortunately, I could not debug this, I am at a loss. Trying to get
more info, I found a workaround by setting

(setq gnutls-log-level 2)

in .gnus.el. So, when gnutls debugging is turned on, seems the problem
is hiding (timing issue?). Since mail handling is a core activity for me
I would highly appreciate any help in debugging and solving the
issue. Let me know if and how I can provide any logs / further info. I
run a current version of Arch Linux (updated today).
If you think this list is not appropriate for the issue, feel free to
suggest a more proper place for the discussion.

Regards,
Kostas Zorbadelos



             reply	other threads:[~2019-01-26 11:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-26 11:13 Kostas Zorbadelos [this message]
2019-01-26 17:13 ` Emacs gnus (tls) IMAP connection problems with Google Alex Kost
  -- strict thread matches above, loose matches on Subject: below --
2019-01-27  2:55 Van L
2019-01-27 17:38 ` Kostas Zorbadelos
2019-02-10 21:54   ` Grant Rettke
2019-02-11  2:30     ` Emanuel Berg
2019-02-25 15:11       ` Emanuel Berg
2019-02-25 15:39         ` Emanuel Berg
2019-02-26 11:45           ` Emanuel Berg
2019-02-12 19:57     ` Kostas Zorbadelos
2019-02-13 13:03       ` Robert Pluim
2019-01-28  3:08 Van L

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87va2bpt8a.fsf@nixly.net \
    --to=kzorba@nixly.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).