我有OVH VPS并且我使用PHP CURL来获取图像。但它显示出一些错误,
[Automattic\WooCommerce\HttpClient\HttpClientException]
Error: Error getting remote image http://s3.ap-south-1.amazonaws.com/productimages1234/images/elegantayeshav5-01.jpg Error: cURL error 28: Operation timed out after 9775 milliseconds with 440188 out
of 3573589 bytes received. [woocommerce_api_invalid_remote_product_image]
我已将公开的文件夹和公共文件夹设为公开,但也出现了此错误。
我可以在浏览器上打开此图像,我可以在vps上执行wget,但它不能使用CURL。
链接:http://s3.ap-south-1.amazonaws.com/productimages1234/images/elegantayeshav5-01.jpg
谢谢!