Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/322.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 硒:“;握手失败……”;_Python_Selenium_Web Scraping - Fatal编程技术网

Python 硒:“;握手失败……”;

Python 硒:“;握手失败……”;,python,selenium,web-scraping,Python,Selenium,Web Scraping,我目前正在与Selenium合作,以完成家庭作业网站Slader。但是,当我这样做时,我会得到一个错误 [7072:2356:0304/142220.483:ERROR:ssl_client_socket_impl.cc(941)] handshake failed; returned -1, SSL error code 1, net_error -101 我补充说: options.add_argument('--ignore-certificate-errors') options.ad

我目前正在与Selenium合作,以完成家庭作业网站Slader。但是,当我这样做时,我会得到一个错误

[7072:2356:0304/142220.483:ERROR:ssl_client_socket_impl.cc(941)] handshake failed; returned -1, SSL error code 1, net_error -101
我补充说:

options.add_argument('--ignore-certificate-errors')
options.add_argument('--ignore-ssl-errors')

但它仍然会产生同样的错误。仅供参考,我正在使用Chrome。它似乎没有中断程序,但我很好奇为什么会发生这种情况

这个错误可能有很多原因。。。但请检查是否在该浏览器上安装了Amazon的根CA。也可以看到:你的chrome可能已经过时了。我刚刚更新了ChromeDriver,但是现在我得到了净错误107。不过,这似乎仍然是一个SSL问题。