Plugin installer proxy not working properly for HTTPS URLs #15581
Labels
bug
Fixes for quality problems that affect the customer experience
Team:Operations
Team label for Operations Team
When specifying an
http_proxy
for installing a plugin and you try to install a plugin via HTTPS, you will receive an error:This is because the HTTP proxy package send to the proxy is actually build in a corrupt way.
If you e.g. are installing a plugin as follows:
the actual request to the proxy, will have the following HTTP content:
So as you can see even though it picks up the HTTPS-iness from the URL and uses port 443 (in the Host header and the URL) it will still write the
http
in front of the URL, thus failing, due to the mismatch of protocol and actual protocol spoken on that port.This looks for me like an issue within the upstream library
HttpProxyAgent
, that generates that proxy request./cc @marius-dr
The text was updated successfully, but these errors were encountered: