panther icon indicating copy to clipboard operation
panther copied to clipboard

Use proxy with auth ?

Open funnyzano opened this issue 3 years ago • 8 comments

hello, Is it possible to use a proxy with auth please? This works: $client = Client::createChromeClient('/usr/local/bin/chromedriver', ['--proxy-server=socks5://IP:PORT']); This not works: $client = Client::createChromeClient('/usr/local/bin/chromedriver', ['--proxy-server=socks5://USERNAME:PASS@IP:PORT']);

Any help would be really appreciate Thank you

funnyzano avatar Jan 13 '21 13:01 funnyzano

Same issue here. Please help. Thank you!!!

ait1ispring avatar Jul 31 '21 02:07 ait1ispring

Yup same issue here :)

ennisthemenace avatar Aug 27 '21 11:08 ennisthemenace

Hello, Yes same issue, works fine with no login proxy and did not works with authenticated proxy

$result = $this->browser->getCrawler()->html(); result -<html><head></head><body></body></html>

Mepcuk avatar Oct 24 '21 08:10 Mepcuk

Happening to me. The screenshot only shows an empty page after the timeout is reached.

any good news/idea?

sunupf avatar May 12 '22 06:05 sunupf

Same issue here. Is there a solution to this?

bscholl-parcelytics avatar Oct 06 '22 20:10 bscholl-parcelytics

Read https://github.com/php-webdriver/php-webdriver/wiki/HowTo-Work-with-proxy#proxy-with-authentication

wrabit avatar Oct 16 '22 19:10 wrabit

The work around recommended there is not great. For now I will use IP whitelist on the proxy instead of authentication.

cvsouth avatar Nov 06 '22 23:11 cvsouth