From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#22789: 25.1.50; In last master build https connections stop working Date: Sat, 05 Mar 2016 09:46:43 +0100 Message-ID: References: <864mcyo14y.fsf@Lenovo-PC.i-did-not-set--mail-host-address--so-tickle-me> <871t81wtyt.fsf@gnus.org> <87r3g1veqc.fsf@gnus.org> <86si0euizj.fsf@realize.ch> <871t7xhj7t.fsf@gnus.org> <86oab1vjm9.fsf@realize.ch> <86d1rhpvcq.fsf@realize.ch> <834mctbitq.fsf@gnu.org> <868u25p3m2.fsf@realize.ch> <83io18ahya.fsf@gnu.org> <86y4a3on6f.fsf@realize.ch> <87oaazg7fv.fsf@gnus.org> <86twkro0vr.fsf@realize.ch> <83d1rf8ifj.fsf@gnu.org> <86povfnm9r.fsf@realize.ch> <8337sa9865.fsf@gnu.org> <86bn6ynrbw.fsf@realize.ch> <83vb566v5b.fsf@gnu.org> <83d1razkmq.fsf@gnu.org> <86egbqkwsb.fsf@realize.ch> <86a8mekjrb.fsf@realize.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457167701 17091 80.91.229.3 (5 Mar 2016 08:48:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2016 08:48:21 +0000 (UTC) Cc: j_l_domenech@yahoo.com, 22789@debbugs.gnu.org To: Alain Schneble Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 05 09:48:10 2016 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 1ac7sf-0004X2-Lu for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Mar 2016 09:48:09 +0100 Original-Received: from localhost ([::1]:45278 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ac7sf-0004nv-1M for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Mar 2016 03:48:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ac7sb-0004nm-7A for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 03:48:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ac7sX-0002qB-UM for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 03:48:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ac7sX-0002q7-Qw for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 03:48:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1ac7sX-00024X-M8 for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 03:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Mar 2016 08:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22789-submit@debbugs.gnu.org id=B22789.14571676307904 (code B ref 22789); Sat, 05 Mar 2016 08:48:01 +0000 Original-Received: (at 22789) by debbugs.gnu.org; 5 Mar 2016 08:47:10 +0000 Original-Received: from localhost ([127.0.0.1]:34277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1ac7ri-00023P-Dm for submit@debbugs.gnu.org; Sat, 05 Mar 2016 03:47:10 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:42372) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1ac7rg-00023G-JF for 22789@debbugs.gnu.org; Sat, 05 Mar 2016 03:47:09 -0500 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1ac7rH-0001kN-EU; Sat, 05 Mar 2016 09:46:43 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUZEA4wIyEgAgQdBgfq 4dAbFBKbjIIaCwojZ33LAAACbUlEQVQ4jWWUQW+cMBCFZ1u5XBkSs9e1V9Feo0TVniNRznhbh+si UZ/BCPnv9w2wybbl5vn8Zt6Mjam6fR0n+YhoIOWZujKEgHgfdPr8BkUd96sC4HwP6rCCOujpkwjY BFX4Pf2lCLdMAHdFJFW1peru4jDXlxvo/wHhpujrNZRtqbpNEW6Asq2PcivRhxXM/j+QpUFieXMP qroEmLOk5kZnApjLtY2O96g8qEbv263BfgW5VLCzNntTPPtb52Ebrsm9u4wF+9usFgFqm8KwcYUW RY/toF3rcFQ2L9js+MkTI7jMq+Z33mfmojXvrPLUhZ4fQxnkbHk/WZe37OzsaeCwnW4Nuyny4SeS ffcUTRfKThTVm9ji00PhillT5FCzX5qsszSyIm2cZU0F8pT0a7HcwtVYPDgjNdrClf21lLl3+zQV LwUzW9i9HIe++gHAPWpMNjK/mgc0yNZV1fUbQCUKO1pO4wGKjpH9uquqR9huB6vM+WwPUNRi6Kow gLc+p6/2zHQwLEA6uJJyEHQ6xZN7eorsvVzqKuREinWa9ykSdlsDMMIdk4AmoxSPhOhFQDytP0Xm tGpSxKEizwKOGxhI7kiGn8Y3XoCdXheAKEYyeOdJaYDpGO0GBpcGcs437wtI0Z5Ej1vVJJU87oEm gBcbrSWvIXGtItkCvXc0FdEesaS0w6hzhc0Nlg6uRoaiIXKNlxQfwMZCQAZPw7CyFbxKKoAxG/I5 h+wGrLjyGEjyScIf4BhPJ1jxGd4K8fmXQjyiw90CGrGLkZwn+7yYRyMSaZY+mL7Yox2ULPDq0JLK L6+PQoo1QSZwJZ75D1CpLOpoH9MqAAAAAElFTkSuQmCC In-Reply-To: <86a8mekjrb.fsf@realize.ch> (Alain Schneble's message of "Fri, 4 Mar 2016 22:36:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1ac7rH-0001kN-EU MailScanner-NULL-Check: 1457772403.73342@S2T7XjA9IkjW8Eqnc/mS+g X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:114441 Archived-At: Alain Schneble writes: > I have the impression that GnuTLS doesn't like it too much if we start > retrying the handshake many times before the socket is connected. At > least on MS-Windows. In nearly all of the cases of loading websites > with around 20 images, I observe arbitrary failures of > gnutls_try_handshake which usually end up with -10 > GNUTLS_E_INVALID_SESSION. Try to add some printfs around the handshaking, and then strace Emacs while it's doing all this. GNUTLS_E_INVALID_SESSION is usually the result of libgnutls losing control of the socket -- something else is writing or reading from the socket, and that makes the libgnutls state machine become unsynchronised. If you see any reads/writes to the sockets outside the handshake section of the code, you'll have found the culprit. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no