My script is throwing a ton of SSL errors as below:
[19852:2032:0912/202419:ERROR:ssl_client_socket_impl.cc(1141)] handshake failed;
returned -1, SSL error code 1, net_error -100
[19852:2032:0912/202419:ERROR:ssl_client_socket_impl.cc(1141)] handshake failed;
returned -1, SSL error code 1, net_error -100
Everything works normally but the errors keep looping and eventually block the script causing it all to come to a halt.
I have tried to suppress the errors as below...but to no effect:
path_to_chromedriver = 'C:/Path/to/Chromedriver'
options = webdriver.ChromeOptions()
options.add_argument('--ignore-certificate-errors')
options.add_argument('--ignore-ssl-errors')
browser = webdriver.Chrome(chrome_options=options, executable_path = path_to_chromedriver)
I am unsure if the error is in my code above if there is something I should add that isn't there, or whether these errors can actually be suppressed.
If it is helpful, this is an old piece of code that was working fine until a few days ago. The site in question added some ad network scripts which caused some SSL certificate issues.
Any help appreciated.