Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5962

Auth proxies in Seleniumbase not working on ubuntu

$
0
0

I have a small seleniumbase parser which works fine with a list of auth proxies on Windows. After deploying it on ubuntu server, the code crashed with an exception:

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:хххх from chrome not reachable

The sample code is as follows:

from seleniumbase import Driverproxy = LOGIN:PASSWORD@IP:PORTdef get_browser():    browser = Driver(        uc=True,        undetectable=True,        headless=True,        proxy=proxy    )    return browserbrowser = get_browser()browser.open(WEBSITE)

Without a proxy the parser works OK. I'd appreciate any clues as to what to fix in the code.


Viewing all articles
Browse latest Browse all 5962

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>