From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#16602: 24.3.50; gnutls sometimes errors out Date: Sun, 09 Feb 2014 19:14:11 -0800 Message-ID: <878utj64n0.fsf@building.gnus.org> References: <87txcl80xd.fsf@building.gnus.org> <87wqh390ao.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392002168 24446 80.91.229.3 (10 Feb 2014 03:16:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2014 03:16:08 +0000 (UTC) To: 16602@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 10 04:16:16 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1WChLz-0000VL-2S for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 04:16:15 +0100 Original-Received: from localhost ([::1]:53089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WChLy-0003nC-KM for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Feb 2014 22:16:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WChLr-0003mx-5m for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 22:16:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WChLm-0001xY-70 for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 22:16:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47325) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WChLm-0001xU-3r for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 22:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WChLl-0004xa-SH for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 22:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Feb 2014 03:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16602 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16602-submit@debbugs.gnu.org id=B16602.139200214619043 (code B ref 16602); Mon, 10 Feb 2014 03:16:01 +0000 Original-Received: (at 16602) by debbugs.gnu.org; 10 Feb 2014 03:15:46 +0000 Original-Received: from localhost ([127.0.0.1]:33111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WChLV-0004x4-Mp for submit@debbugs.gnu.org; Sun, 09 Feb 2014 22:15:46 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:57374) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WChLS-0004wu-Ax for 16602@debbugs.gnu.org; Sun, 09 Feb 2014 22:15:42 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WChLA-0004w7-84 for 16602@debbugs.gnu.org; Mon, 10 Feb 2014 04:15:24 +0100 In-Reply-To: <87wqh390ao.fsf@lifelogs.com> (Ted Zlatanov's message of "Sun, 09 Feb 2014 21:19:43 -0500") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WChLA-0004w7-84 MailScanner-NULL-Check: 1392606925.25046@7Efn5hwa3SLpc3ZaQZB1Gg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85150 Archived-At: Ted Zlatanov writes: > I'm not aware of anything that could be causing this. I've definitely > not changed anything recently in the GnuTLS integration code. > > As a first step, I would check with `gnutls-cli' whether the same > invocation has a similar problem. Doesn't seem to be. I repeated the following ten times, and I got the output below each time. Hm. If I set `gnutls-log-level' to 10, then everything works fine, too? Sounds kinda timing-related... Oh, and now I'm unable to reproduce the problem with a log level of 0. Gah. $ gnutls-cli -p 443 news.ycombinator.com Processed 149 CA certificate(s). Resolving 'news.ycombinator.com'... Connecting to '198.41.190.47:443'... - Certificate type: X.509 - Got a certificate list of 2 certificates. - Certificate[0] info: - subject `OU=Domain Control Validated,OU=PositiveSSL Wildcard,CN=*.ycombinator.com', issuer `C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=PositiveSSL CA 2', RSA key 2048 bits, signed using RSA-SHA1, activated `2013-02-26 00:00:00 UTC', expires `2015-02-26 23:59:59 UTC', SHA-1 fingerprint `5a2b9a0c7d2965aeb06ab02e300c8fe75df74905' Public Key Id: c2db2a3ec8e356ee1b7c673097d7796a0a19cd64 Public key's random art: +--[ RSA 2048]----+ | | | | | E | | . * . . | | = S + o . | | .. B + o | | . +o o * o | | = +o + . o | | o.+++. . | +-----------------+ - Certificate[1] info: - subject `C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=PositiveSSL CA 2', issuer `C=SE,O=AddTrust AB,OU=AddTrust External TTP Network,CN=AddTrust External CA Root', RSA key 2048 bits, signed using RSA-SHA1, activated `2012-02-16 00:00:00 UTC', expires `2020-05-30 10:48:38 UTC', SHA-1 fingerprint `94807b1c788dd2fcbe19c8481ce41cfab8a4c17f' - Status: The certificate is trusted. - Description: (TLS1.2-PKIX)-(ECDHE-RSA-SECP256R1)-(AES-128-GCM)-(AEAD) - Session ID: 70:3C:71:8C:30:93:EB:BB:BA:45:82:EA:94:2C:3F:73:48:B3:EB:50:A0:C5:06:F9:F4:03:85:80:18:3C:16:4D - Ephemeral EC Diffie-Hellman parameters - Using curve: SECP256R1 - Curve size: 256 bits - Version: TLS1.2 - Key Exchange: ECDHE-RSA - Server Signature: RSA-SHA512 - Cipher: AES-128-GCM - MAC: AEAD - Compression: NULL - Handshake was completed - Simple Client Mode: -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/