Php GuzzleHttp\Exception\RequestException:cURL错误56:LibreSSL SSL\u读取:SSL\u错误\u系统调用,错误号60
为什么会出现此错误,我正在使用“Fabbot/goutte”:“^3.2”进行爬网。有时它给了我正确的数据,但大部分都显示了这个错误,原因可能是什么 下面是完整的错误Php GuzzleHttp\Exception\RequestException:cURL错误56:LibreSSL SSL\u读取:SSL\u错误\u系统调用,错误号60,php,curl,guzzle,goutte,guzzlehttp,Php,Curl,Guzzle,Goutte,Guzzlehttp,为什么会出现此错误,我正在使用“Fabbot/goutte”:“^3.2”进行爬网。有时它给了我正确的数据,但大部分都显示了这个错误,原因可能是什么 下面是完整的错误 GuzzleHttp\Exception\RequestException : cURL error 56: LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60 (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) at
GuzzleHttp\Exception\RequestException : cURL error 56: LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60 (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
at /Users/siddharthghedia/code/scraping/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186
182|
183| // Create a connection exception if it was a specific error code.
184| $error = isset($connectionErrors[$easy->errno])
185| ? new ConnectException($message, $easy->request, null, $ctx)
> 186| : new RequestException($message, $easy->request, $easy->response, null, $ctx);
187|
188| return \GuzzleHttp\Promise\rejection_for($error);
189| }
190|
Exception trace:
1 GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle))
/Users/siddharthghedia/code/scraping/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:149
2 GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory))
/Users/siddharthghedia/code/scraping/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:102
Please use the argument -v to see more details.
我们将非常感谢您的帮助