From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#20809: 25.0.50; package-list-packages never finishes async update if cert bad Date: Sun, 14 Jun 2015 22:52:07 +0100 Message-ID: References: <42B2B298-BBE1-4920-9A79-5388E41565F6@gmail.com> <55238DBA-3069-4BED-B445-B477A9A2E2F4@gmail.com> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1434318807 5330 80.91.229.3 (14 Jun 2015 21:53:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Jun 2015 21:53:27 +0000 (UTC) Cc: 20809@debbugs.gnu.org To: chad Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 14 23:53:12 2015 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 1Z4Fq3-0008Rs-Vd for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Jun 2015 23:53:12 +0200 Original-Received: from localhost ([::1]:59638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4Fq3-0006Ad-GN for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Jun 2015 17:53:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4Fpz-0006AX-Me for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2015 17:53:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4Fpu-0006ML-Lx for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2015 17:53:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4Fpu-0006MH-Ii for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2015 17:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z4Fpu-0006sz-3R for bug-gnu-emacs@gnu.org; Sun, 14 Jun 2015 17:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jun 2015 21:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20809 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20809-submit@debbugs.gnu.org id=B20809.143431873726416 (code B ref 20809); Sun, 14 Jun 2015 21:53:02 +0000 Original-Received: (at 20809) by debbugs.gnu.org; 14 Jun 2015 21:52:17 +0000 Original-Received: from localhost ([127.0.0.1]:54089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4Fp9-0006rz-Vs for submit@debbugs.gnu.org; Sun, 14 Jun 2015 17:52:16 -0400 Original-Received: from mail-lb0-f178.google.com ([209.85.217.178]:33406) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4Fp7-0006rl-DP for 20809@debbugs.gnu.org; Sun, 14 Jun 2015 17:52:14 -0400 Original-Received: by lblr1 with SMTP id r1so16556892lbl.0 for <20809@debbugs.gnu.org>; Sun, 14 Jun 2015 14:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=XEp5e4dkBrMEPow7KQi3HdTBPE4axrV4kb0VH3+gFDY=; b=hWs/szOBYj9ZUTvRlfInAemKWJxSvZXZxiiJU93ezuf6ZjNpzjDF9mebk8SzM1tWdf 1+qIa6RFet0W8Ox8gUrOR46LtpITzLYEn858hCzbTBnTViuqrZHOy+EhhVwrtn3JleIV Oub4dzG00+eisG7XMMuFy1tBRddrmRfN4d2BiArOZA59LyMx0rAMf//IJR30RuL1gIrD AaRLQwPyXGVT/bLUJ3aW3WH7LBpIsBejJS2q5FURRfZWYkTJRk5p2JoSKHALDEnJr93k pZdw1vJsqa8I0CZBjptGdw6tEaF2+a/sPG8tKR2akFieGUsrDm8z2tbPe9v8V2ADfVMo auKg== X-Received: by 10.112.210.137 with SMTP id mu9mr23496499lbc.95.1434318727533; Sun, 14 Jun 2015 14:52:07 -0700 (PDT) Original-Received: by 10.25.214.133 with HTTP; Sun, 14 Jun 2015 14:52:07 -0700 (PDT) In-Reply-To: <55238DBA-3069-4BED-B445-B477A9A2E2F4@gmail.com> X-Google-Sender-Auth: j2ahFCRvLoak9NWlCx6UGvU8v4E 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:103949 Archived-At: I pushed a change which should handle this, but I can't test it because I don't get the "connection cannot be secured" message even if I follow your recipe (which is weird, since visiting marmalade on the browser clearly shows the certificate is still bad). Let me know if it works for you. 2015-06-14 18:50 GMT+01:00 chad : > On 14 Jun 2015, at 03:55, Artur Malabarba wro= te: >> >> Could we get a little more of that backtrace? :-) It might make it easie= r. > > Absolutely! Let me know if the mailer gunks anything up. > > This comes from launching emacs -Q and running: > > (setq debug-on-error =E2=80=99t) > (package-initialize) > (add-to-list `package-archives '("marmalade" . "https://marmalade-repo.= org/packages/") t) > (package-list-packages) > > and then saying =E2=80=9CN=E2=80=9D to the connection error popup. > > ~Chad > > Debugger entered--Lisp error: (error "Could not create connection to marm= alade-repo.org:443") > signal(error ("Could not create connection to marmalade-repo.org:443")) > error("Could not create connection to %s:%d" "marmalade-repo.org" 443) > url-http([cl-struct-url "https" nil nil "marmalade-repo.org" nil "/pack= ages/archive-contents" nil nil t silent t] #[257 "\211@\306=3D\203 \307\30= 2!\203 \302 \210\202\204 \310 @A AA\"\210\202\204 eb\210\311\312\313\314#\= 204/ \315\316p\"\210e`|\210\300A\300@\317 \320\321\322 \" \"\320\301 \"\323= !<\203\202 \324 \325\"\210\f\203Z \300 > \235\203i \326 \313 \313\327%\210\330\300!\210\202\202 \331 \301 \302\332= \333\334\335\336\300 > $\337\"\340\341%%\210\266 \342p!\207" [("marmalade" . "https://marmalade-= repo.org/packages/") "archive-contents" #[0 "\301\300!\207" [("marmalade" .= "https://marmalade-repo.org/packages/") package--update-downloads-in-progr= ess] 2] package-user-dir package-check-signature package-unsigned-archives = :error functionp signal search-forward "\n\n" nil noerror error "Invalid ur= l response in buffer %s" buffer-string expand-file-name format "archives/%s= " read-from-string make-directory t write-region silent package--update-dow= nloads-in-progress package--check-signature make-byte-code 256 "\211\204 \= f\305=3D\204 \306\300!\210\307\310\301\"\210\311\302\312\303\312\313%\210\= 211\203- \311\314\315 \316#\312\303\317P\312\313%\210\306\300!\207" vconcat= vector [package-check-signature allow-unsigned package--update-downloads-i= n-progress error "Unsigned archive `%s'" write-region nil silent mapconcat = epg-signature-to-string "\n" ".signed"] 7 "\n\n(fn &optional GOOD-SIGS)" ki= ll-buffer] 20 "\n\n(fn STATUS)"] (nil) nil tls) > url-https([cl-struct-url "https" nil nil "marmalade-repo.org" nil "/pac= kages/archive-contents" nil nil t silent t] #[257 "\211@\306=3D\203 \307\3= 02!\203 \302 \210\202\204 \310 @A AA\"\210\202\204 eb\210\311\312\313\314#= \204/ \315\316p\"\210e`|\210\300A\300@\317 \320\321\322 \" \"\320\301 \"\32= 3 !<\203\202 \324 \325\"\210\f\203Z \300 > \235\203i \326 \313 \313\327%\210\330\300!\210\202\202 \331 \301 \302\332= \333\334\335\336\300 > $\337\"\340\341%%\210\266 \342p!\207" [("marmalade" . "https://marmalade-= repo.org/packages/") "archive-contents" #[0 "\301\300!\207" [("marmalade" .= "https://marmalade-repo.org/packages/") package--update-downloads-in-progr= ess] 2] package-user-dir package-check-signature package-unsigned-archives = :error functionp signal search-forward "\n\n" nil noerror error "Invalid ur= l response in buffer %s" buffer-string expand-file-name format "archives/%s= " read-from-string make-directory t write-region silent package--update-dow= nloads-in-progress package--check-signature make-byte-code 256 "\211\204 \= f\305=3D\204 \306\300!\210\307\310\301\"\210\311\302\312\303\312\313%\210\= 211\203- \311\314\315 \316#\312\303\317P\312\313%\210\306\300!\207" vconcat= vector [package-check-signature allow-unsigned package--update-downloads-i= n-progress error "Unsigned archive `%s'" write-region nil silent mapconcat = epg-signature-to-string "\n" ".signed"] 7 "\n\n(fn &optional GOOD-SIGS)" ki= ll-buffer] 20 "\n\n(fn STATUS)"] (nil)) > url-retrieve-internal("https://marmalade-repo.org/packages/archive-cont= ents" #[257 "\211@\306=3D\203 \307\302!\203 \302 \210\202\204 \310 @A AA\= "\210\202\204 eb\210\311\312\313\314#\204/ \315\316p\"\210e`|\210\300A\300@= \317 \320\321\322 \" \"\320\301 \"\323 !<\203\202 \324 \325\"\210\f\203Z \3= 00 > \235\203i \326 \313 \313\327%\210\330\300!\210\202\202 \331 \301 \302\332= \333\334\335\336\300 > $\337\"\340\341%%\210\266 \342p!\207" [("marmalade" . "https://marmalade-= repo.org/packages/") "archive-contents" #[0 "\301\300!\207" [("marmalade" .= "https://marmalade-repo.org/packages/") package--update-downloads-in-progr= ess] 2] package-user-dir package-check-signature package-unsigned-archives = :error functionp signal search-forward "\n\n" nil noerror error "Invalid ur= l response in buffer %s" buffer-string expand-file-name format "archives/%s= " read-from-string make-directory t write-region silent package--update-dow= nloads-in-progress package--check-signature make-byte-code 256 "\211\204 \= f\305=3D\204 \306\300!\210\307\310\301\"\210\311\302\312\303\312\313%\210\= 211\203- \311\314\315 \316#\312\303\317P\312\313%\210\306\300!\207" vconcat= vector [package-check-signature allow-unsigned package--update-downloads-i= n-progress error "Unsigned archive `%s'" write-region nil silent mapconcat = epg-signature-to-string "\n" ".signed"] 7 "\n\n(fn &optional GOOD-SIGS)" ki= ll-buffer] 20 "\n\n(fn STATUS)"] (nil) silent nil) > url-retrieve("https://marmalade-repo.org/packages/archive-contents" #[2= 57 "\211@\306=3D\203 \307\302!\203 \302 \210\202\204 \310 @A AA\"\210\202= \204 eb\210\311\312\313\314#\204/ \315\316p\"\210e`|\210\300A\300@\317 \320= \321\322 \" \"\320\301 \"\323 !<\203\202 \324 \325\"\210\f\203Z \300 > \235\203i \326 \313 \313\327%\210\330\300!\210\202\202 \331 \301 \302\332= \333\334\335\336\300 > $\337\"\340\341%%\210\266 \342p!\207" [("marmalade" . "https://marmalade-= repo.org/packages/") "archive-contents" #[0 "\301\300!\207" [("marmalade" .= "https://marmalade-repo.org/packages/") package--update-downloads-in-progr= ess] 2] package-user-dir package-check-signature package-unsigned-archives = :error functionp signal search-forward "\n\n" nil noerror error "Invalid ur= l response in buffer %s" buffer-string expand-file-name format "archives/%s= " read-from-string make-directory t write-region silent package--update-dow= nloads-in-progress package--check-signature make-byte-code 256 "\211\204 \= f\305=3D\204 \306\300!\210\307\310\301\"\210\311\302\312\303\312\313%\210\= 211\203- \311\314\315 \316#\312\303\317P\312\313%\210\306\300!\207" vconcat= vector [package-check-signature allow-unsigned package--update-downloads-i= n-progress error "Unsigned archive `%s'" write-region nil silent mapconcat = epg-signature-to-string "\n" ".signed"] 7 "\n\n(fn &optional GOOD-SIGS)" ki= ll-buffer] 20 "\n\n(fn STATUS)"] nil silent) > package--download-one-archive(("marmalade" . "https://marmalade-repo.or= g/packages/") "archive-contents" #[0 "\301\300!\207" [("marmalade" . "https= ://marmalade-repo.org/packages/") package--update-downloads-in-progress] 2]= ) > package--download-and-read-archives(t) > package-refresh-contents(t) > package-menu-refresh() > package-list-packages(nil) > funcall-interactively(package-list-packages nil) > call-interactively(package-list-packages record nil) > command-execute(package-list-packages record) > execute-extended-command(nil "package-list-packages" "package-li") > funcall-interactively(execute-extended-command nil "package-list-packag= es" "package-li") > call-interactively(execute-extended-command nil nil) > command-execute(execute-extended-command) >