From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: gnu@crabapple.me.uk Newsgroups: gmane.emacs.bugs Subject: bug#36810: 26.2; package.el; package-refresh-contents, Bad Request (http over https) Date: Thu, 25 Jul 2019 17:42:57 +0100 Message-ID: <2e1fffbb-6826-628a-e598-fcdb3ce9d89b@crabapple.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="42338"; mail-complaints-to="usenet@blaine.gmane.org" To: 36810@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 25 19:14:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hqhJh-000At5-Rj for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jul 2019 19:14:09 +0200 Original-Received: from localhost ([::1]:34220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqhJg-0001AF-Rq for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Jul 2019 13:14:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40148) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqhJd-00016N-6E for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2019 13:14:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqhJb-00088W-MX for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2019 13:14:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59765) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hqhJZ-00086W-WA for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2019 13:14:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hqhJZ-0003sb-Pb for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2019 13:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: gnu@crabapple.me.uk Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2019 17:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36810 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156407483614890 (code B ref -1); Thu, 25 Jul 2019 17:14:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Jul 2019 17:13:56 +0000 Original-Received: from localhost ([127.0.0.1]:40353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqhJT-0003s6-Da for submit@debbugs.gnu.org; Thu, 25 Jul 2019 13:13:55 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38887) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqgpd-0000w9-7h for submit@debbugs.gnu.org; Thu, 25 Jul 2019 12:43:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55591) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqgpb-0002Fo-Ii for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2019 12:43:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqgpZ-0005Nz-VE for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2019 12:43:03 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.130]:49315) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hqgpZ-0005Jk-Hc for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2019 12:43:01 -0400 Original-Received: from [192.168.1.24] ([82.71.25.83]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.163]) with ESMTPSA (Nemesis) id 1MLAAs-1i8lwh0fuE-00IBxS for ; Thu, 25 Jul 2019 18:42:57 +0200 Content-Language: en-GB X-Provags-ID: V03:K1:aZlEt9fv/FJVlNExEqxEOFwxmrD1zjL4gkVVTsNjF+2V0MqJJOF IFsKSTEcjSP0BfhEskOSYtsQ5cIKm6bgkzTksDyjpPwtkdTAh2oWgkj8wft1EkHvzvPfnTt GtPctS7dIeGXBbF05JB2aSCXlGDKVF7l7B4NuZkWG6NCqhcfU/qzv+QNReRcgIyU8EyJtBc x22I4f0X1tHBlSnPu82OA== X-UI-Out-Filterresults: notjunk:1;V03:K0:cjobgq4ebuc=:qPXy0y4WkAmQFyOH+8bXF/ PoHBXfNPqM/M63Vmm6r3XFPsM9KzL4ZNP5fC+pQHNss3zqOWGWuOmHe/2sknSuFHyiBRa1meZ Fbtj9fQBZycfHEHQDpuE1lk8J3sm5AKlzvf4O9zglj2eui0KrgZnFOug+Qic4oSyvMQiqlXFs pCECHaGLx04RvzoOpxw38GdSIKcgTgxzXMt9Ki314iwRS4Zx4g0Y9l6iGZbgNVkM9kIs4GHV1 6yRerR2kCtfPWSzFhuplARL8EDaATUoFMwnk7gD8HYxhZGn9IfMC/pxr1PLyG2Qfjl9WtWwe1 XTO8+7qkD6qmz7HxUm27rL5qw3AICYDp1vimEl9tLjNNlwyPg+ntfWVGVt0g2+MDz5z6OZVrl T448MiMLANITkM7ykOxGLe7BlY2+WaVqSwVpvlrf0z+l2s9+ZK6SBB+s+t1PdbEoYiarsecpn 21z134VJlb1mcdAs772UFWWPZRcF3gjdG3qQ6gpeTehDJiS9B1q/XkSqtJrzEXNG7X8KEyFKU zCcW2lIeSsTIS3WjHjZEp6hJS0MmCkMaFmill3GZpLqI1JJBs0CuDmyNSE9RRcay6JXK5XzWh J8jCzWH55MVDvaZSRNSpKQKtRdT/5H79Vf8dzKmWR2nIFT3fJWLt2W8I8r+SY2GooirnYF29a D+fLMAaOSxmm/ist+epjSegR8cUBc4UQdUqTRRlJzfNnoZ8CM9uqZ9wsvtJcYebpv98zBvCB2 NVHoP9oMIzFpk6DTkd+HLZ2jx0HzBr7vabzAqZI9UhroVo09KJ29N2Hhvxo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Mailman-Approved-At: Thu, 25 Jul 2019 13:13:54 -0400 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: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:163724 Archived-At: Replicate with: emacs -Q M-x package-initialize RET M-x set-variable RET debug-on-error RET t RET package-refresh-contents => Debugger entered--Lisp error: (file-error "https://elpa.gnu.org/packages/archive-contents" "Bad Request") In wireshark I observe a TLS1.2 session with elpa.gnu.org, terminated from localhost, then another connection established to port 443 on elpa.gun.org but no TLS setup and then a straight HTTP GET request (for /packages/archive-contents). Server responds 400 (Bad Request): "Your browser sent a request that this server could not understand. Reason: You're speaking plain HTTP to an SSL-enabled server port." In GNU Emacs 26.2 (build 1, x86_64-slackware-linux-gnu, GTK+ Version 3.18.9)  of 2019-07-17 built on hive64.slackware.lan Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. You can run the command 'package-initialize' with M-x p-ini RET Importing package-keyring.gpg...done Contacting host: elpa.gnu.org:443 Package refresh done Entering debugger... Configured using:  'configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var  --program-prefix= --program-suffix= --mandir=/usr/man  --infodir=/usr/info --without-gconf --without-gsettings --with-x  --with-x-toolkit=gtk3 --build=x86_64-slackware-linux 'CFLAGS=-O2  -fPIC'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LCMS2 Important settings:   value of $LC_COLLATE: C   value of $LC_CTYPE: en_GB   value of $LC_MESSAGES: en_GB   value of $LC_MONETARY: en_GB   value of $LC_NUMERIC: en_GB   value of $LC_TIME: en_GB   value of $LANG:   locale-coding-system: iso-latin-1-unix Major mode: Debugger Minor modes in effect:   tooltip-mode: t   global-eldoc-mode: t   electric-indent-mode: t   mouse-wheel-mode: t   tool-bar-mode: t   menu-bar-mode: t   file-name-shadow-mode: t   global-font-lock-mode: t   font-lock-mode: t   blink-cursor-mode: t   auto-composition-mode: t   auto-encryption-mode: t   auto-compression-mode: t   buffer-read-only: t   line-number-mode: t   transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail cl-print debug mail-utils network-stream starttls url-http tls gnutls mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap epg cus-edit wid-edit cus-start cus-load thingatpt help-fns radix-tree help-mode finder-inf package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 130287 9116)  (symbols 48 23742 1)  (miscs 40 54 139)  (strings 32 38503 1177)  (string-bytes 1 1018090)  (vectors 16 18079)  (vector-slots 8 546762 8140)  (floats 8 64 53)  (intervals 56 386 241)  (buffers 992 13)  (heap 1024 24811 5005))