Notalib/LYT — Issue #42: Chrome bug getting .htm file
Author: simmoe
Created: 2011-12-19 11:44:26+00:00
State: open
Labels: bug

There is a very annoying bug in chrome/mac that randomly disables books from being played. It's always concerning the .html file in the Daisy book, and the logging always stalls on:

DTB: Getting: http://m.e17.dk:80/DodpDistributor/Distribute.aspx?session=100017&book=36738&file=//LOCAL/UNI0/367__/36738/36738.htm

So... There's no error returned, just waiting without answer. Ah, yes after several minutes we get:

DTB: Failed to get http://m.e17.dk:80/DodpDistributor/Distribute.aspx?session=100017&book=36738&file=//LOCAL/UNI0/367__/36738/36738.htm

But that's a little too late obviously. I dunno what the timeout is set to currently, but i suspect etting a shorter timeout wouldn't solve the problem or? If this was the case I'd suggest we simply try getting the file again after a short timeout, since reloading the page almost always solve the problem. This could be done, say, three times - like login - and if that doesn't work, send the user an error message: We are sorry but we can't playback the book right now. Please try reloading the page og try again later.

But if timeout/retry doesn't solve the problem i don't know what the best solution would be. Finding it's cause would obviously be interesting, but how?