Why so many problems with slideshows?
jfriend
Registered Users Posts: 8,097 Major grins
So, in the last two weeks, we've seen all sorts of slideshow problems.
There is occasional participation in these threads from Smugmug personnel and we've seen a couple of acknowledgment of problems in the custom size generation, but that doesn't seem to explain item 2) above and we've never seen any status on when any of this is going to get fixed. We've seen a couple of cases where Andy said custom size problems are now supposed to be fixed, yet many problems remain.
Can someone from Smugmug please speak to this issue? Are you actually working on this issue? Are you working on all the issues that folks have seen here? Is anyone diligently following all the new daily threads on slideshow issues to see how to get them all fixed? Do you think everything is fixed now?
For a company that is usually pretty good at taking ownership for an issue and communicating with customers, there's been zero official communication on this issue that has affected a lot of slideshows. Nothing in the status feed. Nothing in the releases feed.
Please tell us what is going on with slideshow problems.
If you want some reading on slideshow issues:
http://www.dgrin.com/showthread.php?t=137248
http://www.dgrin.com/showthread.php?t=137172
http://www.dgrin.com/showthread.php?t=137169
http://www.dgrin.com/showthread.php?t=137167
http://www.dgrin.com/showthread.php?t=137262
http://www.dgrin.com/showpost.php?p=1160360&postcount=4097
http://www.dgrin.com/showthread.php?t=136883
- We've seen issues of custom sizes used in the slideshow go completely wonky sometimes downloading 10MB originals and displaying some small piece of that.
- We've seen issues of slideshows just stalling after a few images and never going again (regardless of how long one waits).
- We've seen issues of very small images (much smaller than the slideshow is declared or the images are).
There is occasional participation in these threads from Smugmug personnel and we've seen a couple of acknowledgment of problems in the custom size generation, but that doesn't seem to explain item 2) above and we've never seen any status on when any of this is going to get fixed. We've seen a couple of cases where Andy said custom size problems are now supposed to be fixed, yet many problems remain.
Can someone from Smugmug please speak to this issue? Are you actually working on this issue? Are you working on all the issues that folks have seen here? Is anyone diligently following all the new daily threads on slideshow issues to see how to get them all fixed? Do you think everything is fixed now?
For a company that is usually pretty good at taking ownership for an issue and communicating with customers, there's been zero official communication on this issue that has affected a lot of slideshows. Nothing in the status feed. Nothing in the releases feed.
Please tell us what is going on with slideshow problems.
If you want some reading on slideshow issues:
http://www.dgrin.com/showthread.php?t=137248
http://www.dgrin.com/showthread.php?t=137172
http://www.dgrin.com/showthread.php?t=137169
http://www.dgrin.com/showthread.php?t=137167
http://www.dgrin.com/showthread.php?t=137262
http://www.dgrin.com/showpost.php?p=1160360&postcount=4097
http://www.dgrin.com/showthread.php?t=136883
--John
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
0
Comments
Thanks for cataloging the threads that reference the issues, fortunately most of the issues stem from the same one or two problems that we're actively working on. Bear with us, as limp as that sounds.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
I think a significant amount of it is already fixed and is just waiting for the previously badly generated images to age out of the cdn in the viewers geo.
http://wall-art.smugmug.com/
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
What makes you think that its nearly fixed. The issues remain. Furthermore, its not about bad images...sometimes an image displays correctly while at other times they do not. This isn't about caches and cookies and other such nonsense. This is about changes to the slideshows internally at SmugMug. I know they are working on it but lets be realistic about what's going on.
http://www.jlatas.com
Can you tell me where on your site you're having troubles? We'll have a look. Best is to write our heroes, http://www.smugmug.com/help/emailreal Thanks.
I viewed your homepage slideshow, it looks great!
Portfolio • Workshops • Facebook • Twitter
I'm not saying that there aren't custom size issues or caching issues, but when the slideshow just stops completely, that has to be because it isn't written to handle these types of unexpected circumstances properly. It should be able to continue on to other images unless the custom size generation is just completely down which it doesn't seem to be because I can view other people's slideshows.
Here's the image it's been stuck on for more than 5 minutes:
The slideshow hasn't been reliable for around 2 weeks now.
Edit: 45 minutes later and the slideshow is stil stalled.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
All I know is that it was working fine for the couple of months prior to the news that you guys have tweaked the new journal and slideshow features. That is my slideshow photo of the woman on the motorcycle that jfriend is showing in the previous post. Like i said...all was fine until sometime early last week.
Can everyone else who is seeing issues please chime in here so that it doesn't just look like its just a few people who don't know how to clear their cache and cookies...(sarcasm intended!)
http://www.jlatas.com
I cleared my disk cache, then restarted the slideshow at http://www.jlatas.com/ and it stalled fairly quickly (within a minute or so) on this image. It's been stuck there for 5 minutes again:
Edit: 20 minutes later and the slideshow is still stalled.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
I also sent a note to the help desk to see if they can look into this for me.
Success Coach, Motivational Speaker, Professional Photographer
"Enriching Lives through Images and Inspiration"
www.kathleendavenport.com
Portfolio • Workshops • Facebook • Twitter
And when the custom sizes code goofs up (as long as it doesn't stop serving images all together), the slideshow shouldn't stall. Worst case, it should be able to continue on to the next image if it doesn't get what it expected with one image. Granted, if the custom image turns out to be 10MB, there might be a long pause while that's downloaded, but it should then do something intelligent and continue.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
One thing you could do, to ensure fresh images delivered (vs. stuff from the CDN) is to change 600,600 in your slideshow parameters to something else... maybe 500,500 or 610, 610 .... this should force new sizes to come to you.
Portfolio • Workshops • Facebook • Twitter
Network requests 17, 18 and 20 NEVER returned any data. The last image displayed in the slideshow was the one returned in #16. So, the slideshow stalled forever waiting for request #17 to return something. It never did so the slideshow stalled forever. There seems to be at least a couple issues here:
1) Why does a response never come back from requests 17, 18 and 20. I have no way of knowing if this is a CDN problem or a Smugmug custom size generation request problem. It would be unusual for the CDN to return nothing - more likely for it to return a wrong size image which is not what is happening here, but I can't really tell which it is.
2) When the slideshow code encounters requests that don't come back, it stalls. It should have some time limit that it waits for a response and then either try one more time or skip on to the next image. I think this issue has been in the slideshow for a long time. I've documented this problem before in network traces (slideshow stalls when a network request doesn't return).
If I look at request #17 in a little more detail, we see that it was a request for this URL:
http://photos.smugmug.com/photos/569045772_7TDNT-590x590-2.jpg
I cannot even get that image all by itself in my browser.
If I modify the URL to this:
http://photos.smugmug.com/photos/569045772_7TDNT-590x590.jpg
Then, I can fetch the image in my browser. So, perhaps something is wrong with the forum of the URL or with the CDN for that form of the URL or with the custom size generation for that form of the URL.
The same is true for #18. If I take the -0 suffix off, the image works, but as the URL is requested, it doesn't work.
Hopefully this is enough new information that you guys can make some progress on both what is happening with the custom size requests and with the slideshow error handling.
I'm in Los Altos (on AT&T DSL), a few miles away from your Mtn View office so I might be seeing the same CDN as your Mtn View office. If you're in New York, you'd obviously be seeing a different CDN.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Changing the params to 610,610 does indeed get me new images that are displayed correctly and that have not stalled at this point. Great! But I have done nothing with my images that are stored at SmugMug so wouldn't that mean that something is happening during your resizing algorithm that is causing the hangup??? Maybe you guys need to flush the cache on your servers!!!
http://www.jlatas.com
Yeah the problem is the olde busted images are stuck in the CDN, our engineers tell us that they'll flush out but I do not know more details on how long it takes and such. I'm glad you're sorted out for now, sorry for the hassle!
Portfolio • Workshops • Facebook • Twitter
The cdn has a cached "image" that is zero bytes in size. There was a short time where we were returning this bogusity for a small percentage of images... I'm sorry to say *your* geo-specific cdn cache grabbed that image during that time and got that bad data. That's one of thousands of cache world wide, which is why that image loads fine for me and Andy. (love the mischievous smile on her face btw.)
Not to throw a fellow sourcerer under the bus or anything, but yeah, I agree with you on this.
The slide show is using the browser to fetch the image... if it can't give it to the slideshow, I dunno why you think you can get it to load something different just by asking it nicely.
Right, as I said the other day, that url is wedged in the cdn with bogus data... either the wrong size image, or no image at all. By changing the url to another way to refer to the same image, you have bypassed the bogosity in the cdn and fetched your image.
This demonstrates a way for folks to solve this issue for themselves before the cdn flushes your broken images. Figure out what image it is that is blocking your slideshow, it will be the *next* image to be displayed... you can use the thumbnails to figure it out. Goto the gallery and perform any action that will cause it to be modified. Rotate, watermark, flip, etc then do a second one to undo that. This will increment the serial number on the image twice, changing the url similar to John's hand hack above and faking the cdn out to think it's a new image.
Sorry John, no new info here... but you confirmed that you're seeing what we already fixed the source of... now just to wait for it to trickle through the affected CDNs.
HQ's view of the relevant bits of the cdn:
http://wall-art.smugmug.com/
Who said anything about cookies? (I'd like a nice oatmeal craisin cookie though if you're baking.
The reported failures I've seen have *all* boiled down root cause to images served out to it, through the cdn, incorrectly. Not admittedly it coulda done better with what it got, and I'm sure Shizam will look into making it more fault tolerant.
uhm. "they" includes "me", and I'm 100% realistic... we haven't had any reproducible cases of bad images served out by our code in several days now. All the current problems are a result of previously served out bad images being cached in the cdn... so yes, it *is* all about the cache... normally a tool for good, today it has an unfortunate side effect of caching mistakes and making them last longer.
http://wall-art.smugmug.com/
I would have thought it was new info that when the slideshow code fails to get good data for one image, it stalls forever.
If the slideshow had different coding for that condition, your viewers probably wouldn't even notice that the slideshow was skipping a few images and that the CDN had a bunch of poisoned images. You'll notice from the network trace that the slideshow has even already pre-fetched images past the bad ones so it could just go right ahead with the ones that it successfully got and ignore the bad ones.
FYI, this is not new behavior for the slideshow. I've reported network traces like this many months ago - it's one of the reason that slideshows stall.
If you want the slideshow to be robust regardless of CDN issues, hiccups in custom sizes, glitches in the network (which I would think is something you would want), the slideshow just needs better coding for this condition. Since the order of images in the slideshow isn't an ironclad contract with the user, but not stalling forever is, I would think it would be an algorithm something like this:
If I'm still waiting for this next image to come in and I've either gotten an invalid response or it's been longer than X time with no valid response on that request, I'll skip that image for now and go on to the following images in the slideshow.
If indeed, the CDN is just returning a zero length image, then this particular instance may be as simple as checking for that condition and skipping that request to go onto the next image. But, the general purpose robustness improvement would include the case where the request never comes back too or comes back with some sort of other invalid data.
Do you not see some actions that should be taken in the slideshow code here to prevent these stalls?
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Well then, where did the "bad images" come from in the first place? You say that you didn't have any bad images served up in 'several days now'...so that means there was a code issue at least several days ago. I just get tired of people always insisting that the user doesn't know enough to clear their cache or delete their cookies...yes, that was the advice given here several days ago...so don't be so 'smug' about that! Their obviously is, or was, an issue with how images were being resized for the slideshows. Why did the issue with incorrect images being dished out occur in the first place? I still have yet to see anyone really say that yes, we had an issue a few days ago and bad data was being delivered from SmugMug servers...
http://www.jlatas.com
I regenerated the "non-retrieving photo" by re-adding the WM and the show
ran on through. Regenerating the display sizes fixed it. All these stalls
were with newly uploaded galleries using FSSS. Click the thumb after the
stalled photo and it would keep running.
My Website index | My Blog
Success Coach, Motivational Speaker, Professional Photographer
"Enriching Lives through Images and Inspiration"
www.kathleendavenport.com
Portfolio • Workshops • Facebook • Twitter
photo. Kickin' the CDN.:D
My Website index | My Blog
Portfolio • Workshops • Facebook • Twitter
I'm really sorry.
Portfolio • Workshops • Facebook • Twitter
Well, I'm back to being a totally happy camper! Thanks!
Success Coach, Motivational Speaker, Professional Photographer
"Enriching Lives through Images and Inspiration"
www.kathleendavenport.com
Shizam, Andy, Cabbey or Doc, can one of your respond here? I've got a smoking gun network trace (which is repeatable) on why slideshows stall and the only response I've gotten says that there's nothing new here and implies that nothing should be changed and we should all just wait for the CDN caches to clear.
If you want slideshows to stop stalling when anything goes wrong, some error handling in the slideshow code needs to be improved. It's that simple. In fact, if you fixed this now, slideshows wouldn't even stall with the bad CDN cache images out there now and we wouldn't have had to wait two weeks for CDN caches to clear.
If you don't care that slideshows are susceptible to stalls when an image doesn't get delivered properly, just let me know and I'll stop bringing these kinds of things to your attention.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
I'm sorry to have upset you, and I'm really, really sorry I didn't reply to this thread over the weekend.
Portfolio • Workshops • Facebook • Twitter
Sorry John, "nothing new" != "nothing should be changed". Didn't mean to give you that impression.
http://wall-art.smugmug.com/