WP Smush
[resolved] SSL (16 posts)

  1. dcaccounting
    Posted 2 years ago #

    Does this plugin working with a secure site?

    I've tried a couple of times and I get an error saying it failed to load or something. Just wondered if it is because we have HTTPS.




  2. tom.eagles
    Posted 2 years ago #


    let me get back to you on this one. Just for your information we have taken over the plugin and are in the final stages of releasing an update to the plugin, Stay tuned.



  3. dcaccounting
    Posted 2 years ago #

    Look forward to hearing from you Tom :)

  4. infolotnicze
    Posted 2 years ago #

    Looking forward for https support. Tis would be a life saver.

  5. infolotnicze
    Posted 2 years ago #

    Any news about SSL support? ;)

  6. Aristeides Stathopoulos
    Posted 2 years ago #

    @infolotnicze have you tested the latest version of the plugin?
    Many things have changed but I don't currently have SSL setup anywhere to test this out..


  7. infolotnicze
    Posted 2 years ago #

    The respons is:
    Bad response from Smush.it

    so no go for SSL ;)

  8. @infolotnicze,

    Just taking over support of the plugin code from a previous developer and trying to hit some open threads.

    I'm not sure I understand the issue. The plugin makes an outbound call from your host to the Yahoo! Smush.it APi service. The URL called is http://www.smushit.com/ysmush.it/ws.php

    So I'm trying to figure out how SSL (https://) plays into the question. If your WordPress site is setup for SSL then the admin screen should function as needed. There should be no limitation on connecting to the remote Yahoo! site over non-SSL as this is done from the server PHP code and not within the browser environment.

  9. infolotnicze
    Posted 1 year ago #

    Well I install the plugin, go to media and hit smush it for a single image and after a second or two I get:
    Bad response from Smush.it

    That is all. Th plugin stopped to work after I moved to a SSL site (not only Admin but also the frontend is SSL)

    See here: http://wordpress.org/support/topic/plugin-wp-smushit-smushit-doesnt-work-with-https?replies=4

  10. @infolotnicze,

    I take that back. I do see the issue. If the image URL provided to the API is https:// The Yahoo! service will not process it. It MUST be non-SSL.

    Adding a fix for this in Smush.it

  11. infolotnicze
    Posted 1 year ago #


    Do I understand that it will start to work in this fix?

  12. @infolotnicze,

    Correct. Just tested this on my own WP site where I run the admin under SSL. That is when I noticed the issue. When the admin is under https it builds the image URL also using https. So I've added code to the upcoming version to convert the https:// image URLs passed to Smuch.it API to http:// url.

    Should be released in the next 24 hours.

  13. Mike
    WPMU DEV Support Staff
    Posted 1 year ago #

    Hi @infolotnicze Yes this should be fixed in, please download it and try it out :-)

    @dcaccounting could you give this a spin too please?

  14. infolotnicze
    Posted 1 year ago #


    I still get:
    Bad response from Smush.it

    I think that without Yahoo suplying SSL this will not work on my site as everything is enforced for SSL.

  15. Kay van Aarssen
    Posted 1 year ago #

    I also have the same problem.
    Also updated today. And i also run HTTPS

  16. @infolotnicze, @Kay van Aarssen,

    Are you both stating that your images are ONLY available via SSL? The plugin we offer attempts to convert the https:// URL for the public image to http:// when calling the Smush.it API. If the image is NOT available via non-SSL (http://) then Yahoo! will report the error.

    Realize this is NOT a bug with the plugin but a limitation with Yahoo! Smush.it service. IT simply does not allow image URLs that are https://

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Smush
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.