kjkjava
Forum Replies Created
-
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Photon breaking some imagesHi Jeremy,
Any word on my problem (above). Photon was timing out when my server was taking too long to deliver large images. Data was transferring slowly but surely, though.
Thanks,
KyleForum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Photon breaking some images@jeremy I just took a look at http://code.svn.wordpress.org/photon/index.php and noticed there’s a 10-second timeout on the fetch_raw_data function. I ran the script on my computer with a higher timeout, and it worked after 18 seconds.
$raw = fetch_raw_data( $url ); if ( empty( $raw ) ) httpdie( '504 Gateway Timeout', 'We cannot complete this request, remote data could not be fetched' );function fetch_raw_data( $url, $timeout=10, $connect_timeout=2 ) {So it looks like my server is just too slow! (No surprise there.) I do plan on downsizing most of my images before I upload them in the future, but it’d be nice if the Photon server could be a little more patient with my old machine hosting off of consumer internet.
I’d love to be in on the solution (or even code it up), if any. Just let me know the best place to discuss it. Maybe the server could wait as long as it is still receiving data and hasn’t passed a certain threshold? It’s cached after the first time, right? Or at least have the client fall back on loading the original server’s version.
-Kyle
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Photon breaking some images@jeremy Thanks so much for taking a look. I did protect my wp-admin directory and it looks like you saw that because the JetPack Carousel script was trying to access wp-admin/admin-ajax.php. I’ll have to get rid of that.
However, that was a recent addition and I’ve been having the Photon problem for longer. In any case, I’ve disabled that and still have the problem.
Thanks,
KyleForum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Photon breaking some imagesHello,
I’m having the same problem, but my original image does exist. This happens with any large images on my site. I have no plugins enabled except for JetPack.
I’ve gotten the same error message noted above, or “We cannot complete this request, remote data could not be fetched”
The image should be embedded in this gallery:
http://kylekrafka.com/projects/And the image that isn’t loading is at:
http://i1.wp.com/kylekrafka.com/wp-content/uploads/2013/01/IMG_1159.jpg?resize=216%2C216The other (originally) large images in the gallery didn’t work initially either, but after enough fiddling with loading the wp.com link, I got it to work… weird.
Thanks for any tips or advice.
-Kyle