New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https-agent makes http PUPPETEER_DOWNLOAD_HOST download fail #4556
Comments
This was referenced Jun 10, 2019
This was referenced Feb 3, 2020
This was referenced Feb 22, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Environment
Steps to reproduce:
http_proxy=http://localhost:3128 PUPPETEER_DOWNLOAD_HOST=http://storage.googleapis.com node install.js
Comments:
npm install puppeteer
with the same proxy and host as above.http://storage.googleapis.com
on purpose, that is when the issue happens. Actually, the repo I pretend to use will be in a http server and that is why I have the problem. In the example, I used googles' as it works for manual download and is enough to reproduce the problem.Please include code that reproduces the issue.
http_proxy=http://localhost:3128 PUPPETEER_DOWNLOAD_HOST=http://storage.googleapis.com node install.js
or:
http_proxy=http://localhost:3128 PUPPETEER_DOWNLOAD_HOST=http://storage.googleapis.com npm install puppeteer
What is the expected result?
The http proxy will be used to download the chromium version from the specified $PUPPETEER_DOWNLOAD_HOST host.
What happens instead?
It should be noted that
https-proxy-agent
isn't meant to be used when the target download is http-served, see:The text was updated successfully, but these errors were encountered: