Cuadrix / puppeteer-page-proxy

Additional module to use with 'puppeteer' for setting proxies per page basis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work for me

Nisthar opened this issue · comments

I used your example code with proxies from http://free-proxy.cz/en/

ice_screenshot_20201125-124928

All other tabs work correctly.

Show us some code please lol

Also experiencing this for HTTPS traffic only. Any workaround for this?

For me this was occuring because I used an outdated version of HttpsProxyAgent in the same project. After npm update it was fixed for me

I had the same error, when we use a HTTPS proxy, we should use the domain name as host, we can't use an IP address or the security handshake with the proxy will fail.

https://myuser:mypassword@123.123.123.123:443 => Will fail
https://myuser:mypassword@serv1.myproxydomain.com:443 => Will succeed

Maybe it could be nice to add this information in the README?

Do you have a way to set up all page IPs? I need to get all page proxies

@3024407779 you can set the proxy for the whole puppeteer instance via chromes launch parameters

I had the same error, when we use a HTTPS proxy, we should use the domain name as host, we can't use an IP address or the security handshake with the proxy will fail.

https://myuser:mypassword@123.123.123.123:443 => Will fail
https://myuser:mypassword@serv1.myproxydomain.com:443 => Will succeed

Maybe it could be nice to add this information in the README?

I think this is not the issue. You can, without any problems, start Chrome(Chromium with the proxy-parameter and assign a proxy for HTTPS by providing the IP only. So this has to work. I am getting the same error though, would love to get this fixed.