craftcms / feed-me

Craft CMS plugin for importing entry data from XML, RSS or ATOM feeds—routine task or on-demand.
Other
287 stars 140 forks source link

Import Assets - SSL operation failed with code #1507

Open thibaultjadoul opened 1 week ago

thibaultjadoul commented 1 week ago

Description

I've set up a Feed that lets me import products for Craft Commerce. I also want to import images as Assets but I have an SSL certificate error even though it is valid.

productImage - Asset error: https://.../article/picture/3fd0ce6e-e2ee-479b-a0d0-02f1099d48a7 - fopen(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000086:SSL routines::certificate verify failed

I had the same error for the request to the Json Feed that I solved via this parameter in the config feed-me.php .

return [
    '*' => [
        'clientOptions' => [
            'verify' => false,
        ],
    ],
];

Is there an identical parameter for requests to assets? Can I fix this via the Guzzle settings?

Additional info

i-just commented 1 week ago

Hi, thanks for getting in touch! There’s an assetDownloadCurl config option that you could try, but it sounds like there might be an underlying (not Feed Me related) problem causing both issues you mentioned.

Are you getting this issue in your local development environment?