Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author codefish

    (@codefish)

    Is this still an issue? Can you submit the page with the error so I can investigate?

    Thread Starter darrynsoper

    (@darrynsoper)

    Hey, yes it is. I had removed the widget because it wasn’t working correctly but have reactivated it for you to check out.

    https://thechildrensguide.co.nz/

    It’s at the bottom of the sidebar. If you use the web inspector to change the URL from ‘https’ to ‘http’ it shows the image (https://monosnap.com/image/987dH7kckbVcKcv8UFK5jdoKXCJ8wk).

    Cheers,

    Plugin Author codefish

    (@codefish)

    yes, I see the error. It seems the SSL certificate used is invalid, I will try reproducing it on my test site.

    Plugin Author codefish

    (@codefish)

    I don’t exactly what goes wrong. The plugin contains a check to see if the site is running SSL. If so, it will server the https:// versions of the images. In your case this happens.
    However your site is not running SSL, so the plugin should serve the images over https://. Is it possible to send the values of the following server variables:

    • $_SERVER[‘HTTPS’]
    • $_SERVER[‘SERVER_PORT’]

    This is what the plugin checks on currently.

    Plugin Author codefish

    (@codefish)

    I released a fix for this issue in 1.0.5 available for download now; the plugin uses protocol relative urls for the thumbnails so SSL issues should not happen any longer.

    Thread Starter darrynsoper

    (@darrynsoper)

    Nice one! Thanks a million!

    mandy@nepeta

    (@mandynepeta)

    I have 1.0.6 installed and have just installed SSL. The board images are displaying just fine on the http pages, but not at all on the https (checkout) page. Have the 1.0.6 changes negated the 1.0.5 ones?
    Sorry if I am the purveyor of bad news.

    Plugin Author codefish

    (@codefish)

    Do you have a link where I can view the issue?

    mandy@nepeta

    (@mandynepeta)

    You can see the problem at
    https://bluebellandbrook.co.uk/bandb/my-account/

    The widget works fine on other pages e.g. home at

    https://bluebellandbrook.co.uk/bandb/

    Be warned that we are working on the site but it should give you the info you need.

    Plugin Author codefish

    (@codefish)

    I was hoping the protocol relative urls would fix this issue, but it doesn’t. The SSL certificate used by Pinterest is not valid for the domain it is serving the images from (sorry for the dutch error):

    media-cache-ak0.pinimg.com gebruikt een ongeldig beveiligingscertificaat.
    Het certificaat is alleen geldig voor de volgende namen: *.akamaihd.net , *.akamaihd-staging.net , a248.e.akamai.net (Foutcode: ssl_error_bad_cert_domain)

    As far as I know, the only way to fix this properly is if Pinterest would fix the SSL certificate. Another (workaround) would be to use the https:// version also from SSL, however this will trigger a warning in most browsers. Yet another solution would be to remove the Pinterest widget completely for SSL pages to prevent the error from showing.

    Hope this helps!

    mandy@nepeta

    (@mandynepeta)

    Thanks for the prompt diagnosis which makes a lot of sense. I think I will hide the widget on the affected pages as there is not a lot we could do about it – except perhaps whinge at pinterest.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Broken images from secure server’ is closed to new replies.