GNU bug report logs - #36499
26.2.90; file-error spinner-1.7.3.el, Bad Request

Previous Next

Package: emacs;

Reported by: Brady Trainor <emacs <at> tangential.info>

Date: Thu, 4 Jul 2019 15:06:02 UTC

Severity: normal

Found in version 26.2.90

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Christopher Cooper <cooperc <at> ocf.berkeley.edu>
To: 36499 <at> debbugs.gnu.org
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 part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.