From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Magnus Henoch Newsgroups: gmane.emacs.devel Subject: TLS problem: gnutls-e-again Date: Sat, 5 Mar 2016 13:37:29 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bdc8f70402a15052d4d55fc X-Trace: ger.gmane.org 1457185058 3188 80.91.229.3 (5 Mar 2016 13:37:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2016 13:37:38 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 05 14:37:38 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1acCOm-0004rL-RR for ged-emacs-devel@m.gmane.org; Sat, 05 Mar 2016 14:37:37 +0100 Original-Received: from localhost ([::1]:46546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acCOm-0007wy-4U for ged-emacs-devel@m.gmane.org; Sat, 05 Mar 2016 08:37:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acCOh-0007wW-Rn for emacs-devel@gnu.org; Sat, 05 Mar 2016 08:37:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acCOg-0002Ma-NW for emacs-devel@gnu.org; Sat, 05 Mar 2016 08:37:31 -0500 Original-Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:35373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acCOg-0002MR-Fi for emacs-devel@gnu.org; Sat, 05 Mar 2016 08:37:30 -0500 Original-Received: by mail-wm0-x231.google.com with SMTP id l68so26703516wml.0 for ; Sat, 05 Mar 2016 05:37:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=2WvX2LvR2W4o+rKxuVNBKiw1a/2W+Z9YP4FQV4lgJe4=; b=OFkEXkoRlmZh+jcxX29tdFlqbqjLSdhGRtr4+8emMqDA5MtMLo5TLc5eBdg/UBthCQ Qam2UTCnyeqPOWwxj58eWTozEYDJEULV7iM/m6ogTX+HTDfuKR5QI67DA+L+z/LP07DL 5OpHQK1s+JpoELe6ogUTJxiHoNv1XBeDEE7/iFizZfyA5uiDU7LsO2rs444/lCD7sH3z IA6bYEw97BAGBwezSLqdbJVAStPxMOcr3VCUIx6KU3Jvzx8ovRNgsfydmD+Tm9Ltek4/ EFbGmAkKRg9KmOvE77jaAK5ournFWyw1j9fKC/nQdwwPFcHkKB28GNgNL1C1wC7Dpgvs p/qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=2WvX2LvR2W4o+rKxuVNBKiw1a/2W+Z9YP4FQV4lgJe4=; b=CS7I96VNkZPXlrEHDWGgTlapzMyLViEu3JPn9K+oJd40/aR2wkv4S9YB9bOIAhwMlp Nf+pNEpWYiU68ALadnSYFqnXfdXcYZF7VPyGiFBNKjBF4xYb21MYxbee5tta1YTp3fp3 lUTYrM9I9W01LSfL4nkISLSCG9B0va25AbSjHAsLUN5v6BFjyGs90PypTnTbKR/VfNn7 jb6ghkZ0KXZhg3IVaEVKCfd+jMKexy/8oLAsI0lsSGeWZnTX+ThuZSj6zLqSrA21JtL1 nnCU4CG0IBaMcGt6XVfEgOy+uzXsByv/mZOqhPYzel6hEaFZwM0vKNzrxcNheZ8cbVgZ 2RGA== X-Gm-Message-State: AD7BkJKdw339IKUaOQWWEf1+Y+8hw35po0CEZ1OaBMK8APHVDw/P9jh8oKt9Be6Y393skFCIMOQxhOWLOJEAuA== X-Received: by 10.194.95.73 with SMTP id di9mr15214653wjb.152.1457185049544; Sat, 05 Mar 2016 05:37:29 -0800 (PST) Original-Received: by 10.194.25.130 with HTTP; Sat, 5 Mar 2016 05:37:29 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200946 Archived-At: --047d7bdc8f70402a15052d4d55fc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all, I just updated to the latest master, and found that there are problems establishing TLS connections. With jabber.el, this is what appears in the messages buffer: Connecting to xmpp.l.google.com:5222... gnutls.el: (err=3D[gnutls-e-again] Resource temporarily unavailable, try again.) boot: (:priority NORMAL :hostname gmail.com :loglevel 0 :min-prime-bits nil :trustfiles (/opt/local/share/curl/curl-ca-bundle.crt) :crlfiles nil :keylist nil :verify-flags nil :verify-error (:hostname . t) :callbacks nil) magnus.henoch@gmail.com: connection lost: =E2=80=98STARTTLS negotiation fai= led: GnuTLS error: #, gnutls-e-again=E2=80=99 Unfortunately, my attempts at creating a self-contained test case have failed so far... What jabber.el does, is that it opens an asynchronous network connection (:nowait t), performs XMPP feature negotiation in cleartext, and then attempts to do STARTTLS using gnutls-negotiate. I can reproduce this on OSX as well as GNU/Linux: GNU Emacs 25.1.50.4 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F1509)) of 2016-03-05 GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2) of 2016-03-05 Any idea what might be wrong? Is there any more information that would be helpful? Regards, Magnus --047d7bdc8f70402a15052d4d55fc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,

I just updated to the latest mas= ter, and found that there are problems establishing TLS connections. With j= abber.el, this is what appears in the messages buffer:

Con= necting to xmpp.l.google.com:5222...
gnutls.el: (err=3D[gnutls-e-again] = Resource temporarily unavailable, try again.) boot: (:priority NORMAL :host= name gmail.com :loglevel 0 :min-prime-bits= nil :trustfiles (/opt/local/share/curl/curl-ca-bundle.crt) :crlfiles nil := keylist nil :verify-flags nil :verify-error (:hostname . t) :callbacks nil)=
magnus.henoch@gmail.com:= connection lost: =E2=80=98STARTTLS negotiation failed: GnuTLS error: #<= process jabber>, gnutls-e-again=E2=80=99

Unfortunately= , my attempts at creating a self-contained test case have failed so far... = What jabber.el does, is that it opens an asynchronous network connection (:= nowait t), performs XMPP feature negotiation in cleartext, and then attempt= s to do STARTTLS using gnutls-negotiate.

I can reproduce = this on OSX as well as GNU/Linux:

GNU Emacs 25.1.50.4 (x86_64-apple-= darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F1509)) of 2016-03= -05
GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2) o= f 2016-03-05

Any idea what might be wrong? Is = there any more information that would be helpful?

Regards= ,
Magnus

--047d7bdc8f70402a15052d4d55fc--