WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Some Photon images broken (2.9.3) (8 posts)

  1. ryansigg
    Member
    Posted 2 months ago #

    Sorry if this is a duplicate, I couldn't find any others that seemed relevant.
    We are suddenly having some (don't know how many yet but it's not all) Photon-served images that aren't displaying...
    Here is one that doesn't display at all:
    http://i0.wp.com/usarivercruises.com/wp-content/uploads/2012/06/NOtoNO_MobileAL-430x303.jpg

    https://wordpress.org/plugins/jetpack/

  2. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 2 months ago #

    Howdy,

    That image is working for me. Are there any others?

  3. ryansigg
    Member
    Posted 2 months ago #

    It's working now for me too, but it was inaccessible for at least a few days.

    I'll update this thread if there are others not working at the moment.

    Is it possible that Photon just wasn't serving certain images? Other images I checked from the same time period that were oming from http://i0.wp.com/ were working, so it didn't seem to be the server.

  4. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 2 months ago #

    It's possible that when the other images were initially requested, everything pulled fine, but when that particular image was being requested, something interfered in the process (either making the server respond slowly or if a DNS change was made, Photon was hitting the old server, etc).

    Glad that it's working!

  5. ryansigg
    Member
    Posted 1 month ago #

    Well, it seems to be not working again...

    We recently moved the site from a subdirectory down to the site's main root, so initially I thought maybe somehow that was screwing up paths...
    But plenty of the images are working fine, it's just some of them.
    These particular images have been down since last Friday May 30th.

    This time it seems to be images served from i1.wp.com, as i0.wp.com and i2.wp.com images are fine.

    Here are a few image URLs that aren't working.

  6. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 1 month ago #

    It seems like the original images aren't there.

    Trying the first URL's original image:

    $ curl -I usarivercruises.com/wp-content/uploads/2014/04/Sokol-4-e1398213754972.png
    HTTP/1.1 404 Not Found
    X-Pingback: http://usarivercruises.com/xmlrpc.php
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    Pragma: no-cache
    Content-Type: image/png
    X-Cacheable: YES
    Content-Length: 95
    Accept-Ranges: bytes
    Date: Mon, 02 Jun 2014 16:50:40 GMT
    Age: 3356
    Connection: keep-alive
    X-Cache: cached
    X-Backend: wpaas_web_014

    and visiting http://usarivercruises.com/wp-content/uploads/2014/04/Sokol-4-e1398213754972.png directly didn't pull up an image for me.

    The other two also reported as not found.

  7. ryansigg
    Member
    Posted 1 month ago #

    No, those images aren't there, but I don't really know what those images are...

    The original WP uploaded URL would be: usarivercruises.com/wp-content/uploads/2014/04/Sokol-4.png

    I don't know where the extra "4-e1398213754972" came from (though I see that file in my recent site backup). There are several files in my backup that have that weird character combination, so I'm curious how they ended up IN the post...
    Does anyone know if this is what WP does when a user edits an image?

    Whatever they are, they vanished when we migrated the site.
    I'll try merging the backup with the live upload directory.

  8. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 1 month ago #

    Yup, if you edit the image within WordPress directly (cropping, scaling, etc), it'll keep the original (and all of the thumbnail sizes of that original) and create a new image with that ending.

    It does this so if you use the same image in multiple posts, you can crop it in the future without impacting past posts.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.