From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#18860: 24.4; packages don't download consistently from https Date: Mon, 27 Oct 2014 20:46:55 -0400 Message-ID: References: <874mupf6hs.fsf@ferrier.me.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414457316 11840 80.91.229.3 (28 Oct 2014 00:48:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2014 00:48:36 +0000 (UTC) Cc: 18860@debbugs.gnu.org To: Nic Ferrier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 28 01:48:28 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 1XiuxR-00031U-DC for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Oct 2014 01:48:21 +0100 Original-Received: from localhost ([::1]:36556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiuxQ-00047c-O5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Oct 2014 20:48:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiuxG-00047P-CF for bug-gnu-emacs@gnu.org; Mon, 27 Oct 2014 20:48:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xiux8-0003kg-Rp for bug-gnu-emacs@gnu.org; Mon, 27 Oct 2014 20:48:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xiux8-0003kc-PN for bug-gnu-emacs@gnu.org; Mon, 27 Oct 2014 20:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xiux8-0002RG-AS for bug-gnu-emacs@gnu.org; Mon, 27 Oct 2014 20:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Oct 2014 00:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18860 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18860-submit@debbugs.gnu.org id=B18860.14144572249294 (code B ref 18860); Tue, 28 Oct 2014 00:48:02 +0000 Original-Received: (at 18860) by debbugs.gnu.org; 28 Oct 2014 00:47:04 +0000 Original-Received: from localhost ([127.0.0.1]:37069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XiuwC-0002Pp-7m for submit@debbugs.gnu.org; Mon, 27 Oct 2014 20:47:04 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:49444) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xiuw9-0002PL-T2 for 18860@debbugs.gnu.org; Mon, 27 Oct 2014 20:47:02 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvAMAOatTlRFpY87/2dsb2JhbABcgw5Ugw6GfstTBAICgRwXAQF8hAMBAQMBViMFCwsOJhIUGA0kiEsJy3IBAQEBBgEBAQEekQgHhEsFnxKQfYIRgW+EFCGCegEBAQ X-IPAS-Result: AvAMAOatTlRFpY87/2dsb2JhbABcgw5Ugw6GfstTBAICgRwXAQF8hAMBAQMBViMFCwsOJhIUGA0kiEsJy3IBAQEBBgEBAQEekQgHhEsFnxKQfYIRgW+EFCGCegEBAQ X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="95372535" Original-Received: from 69-165-143-59.dsl.teksavvy.com (HELO pastel.home) ([69.165.143.59]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Oct 2014 20:46:56 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D2C187CF7; Mon, 27 Oct 2014 20:46:55 -0400 (EDT) In-Reply-To: <874mupf6hs.fsf@ferrier.me.uk> (Nic Ferrier's message of "Mon, 27 Oct 2014 23:16:47 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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:95178 > Emacs 24.4's package system does something odd when the archive is on > HTTPS. > It seems as if dependencies are downloaded through HTTPS but the main > package is attempted to be downloaded through HTTP. I did M-x trace-function RET url-retrieve-synchronously RET before running your test. On my first test, it failed at shadchen-1.2.el but the request still had the right "https:" prefix. IOW the trace shows that the url passed from package.el does include the "https:" and the problem is somewhere in the URL package. This said, I haven't managed to reproduce the problem since, so I haven't been able to dig any further. And in any case I'm not familiar enough with the HTTP protocol to be of much use there. Stefan