The answer from Michael does not work for me, since I run it in Alpine Linux, and .dll is only a Windows extension. Do not use it outside of Windows, it only adds warnings.
Solved my problem:
I had a self-signed certificate that was unable to establish a connection.
To verify that this is a problem, you can make a request:
wget path:
// not working: wget https://accounts.google.com:443 // working: wget https://accounts.google.com:443 --no-check-certificate
or curl:
// not working: curl https://accounts.google.com:443 // working: curl https://accounts.google.com:443 -k
To temporarily solve the problem in my dev docker container, I added the use of the curl adapter and did not check the certificate for code:
$config = array( 'adapter' => 'Zend_Http_Client_Adapter_Curl', 'curloptions' => [CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false] ); $client = new Zend_Http_Client(url_combine([$this->_url, $call]), $config);
source share