Laravel Twitter OAuth'与api.twitter.com有关的未知SSL协议错误:443'

时间:2019-10-16 21:10:32

标签: php laravel curl twitter-oauth dreamhost

我在运行laravel 5.2.45和curl 7.21.0的php 5.6的dreamhost VPS上托管。我有一个应用程序,在过去的一年中,我实际上并没有做太多维护,但是今天又回到了运行状态,并且在运行artisan命令时遇到了以下错误。

我正在使用abraham/twitteroauth进行oauth,并使用fennb/phirehose从Twitter的流式api提取推文。我看到了一些有关更新cURL版本以解决问题的帖子,但是我在没有root访问权限的vps上,所以对我来说这不是一个选择。我一直在使用TwitterOAuth.php中的各种CURLOPT_做一些试验和错误(第467-476行),但是最终结果没有改变。

production.ERROR: exception 'Abraham\TwitterOAuth\TwitterOAuthException' with message 'Unknown SSL protocol error in connection to api.twitter.com:443 '

任何见解,建议或帮助,将不胜感激!

0 个答案:

没有答案