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
Firefox version metadata download should respect HTTPS proxy config #6573
Comments
…ox version metadata on install Issues: puppeteer#6573
For anyone interested, I ended up switching to Playwright in order to work around this. |
We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days. |
We are closing this issue. If the issue still persists in the latest version of Puppeteer, please reopen the issue and update the description. We will try our best to accomodate it! |
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
Please include code that reproduces the issue.
HTTP_PROXY
/HTTPS_PROXY
env vars andproxy
/https-proxy
NPM configPUPPETEER_PRODUCT=firefox
What is the expected result?
Puppeteer's
install.js
should use the provided proxy config when downloading Firefox version metadata from https://product-details.mozilla.org/1.0/firefox_versions.jsonWhat happens instead?
Download fails with
ECONNREFUSED
.===
The problem is that in install.ts, proxy options are configured for the binary data download but not for the Firefox metadata download.
This can be done via the
https-proxy-agent
package which is already a dependency (used in BrowserFetcher.ts). I'll look at submitting a PR.The text was updated successfully, but these errors were encountered: