Package: emacs
Version: 1:26.1+1-3.2
Severity: normal

After I upgraded my mail server (dovecot) to buster, gnus completely
refuses to connect, with a blank error message:

Opening connection to mail.err.no via tls...
Unable to open server nnimap+err due to: Process *nnimap* not running
nnimap (err) open error: ‘’.  Continue? (y or n) n
Couldn’t open server on err
Warning: Unable to open server nnimap+err due to: Process *nnimap* not running

After a bit of debugging, this seems to be some sort of race
condition. If I slow down network-stream-open-tls slightly by adding a
few message calls in the middle, or a (setq gnutls-log-level 1), gnus
starts up just fine.  To me, it might look like it's not properly
waiting for the server to actually write the initial greeting and that now ends 
up
in a different packet than what it used to end up in the initial packet.

This is completely reproducible for me, across machines, happy to
provide more information if that's useful.

-- System Information:
Debian Release: 10.0
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Versions of packages emacs depends on:
ii  emacs-gtk  1:26.1+1-3.2

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

Reply via email to