且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用REST API身份验证错误通过PHP连接到VCenter

更新时间:2022-05-28 21:27:30

在调试代码时,$ out变量返回null吗? 如果是,是否可以检查curl是否在$out = json_decode(curl_exec($ch));中返回 56-OpenSSL SSL_read:成功错误?

when you debug your code, the $out variable return null? If yes, can you check if your curl returns 56 - OpenSSL SSL_read: Success error in $out = json_decode(curl_exec($ch));?

此错误出现在我的代码中,并且我看到7.67版本中的cURL引起了此麻烦.

This error occoured with my code, and I see wich cURL in 7.67 version cause this trouble.

我的解决方案是将cURL版本降级到7.65.

My solution was to downgrade cURL version to 7.65.

对我有用!