puppeteer / puppeteer

Node.js API for Chrome
https://pptr.dev
Apache License 2.0
87.28k stars 9k forks source link

SOCKS proxy authentication #4170

Open aslushnikov opened 5 years ago

aslushnikov commented 5 years ago

According to this comment, page.authenticate doesn't work for SOCKS proxy.

We should make page.authenticate more capable to drive auth for proxies and servers.

hym1884603 commented 5 years ago

any update?

hym1884603 commented 5 years ago

how to make socks5 authenticate

jordigoyanes commented 4 years ago

I'm struggling with this as well.

inponomarev commented 4 years ago

A year later, still no authentication for SOCKS proxy is available. Which is pity, since SOCKS is a widely used standard...

peterschinkel80 commented 4 years ago

For me a problem as well, is there any workaround for socks5 proxy authentication?

Arnaslt commented 3 years ago

gimme it you lazy people

franz101 commented 3 years ago

... any workaround?

Arnaslt commented 3 years ago

for those who want. you can use playwright, in the issues I saw that it supports addons, and you can https://github.com/microsoft/playwright/issues/2644 + foxyProxy addon via socks5, and it should work

tyurin-ilya commented 3 years ago

Any solutions?

amrmostafa800 commented 3 years ago

Any solutions?

zaksmithcomputing commented 3 years ago

Still nothing?

billpwchan commented 3 years ago

Third-party package puppeteer-page-proxy seems like a solution to this. I've tried it with SOCKS5 proxy, and it works perfectly.

nan4k7 commented 10 months ago

No news? this is really necesary

Nubebuster commented 9 months ago

pls

zmzimpl commented 8 months ago

still nothing...

0x1nsomnia commented 5 months ago

maybe some day? looking like a probably not :(

dannyokec commented 1 month ago

Foxyproxy bypass has always been an answer. But to bad puppeteer / real chrome refuses foxyproxy. My alternative was using playwright firefox and foryproxy and it was great☺️

Cat7373 commented 1 month ago

我是用 XRAY 作为核心给 Chrome 提供 Socks5 代理

codemonies commented 1 day ago

Third-party package puppeteer-page-proxy seems like a solution to this. I've tried it with SOCKS5 proxy, and it works perfectly.

It didn't work for me.

I ended up installing Squid and using HTTP proxy as I need authentication. Socks5 without authentication makes it entirely useless. I suppose whitelisting requesting IP addresses would be an option but that's difficult to maintain.

Please fix this.