Skip to content
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

"ignoreHTTPSErrors": True not working . Getting pyppeteer.errors.PageError: net::ERR_PROXY_CERTIFICATE_INVALID error for self signed certificate #465

Open
silpi opened this issue Mar 4, 2024 · 0 comments

Comments

@silpi
Copy link

silpi commented Mar 4, 2024

I am trying to launch Chromium and load an https://... url via proxy server
I am using pyppeteer==1.0.2

proxy_server = "https://198.18.xx.xx:443"
browser = await launch({'args': [f'--proxy-server={proxy_server}'], 'headless': False, "ignoreHTTPSErrors": True})

I am not able to load the url because of the Certificate error as mentioned below

pyppeteer.errors.PageError: net::ERR_PROXY_CERTIFICATE_INVALID at https://......

Note
I am able to load my web page properly when I am lunching the browser without proxy (that is when my proxy is set at /etc/hosts file of my local system)

@silpi silpi changed the title pyppeteer.errors.PageError: net::ERR_PROXY_CERTIFICATE_INVALID "ignoreHTTPSErrors": True not working . Getting pyppeteer.errors.PageError: net::ERR_PROXY_CERTIFICATE_INVALID error for self signed certificate Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant