WordPress.org

Ready to get started?Download WordPress

Forums

WP Smush.it
[resolved] HTTP Error on image upload. (55 posts)

  1. Eugen Oprea
    Member
    Posted 2 years ago #

    Alex, thank for your update!

    I really like the plugin, but it looks like we need to find a different solution.

    CW Image Optimizer looks promising, but unfortunately it doesn't work on shared hosting.

    Thanks again!

    Eugen Oprea

  2. mjrwebdesign
    Member
    Posted 2 years ago #

    I'm with @Rastarr on this one. I think a wp-kraken plugin has lots of mileage especially as it now has an api available and includes other tools like ico convertor (it would be great to convert your media library logo into a .ico file straight from the dashboard).

    In my opinion Yahoo have missed a massive revenue stream with the smush.it service. They could of developed the plugin themselves and charged a fee for bulk usage over a certain amount of images. Very sad to see this useful web service so neglected.

  3. fredgorski
    Member
    Posted 2 years ago #

    I only came to understand this problem was happpening because of wp smush.it today, after several disappointments while trying to do my work. Thing is... CW-Optimizer requests a opt-png opt-etc. which seems to be some php anything and this is really not my beer. Anyone with a suggestion? It´s been impossible to work with having http errors every time I try loading an image after all the work is done and ready to post...

  4. Alex Dunae
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hi all,

    I just released version 1.6.0. While it doesn't do anything about the Smush.it service itself, it does add some logic to detect when Smush.it is having issues and disables auto-smushing for a few hours. You can configure automatic smushing in Media > Settings and, as always, can manually or bulk smush images as you like.

    I've had a few interesting exchanges with other developers about adding some other compression services (both on the server and remote). That's the next step in taking the load of Yahoo!'s Smush.it.

    Let me know in these boards how the new version works for you.

    Cheers,
    Alex

  5. fredgorski
    Member
    Posted 2 years ago #

    Nice, I have tested it now, turned automatically on (it came as disabled as default) and first image went on nicely... Now this automatically smushit being disabled as soon as I activate it, already means it detected service down? Will it detect again next time?
    Really nice you have been carrying for it. I will be reporting new issues if it ever comes. Only way I can contribute to your work.
    thanks

  6. Alex Dunae
    Member
    Plugin Contributor

    Posted 2 years ago #

    @fredgorski -- By default it will wait 6 hours before trying again, so everything uploaded in that time period will need to be manually smushed. I think that timeout might be a bit extreme -- maybe an hour would be more appropraite.

    Definitely report any other issues that crop up.

  7. Martin
    Member
    Posted 2 years ago #

    Great you're carrying the development, Alex. That really is wonderful.

    I wonder about the 6 hours too. I also wonder whether the service itself is causing the timeout. I know in the past I've done a few manual Smushes and from memory, on those occasions, I got to do 2 compressions and the next caused timeouts. Have you heard whether Yahoo is placing any sort of throttling on the service?

    That said, it might be a cool feature to add a cron based bulk Smush.it to cater for all the images 'left hanging' without compression. Just a thought.

  8. ronavroberts
    Member
    Posted 2 years ago #

    Groping my way through what looks like an ongoing development process. On attempting bulk, I get:

    Processing 120526_orchardcrew_004…
    Automatic smushing has been disabled temporarily due to an error. Operation timed out after 20001 milliseconds with 0 bytes received

  9. Alex Dunae
    Member
    Plugin Contributor

    Posted 2 years ago #

    @Rastarr -- I think Smush.it must be rate-limiting things. All my attempts end up the same as your. It's the only thing that makes sense....

    @ronavroberts that means that the Smush.it service timed out -- you can manually enable it again in Media > Settings.

  10. Rupesh23
    Member
    Posted 2 years ago #

    Even I am getting error "Automatic smushing has been disabled temporarily due to an error. Operation timed out after 20000 milliseconds with 0 bytes received" with Version 1.6.0.

  11. Alex Dunae
    Member
    Plugin Contributor

    Posted 2 years ago #

    @Rupesh23 -- that's how it's meant to work. Since we can do anything about Smush.it, the goal is to stop the plugin from slowing down your own site whenever Smush.it is overloaded.

  12. Sahil
    Member
    Posted 2 years ago #

    I'm the developer of the plugin. I can confirm that this is a transient error with Yahoo!'s Smush.it service which is, unfortunately, totally out of my control.

    Thanks a lot for the update Alex. The plugin is working fine now.

  13. Matrix
    Member
    Posted 2 years ago #

    Thanks a lot for the update Alex. I re-activate the plugin now.. ;-)

  14. zepolo
    Member
    Posted 2 years ago #

    not compatible with WP 3.3.2.

  15. elling
    Member
    Posted 2 years ago #

    @sulistyo woww, how could it be ?. But i found also with same other users where the new update couldn't use its function. Not like older version 1.5. Is it not compatible with WP 3.3.2. ?

    Thanks b4 :)

  16. Bozz
    Member
    Posted 2 years ago #

    THANK YOU ALEX!!

  17. Alex Dunae
    Member
    Plugin Contributor

    Posted 2 years ago #

    @zepolo not compatible in what way? Did you get an error?

  18. elling
    Member
    Posted 2 years ago #

    @Alex Dunae.When I press the button of Bulk Smush It. I found this sentences "Automatic smushing has been disabled temporarily due to an error. Operation timed out after 20000 milliseconds with 0 bytes received"

    and some of images are not smushed automatically, it's different from previous version (1.5), the images are smushed automatically !!!

    How to resolve this problem ??

    Thanks, Best Regards

  19. sulistyo
    Member
    Posted 2 years ago #

    @elling : It's a recent issue that yahoo smush.it service's unstable, dealing with API key used by the plugin, it's seem that Yahoo in particular time has throttling the request made by the plugin. It's mean that The error is on Yahoo smush.it service side, not on the plugin itself. And the developer Alex Dunae has released the new update of the plugin that the ability to detec wheter the Smush.it service is down or otherwise's included on its feature.

  20. Peter Elmered
    Member
    Posted 2 years ago #

    @Alex Dunae: This is great plugin, if the Yahoo API works. However, an essential function such as image upload in a CMS should never be dependent on an external API to work. An external API should never break important functions.
    You could be fixed pretty easily by running all external calls within an try...catch statement(this is best practice to do at all times!).

    This has caused a lot of headache for me and my colleagues. We had to take time of out busy schedule to debug this and then fix this for all of our clients by manually deactivating the plugin for all of them.

    This is a great plugin that we want to use and I want to thank you for sharing it. I would really appreciate if you could implement this fix in the near future.

  21. xseovn
    Member
    Posted 2 years ago #

    my website still have this error. how i can fix it

  22. CouponCodePlugin
    Member
    Posted 2 years ago #

    Hello, first thing's first, thank you for developing this plugin.

    I have no idea why yahoo want the images processed on their server. This seems like an odd method to force upon everyone.
    I can understand that this would be useful for users on shared hosting, but for those of us with our own servers, we have the resources to process all of the images on our own server.

    As a website owner, I am extremely concerned over the following terms which you must agree to to use the smush it service:

    By submitting your image to the Service for optimization, you represent and warrant that:

    b) You have the written consent, release, and/or permission of each and every identifiable individual person in your images to use such person's image or likeness in your image for use in the manner contemplated in these TOU;

    So that means you can not use it on a site where the photos are of public areas which will include pepople who have not signed a consent release agreement.

    d) You will not use the service in a manner that exceeds reasonable request volume, constitutes excessive or abusive usage, as determined by Yahoo! in its sole discretion.

    So, yahoo can ban me if I use it too much. How to they determine this? Is it based on IP address or domain? If it is IP address, users of systems such as cloudflare or users with shared hosting could easily be banned when they have not submitted all of the images themselves as the IP address will be shared between many, many users.

    4) You retain ownership to your images submitted to the Service. However, by submitting your images to Yahoo!, you hereby grant Yahoo! and its affiliates the following worldwide, royalty-free, non-exclusive, sublicensable and transferable rights and licenses: To temporarily host, cache, store, or modify your images to appropriate media formats, standards or mediums as part of the Service.

    So, to use the service, I have to grant yahoo a license that essentially allows them to do whatever they want with my photos. While I understand they need a license to store it on their server even if only for the processing time, the license that they are actually demanding would allow them to sell my images, use them elsewhere or do whatever they desire to do with them. If any of them are used elsewhere, the privacy of users who have family blogs could be violated. For businesses, it could mean content dilution if the images appear elsewhere on the internet.

    The terms further state that yahoo are not held liable or responsible for any damages or loss of earnings. This is absolutely standard for almost any business. However, what is concerning is that when this is coupled with #4, it means that should yahoo use your images in some way that negatively impacts you (and they could even make money from it), then you have almost zero comeback.

    http://info.yahoo.com/legal/us/yahoo/smush_it/smush_it-4378.html

    Is there any reason why yahoo want it done on their server? I assume that the process is not unique to yahoo and as such can be reproduced on the server side. I have started converting the images on my pc so that they are already reduced in size before uploading them.

    Also, I wanted to point out that while this plugin is awesome, it only works on images in the media library, it would be lovely if it could search the plugins and themes folders for images that can also be improved upon as that is usually where the majority of images are from as they form the design and are on every single page of the site.

    Sorry it's such a long reply, I just wanted to mention a few of the things that I do not think many people realise and try to see how the plugin can be improved upon.

  23. Jim
    Member
    Posted 2 years ago #

    I know there have been plenty of issues with people being not able to use the Smush.it service, but I'm curious if anyone HAS been able to use it?. Particularly in the last month or so. In the past month or two, I haven't been able to smush a single image, regardless of when I try (even in the middle of the night).

    Is the service 100% down now?

    I really need to figure out a solution or alternative to this. I was interested in CW Image Optimizer, but you need to have a Linux server, And know Linux to install it. Since I don't know Linux, the install instructions looked like Greek to me.

  24. Martin
    Member
    Posted 2 years ago #

    It works sometimes for me. Trial and error and usually better in the early mornings, here in Australia so maybe it's just getting smashed continually and they have way too few resources to cope.
    Pretty rubbish situation but for those of us without access to install the other server side utilities, Smush.It is all I got :)

  25. CouponCodePlugin
    Member
    Posted 2 years ago #

    I too have had massive issues with the service. While I have been able to smush some images, it has hardly been worth the effort due to the time involved in playing with it just to get it to smush a few images.

    Unfortunately, yahoo has come up with a great idea and then implemented it in an horrific and counter-productive manner.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags