WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Sahil
    Member
    Posted 1 year ago #

    Gives an HTTP error while uploading media. The old version of uploader gives connection time-out error. Please make it compatible with WP 3.3.2.

    http://wordpress.org/extend/plugins/wp-smushit/

  2. I only have the problem sometimes. It works like 99% of the time. Very odd.

  3. Sulaiman
    Member
    Posted 1 year ago #

    Hey there,

    I've also got the HTTP error! sounds like the API broke down... Deactivating the plugin will rid off the HTTP Error...

    @Ipstenu: I had same as you, sometimes it works well sometime stopped but now it mostly been stopped!

  4. lesslazy
    Member
    Posted 1 year ago #

    I've been getting this problem all day as well. Finally figured out it was Smush It and deactivating the plugin has fixed the problem.

  5. Paul de Wouters
    Human Made
    Posted 1 year ago #

    Same here, the problem seems to occur on thumbnail creation.
    deactivating the plugin solved the upload and thumbnail creation error

  6. Andreas Ostheimer
    Member
    Posted 1 year ago #

    Same here with latest WP and Plugin version. HTTP error on upload. Deactivating the plugin makes it working again.

  7. alexpena
    Member
    Posted 1 year ago #

    I think it has to do with the Yahoo servers providing the service when doing the HTTP request. Nothing to do with the plugin besides connecting to the server. You will notice that when the problem occurs that smushit.com is also super slow. And lately it's been going really slow, it happens to me all the time. Sometimes I'm able to keep the plugin on, but turned off when it's slow. I try not to use the plugin since I have a frontend user page that allows users to upload and it slows it down too much, so I'm hoping I can find a plugin I can buy that does all the compression right on my server instead of using the Smush.it. Last week the service was running good but I turned it off as soon it started to mess up, I tested it just a few minutes ago and its still a bit slow so sometimes it works and sometimes it doesn't.

  8. Andreas Ostheimer
    Member
    Posted 1 year ago #

    So basically the service is overcrowded and unless they add resources it is better to stay away, right?
    Anything smushit has to say about this here?

  9. alexpena
    Member
    Posted 1 year ago #

    Well, that's what I believe. WP Smush.it plugin is not created by Yahoo, the developer just used it's API so I doubt Yahoo has anything to say about it, it's more experimental than anything. Compressing it on smushit.com will work even thou sometimes i notice it a bit slow, but it works even thou that's not what we want to do.

    CW Image Optimizer is suppose to be a better solution since works on your own server instead of using an API to Yahoo's Smushit especially when dealing with images, which would make it even faster, the downside is that you have to install littleutils image optimization tools (works only on linux servers) and if you're using a share server they might not allow you to install it. I tried to install it on Hostgator's shared server and it didn't let me. So I might have to wait until I upgrade to their VPS Hosting in order to use it unless I find another solution. If you have a VPS or Dedicated server then I don't think you should have a problem installing it.

    For now I just try to avoid uploading PNG files since it slows down the site, so if I ever have to upload PNG I save it to JPG before I upload. And when ever I have time I turn on the WP Smush.it to see if I can compress a few JPGs, lately I get errors but sometimes it works, big headache.

    But I am trying to stay away from WP Smush.it plugin

  10. alexpena
    Member
    Posted 1 year ago #

    for example like just now I was able to compress a few of my latest images posted using WP Smush.it , it only failed once. I guess that's why I haven't uninstalled the plugin since sometimes it works. So it is still useful.

    I just have to disable it once I'm done compressing them so it doesn't fail when my users are uploading images, plus I don't like it when they have to wait long for it to compress.

  11. adambundy
    Member
    Posted 1 year ago #

    I am having the same issue here (HTTP error). It cropped up about a week ago. Oddly, before I tracked it back to this plugin, a database repair/optimize cured the issue temporarily. Disabling the plugin has restored image upload/crunch capability. Any word from the dev??

    Thanks!

  12. hotpink
    Member
    Posted 1 year ago #

    Yes, we are getting the HTTP ERROR as well, altho sometimes it seems to work, and sometimes not . . .
    Also, if we attempt to Smush a loaded file, we get this message
    "Could not find /home/l28c/public_html/wp-content/uploads/ Re-smush"
    Tried the repair and optimise, as suggested, but did not seem to fix this.
    As others have said . . . Any word from the dev??
    Thanks :)

  13. Alex Dunae
    Member
    Plugin Author

    Posted 1 year ago #

    Hi all,

    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.

    Understandably, the Smush.it service really hasn't ever been that much of a priority for Yahoo! and these intermittent problems do crop up. Their API policy (http://developer.yahoo.com/yslow/smushit/faq.html#faq_api) has been the same since launch, though in my sporadic contacts with them they've approved the plugin.

    I'm looking for a long term solution. It seems that the ideal option is one that shells out to optipng, jpegtran, pngcrush, etc... and falls back to the web service when that's not available. I don't think that will benefit the majority of people who are on shared hosting, though, since PHP will be locked down and the system itself won't necessarily have all/any of the tools installed. (This is the method employed by the CW Image Optimizer plugin. If that could work for any of you I'd definitely recommend checking it out.)

    I've also experimented with just doing a bit of stuff in PHP's GD library. The results weren't fantastic but it did yield some meagre savings.

    So... what does this mean in the immediate term? The best I can think of is adding some logic to detect when the Smush.it service is down or timing out and then holding off on processing images for a while. Not very glamorous but it would at least obviate the need to deactivate the plugin whenever the web service is down.

    I sympathize with any frustration you're feeling. Suggestions are most welcome.

    Alex

    P.S. I'd also be really happy if anyone was looking for a project and wanted to spend a bit of time on the plugin (e.g. implementing the timeout detection).

  14. Bozz
    Member
    Posted 1 year ago #

    Alex, thank you for the great plugin! Timeout detection would be a welcome addition in the near term.

  15. Jerome
    Member
    Posted 1 year ago #

    I'm glad I found this thread... I am having the same exact issue, and to help SEs index this thread better, I searched for wordpress 3.3.2 http error uploads

    Sorry you're having trouble, Alex. I guess I'll deactivate the plugin for now and hopefully you can get something squared away, because I do love the savings I get from your plugin, with hosting 10,000 images so far.

  16. Paul de Wouters
    Human Made
    Posted 1 year ago #

    another possible alternative is using sencha.io service which will serve different size images depending on the device.
    there's a plugin for that: http://wordpress.org/extend/plugins/auto-tinysrc/

  17. rickyprice
    Member
    Posted 1 year ago #

    Thansk Alex, will try CW Image Optimizer. Too bad i really loved your plugin. Will keep track of any improvemnet/change you make.

    RP
    Adondeirhoy.com

  18. Bozz
    Member
    Posted 1 year ago #

    Another thought: Perhaps an option to disable the auto smush-it on upload function.

    This way we could still make use of the bulk smush.it, based on how well the API is doing, but if it goes down it wouldn't cause problems with new files if the auto smushit on upload function is disabled. Thanks for considering improvements in light of the tricky connectivity to Yahoo.

  19. driftar
    Member
    Posted 1 year ago #

    Same issue here. Actual installation of wordpress 3.3.2 and also WP Smush.it plugin running. When i upload some photos via the uploader, i'll receive an HTTP error in the uploader.

    I had to disable the WP Smush.it plugin in order to make the uploader work correctly.

  20. southcast
    Member
    Posted 1 year ago #

    And I thought I am the only one having the problem, the developer seems helpless although it is not his fault. The problem is I run a website which is too much image dependent and for a while I thought the HTTP error is harmless but now I have come to the conclusion would be to get rid of this plugin I guess till the time a good alternative comes up. Thanks for helping me decide, it had begun to affect my workflow.

  21. pythonskynet
    Member
    Posted 1 year ago #

    Same Http error in 80% of image uploads.. I am going to remove this plugin.. Waiting for the update from the developer

  22. astrasuite
    Member
    Posted 1 year ago #

    Smush-it is a goner, in either wordpress or out of it. Super slow, it's a waste of time now for even 10 images !

    I am going to try this Caesium :

    http://capturedbloggingtips.com/2012/01/how-to-optimize-image-size-to-improve-your-rankings/

    And Kraken too, according to a comment here :
    http://www.catswhocode.com/blog/super-useful-online-tools-to-work-with-images

  23. astrasuite
    Member
    Posted 1 year ago #

    Just checked out Kraken, looks good, "smushed" some files even further than "smush-it", and fast. Not a wordpress plugin, but seems good.

    http://kraken.io/

  24. Olegs Belousovs
    Member
    Posted 1 year ago #

    Same thing. Deactivated it and now it's ok with the image uploading.

  25. Martin
    Member
    Posted 1 year ago #

    Just need someone to code up a WP Kraken.io plugin now [thumbs up] :)

  26. sulistyo
    Member
    Posted 1 year ago #

    Deactivating the plugin makes your Disc usage on hosting doubled. It's really a dilemmatic. Hope Smush.it service will be back soon

  27. southcast
    Member
    Posted 1 year ago #

    @sulistyo..and would you please explain why is that ?

  28. Nick Ker
    Member
    Posted 1 year ago #

    @sullstyo You could always manually compress your images with Photoshop or some other editor and get the same disc space savings. You'll have a little more control over image quality too. Not as easy as the plugin (when it works) but is the way to go if space is an issue

  29. sulistyo
    Member
    Posted 1 year ago #

    @soutchast : I'm still on finding on what the causes is. I exprerienced my self that deactivating the plugin rid of the image upload error but when i checked my disc usage on my hosting its increases dramatically. - I hope you check your, and let me know then-
    @KerCommunications : Actually the total size of all my uploaded image on hosting were not as big as the increasing number of disc usage when i have the plugin deactivated. ( say it I have 1 Mb (original size/not smushed) of total image size, but when i have the plugin deactivated, the disc usage increase dramatically up to 5-6 Mb.

  30. Bozz
    Member
    Posted 1 year ago #

    Bunty + Sulistyo -- This is because the upload fails if the Smushit API is down or buggy. Deactivating the plugin restores the traditional upload processing of WordPress. Sounds like a future update may include a fail/safe to prevent Smushit API downtime from precluding image uploads.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags