Certificate verify failed (unable to get local issuer certificate) problem

Hello ive been running my site for 2 days now and keep getting this error

Failed to process hijacked response correctly : OpenSSL::SSL::SSLError : SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)

It seems to only happen when someone adds a new profile icon to themselves

Apparently dropping my premium certificate for my CDN to the free lets encrypt certificate fixed the issue