WordPress.org

Forums

Pinterest Pinboard Widget
[resolved] Broken images from secure server (12 posts)

  1. darrynsoper
    Member
    Posted 1 year ago #

    The plugin appears to be trying to serve up the secure server version of the pinterest images which the browser doesn't seem to like. Is there anyway to tell it not to load the secure server version? i.e. 'http' instead of 'https'?

    The website is thechildrensguide.co.nz.

    Any ideas?

    http://wordpress.org/plugins/pinterest-pinboard-widget/

  2. codefish
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. darrynsoper
    Member
    Posted 1 year ago #

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

    http://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 (http://monosnap.com/image/987dH7kckbVcKcv8UFK5jdoKXCJ8wk).

    Cheers,

  4. codefish
    Member
    Plugin Author

    Posted 1 year ago #

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

  5. codefish
    Member
    Plugin Author

    Posted 1 year ago #

    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 http://. 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.

  6. codefish
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  7. darrynsoper
    Member
    Posted 1 year ago #

    Nice one! Thanks a million!

  8. mandy@nepeta
    Member
    Posted 1 year ago #

    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.

  9. codefish
    Member
    Plugin Author

    Posted 1 year ago #

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

  10. mandy@nepeta
    Member
    Posted 1 year ago #

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

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

    http://bluebellandbrook.co.uk/bandb/

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

  11. codefish
    Member
    Plugin Author

    Posted 1 year ago #

    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 http:// 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!

  12. mandy@nepeta
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pinterest Pinboard Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.