Open guillaume-guerdoux opened 2 years ago
And here is my selenium code, also not working
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
options = Options()
options.add_argument("--ignore-certificate-errors")
#options.add_argument('--headless')
HEADLESS_PROXY = "localhost:3128"
caps = webdriver.DesiredCapabilities.CHROME.copy()
caps['acceptInsecureCerts'] = True
caps['proxy'] = {
"httpProxy": HEADLESS_PROXY,
"sslProxy": HEADLESS_PROXY,
"proxyType": "MANUAL",
}
driver = webdriver.Chrome(executable_path='/usr/bin/chromedriver', options=options, desired_capabilities=caps)
driver.get("http://nordvpn.com/what-is-my-ip/")
time.sleep(10)
driver.close()
Hi, Someone solve this problem? I'm having similar problems too:
<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">{"error":{"code":"executor","message":"cannot execute a request","stack":[{"code":"executor","message":"cannot execute a request","status_code":0},{"code":"","message":"cannot dial to the netloc","status_code":0},{"code":"","message":"cannot upgrade connection to tls","status_code":0},{"code":"tls_handshake","message":"cannot perform TLS handshake","status_code":0},{"code":"","message":"x509: certificate signed by unknown authority","status_code":0}]}} </pre></body></html>
Someone was able to use this proxy with python 3.6 and selenium 3?
Hi,
Have you installed the ca.crt provided in the repository?
Hi, I'm trying to use zyte proxy with selenium and seleniumwire (tried with Firefox and Chrome) but I still have this issue :
which seems to be linked to
cannot perform TLS handshake: x509: certificate signed by unknown authority
for every https urls.
Here is my code :
and here is my configuration
Would you have any idea please ? Because I tried with selenium and seleniumwire but still get this error
Thank you very much