all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: "Roland Winkler" <winkler@gnu.org>
Cc: 9017@debbugs.gnu.org
Subject: bug#9017: 24.0.50; gnutls.c: [0] (Emacs) fatal error: Key usage violation in certificate has been detected.
Date: Mon, 11 Jul 2011 16:12:20 +0200	[thread overview]
Message-ID: <m3d3hgx5x7.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <19995.450.645561.299970@gargle.gargle.HOWL> (Roland Winkler's message of "Mon, 11 Jul 2011 08:59:30 -0500")

"Roland Winkler" <winkler@gnu.org> writes:

> I recompiled emacs from the trunk today. Unfortunately, emacs simply
> hangs now. So I set debug-on-quit to t, which gave me the first
> backtrace attached below.

> Debugger entered--Lisp error: (quit)
>   make-network-process(:name "smtpmail" :buffer #<buffer *trace of SMTP session to foo.bar.com*> :host "foo.bar.com" :service 465)

Hm.  It's hanging in the connect call itself to the SMTP server?  That's
rather odd.

If you eval the following

(make-network-process :name "smtpmail" :buffer (get-buffer-create "foo") :host "foo.bar.com" :service 465)

does it hang?

> Then I also tried your other suggestion
>
>   (setq smtpmail-stream-type 'plain)
>
> which resulted in the error
>
>   Sending failed: 530 Must issue a STARTTLS command first
>
> see the second backtrace.

Yes, your SMTP server apparently requires STARTTLS, but the built-in
GnuTLS support isn't able to negotiate a connection -- I'm guessing
because of a buggy SMTP server certificate.  But that doesn't explain
the apparent hanging in `make-network-process' itself, which is just
bizarre.

Try evaluating this:

(defun gnutls-available-p () nil)

If you have gnutls-cli installed (and you apparently have since it works
in Emacs 23), that should disable the built-in GnuTLS library.  Are you
able to send mail then?
-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





  reply	other threads:[~2011-07-11 14:12 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07 13:36 bug#9017: 24.0.50; gnutls.c: [0] (Emacs) fatal error: Key usage violation in certificate has been detected Roland Winkler
2011-07-07 14:42 ` Lars Magne Ingebrigtsen
2011-07-07 14:45 ` Lars Magne Ingebrigtsen
2011-07-07 14:56 ` Lars Magne Ingebrigtsen
2011-07-07 15:15   ` Lars Magne Ingebrigtsen
2011-07-08  0:49     ` Roland Winkler
2011-07-10 13:39       ` Lars Magne Ingebrigtsen
2011-07-11 13:59         ` Roland Winkler
2011-07-11 14:12           ` Lars Magne Ingebrigtsen [this message]
2011-07-11 14:29             ` Roland Winkler
2011-07-11 14:38               ` Lars Magne Ingebrigtsen
2011-07-11 14:54                 ` Roland Winkler
2011-07-11 15:13                   ` Lars Magne Ingebrigtsen
2011-07-11 15:41                     ` Roland Winkler
2011-07-11 15:48                       ` Lars Magne Ingebrigtsen
2011-07-13 15:02                         ` Roland Winkler
2011-07-13 15:27                           ` Lars Magne Ingebrigtsen
2011-07-13 16:06                             ` Roland Winkler
2011-07-15 11:16                               ` Roland Winkler
2011-07-15 19:56                                 ` Ted Zlatanov
2011-07-15 16:04                               ` Lars Magne Ingebrigtsen
2011-07-15 16:04                               ` Lars Magne Ingebrigtsen
2011-07-15 16:45                               ` Ted Zlatanov
2011-07-15 17:13                                 ` Lars Magne Ingebrigtsen
2011-07-15 19:50                                   ` Ted Zlatanov
2011-07-15 17:26                                 ` Lars Magne Ingebrigtsen
2011-07-17  0:37                                   ` Roland Winkler
2011-07-17  0:44                                     ` Lars Magne Ingebrigtsen
2011-07-17 12:20                                       ` Roland Winkler
2011-07-17 16:15                                         ` Lars Magne Ingebrigtsen
2011-07-18  2:46                                           ` Roland Winkler
2012-01-25 20:29                                             ` Ted Zlatanov
2012-01-25 19:39                                               ` Lars Ingebrigtsen
2012-01-25 22:32                                                 ` Ted Zlatanov
2012-01-25 22:35                                                   ` Lars Ingebrigtsen
2012-01-26 15:40                                                     ` Ted Zlatanov
2012-01-26 16:53                                                       ` Lars Ingebrigtsen
2014-12-08 19:51                                             ` Lars Magne Ingebrigtsen
2011-07-16 17:57                               ` Stefan Monnier
2011-07-17  2:19                                 ` Lars Magne Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=m3d3hgx5x7.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=9017@debbugs.gnu.org \
    --cc=winkler@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.