In my case, it was a problem with SSL certificate verification. Tools::file_get_contents() method is wrong constructed.
For the time of importing, I changed the code like this:
# /classes/Tools.php
public static function copy($source, $destination, $stream_context = null)
{
if (null === $stream_context && !preg_match('/^https?:\/\//', $source)) {
return @copy($source, $destination);
}
// OLD: return @file_put_contents($destination, Tools::file_get_contents($source, false, $stream_context));
// NEW:
return @file_put_contents($destination, file_get_contents($source, false, stream_context_create(array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
),
))));
}
Hope this helps someone 🙂