From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Cooper Newsgroups: gmane.emacs.bugs Subject: bug#36499: 26.2.90; file-error spinner-1.7.3.el, Bad Request Date: Mon, 22 Jul 2019 19:36:44 -0700 Message-ID: References: <20190704033917.1D71980059@mailuser.nyi.internal> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e46c82058e50106c" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="99145"; mail-complaints-to="usenet@blaine.gmane.org" To: 36499@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 23 04:42:13 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 1hpkkl-000Pfm-7N for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Jul 2019 04:42:12 +0200 Original-Received: from localhost ([::1]:38696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpkkk-0002N9-9z for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jul 2019 22:42:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54246) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpkkh-0002Mq-4A for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 22:42:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hpkkf-0002J6-K5 for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 22:42:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53233) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hpkkc-0002HU-OS for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 22:42:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hpkkc-0002oN-Hv for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 22:42:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <20190704033917.1D71980059@mailuser.nyi.internal> Resent-From: Christopher Cooper Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Jul 2019 02:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36499 X-GNU-PR-Package: emacs Original-Received: via spool by 36499-submit@debbugs.gnu.org id=B36499.156384970310778 (code B ref 36499); Tue, 23 Jul 2019 02:42:02 +0000 Original-Received: (at 36499) by debbugs.gnu.org; 23 Jul 2019 02:41:43 +0000 Original-Received: from localhost ([127.0.0.1]:33821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpkkI-0002nl-KF for submit@debbugs.gnu.org; Mon, 22 Jul 2019 22:41:43 -0400 Original-Received: from mail-qt1-f178.google.com ([209.85.160.178]:41478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpkfl-0002gW-Fw for 36499@debbugs.gnu.org; Mon, 22 Jul 2019 22:37:02 -0400 Original-Received: by mail-qt1-f178.google.com with SMTP id d17so40397125qtj.8 for <36499@debbugs.gnu.org>; Mon, 22 Jul 2019 19:37:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ocf.berkeley.edu; s=google; h=mime-version:from:date:message-id:subject:to; bh=v0F8t5jin4jr0QVjISPHVb75s6no+FBO+FHTRddlSF4=; b=H652UwHFRDtpdEeo1K0qYmEokBwNO3qRNNKPYIWM3LhIfhEVSYWzleSsOlsQBptWsy NDQiPJm7/qPeMFghvWhmpUX0ZBL4Z/aOEXp/feXTCqICk+MKqeNcKO3z57PHw5Xvomjb 9TTaaCbu6UadDXDUxq1a91JBa0HI0NxeDDnC0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=v0F8t5jin4jr0QVjISPHVb75s6no+FBO+FHTRddlSF4=; b=l2OQeRlNEyGYDl5nwDevfjDAJMSyoCUpGEhlUgt49qkGv607m7gi5xK1+nEJyFprgk qE2Tw/szyc1aVYQWozwbujHmyS1UZLH/HRS1bI8kuLnLVzWs5JavhMEq/qutCYKaudD/ Pu0muS/psnTsLN0aww3AEiDD/VVtnT63fSVXKEleIEt8KAM8TgIZLIDd8N81kCzf/2nW WGxJKrteS0S6LW7m8FXMqqpI9Dh3fBPSAKtkm+dV/cAZyIcCEZQvPHfYXJhlHYYRjVco qrQaXSZ+Mx9GdibI7ebLkAMeaP11PgzEpwE3X1ZOG9OBiB1vrFZsY/9UnHYkQvDPobgN SW1Q== X-Gm-Message-State: APjAAAX37YOMJJOTJLPcT/b5ekeix26zKdaGRFI4alO/qjK0pKpfDhSJ Fc4TCugQm9q2GRTXpbFBE/L+qO34Dny+q5Hm0JX73G62QPd+Ug== X-Google-Smtp-Source: APXvYqzbPhFm0JtLWzLEnp5wXQimjG0V+VjgGOX/+PIkKMsXx1gGN2MJWKIr4vFlNyuBiFApkA/5QLXQTGHYpHjMPYM= X-Received: by 2002:a0c:aed0:: with SMTP id n16mr53555977qvd.101.1563849415479; Mon, 22 Jul 2019 19:36:55 -0700 (PDT) X-Mailman-Approved-At: Mon, 22 Jul 2019 22:41:41 -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:163616 Archived-At: --000000000000e46c82058e50106c Content-Type: text/plain; charset="UTF-8" I can reproduce this issue on Arch Linux, Emacs 26.2. To reproduce, I run emacs -Q and eval the following in *scratch* (package-initialize) (package-install 'spinner) Looks like the actual response says: > Your browser sent a request that this server could not understand. > Reason: You're speaking plain HTTP to an SSL-enabled server port. > Instead use the HTTPS scheme to access this URL, please. Since this only happens on HTTPS, it's a bit hard to MITM to figre out what's actually going down. However, Wireshark shows some interesting stuff: Emacs seems to complete a TLS handshake, then after some packets, sends a TCP RST. Then, astonishingly, Emacs sends a plaintext HTTP request _on port 443_ to the server. I can provide the Wireshark pcap if needed, though I doubt it's too helpful. Let me know if there's any other way I can help debug. Thanks, Christopher Cooper --000000000000e46c82058e50106c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I can reproduce this issue on Arch Linux, Emacs 26.2. To reproduc= e, I run emacs -Q and eval the following in *scratch*

(package-initialize)
(package-install 'spinner)
<= /div>

Looks like the actual response says:
>= ; Your browser sent a request that this server could not understand.
<= div>> Reason: You're speaking plain HTTP to an SSL-enabled server po= rt.
> Instead use the HTTPS scheme to access this URL, please.=

Since this only happens on HTTPS, it's a bit = hard to MITM to figre out what's actually going down. However, Wireshar= k shows some interesting stuff: Emacs seems to complete a TLS handshake, th= en after some packets, sends a TCP RST. Then, astonishingly, Emacs sends a = plaintext HTTP request _on port 443_ to the server.

I can provide the Wireshark pcap if needed, though I doubt it's too h= elpful. Let me know if there's any other way I can help debug.

Thanks,
Christopher Cooper
--000000000000e46c82058e50106c--