Steps to replicate the issue:
- Create/edit a Page: namespace page in Wikisource (have checked enws; probably applies to all Wikisources)
- Issue appears if the page scan image takes longer than 30 seconds to load (e.g. on a slow internet connection, or when loading many pages at once)
What happens?:
The page image canvas remains blank, even after the browser has downloaded the image; if you zoom in twice, then the page appears (presumably it's using the downloaded image), but zooming back out again the page image will disappear.
When this happens, the following console error is logged:
Tile 0/0_0 failed to load: //upload.wikimedia.org/wikipedia/commons/thumb/9/90/scan_name.djvu/page111-1024px-scan_name.djvu.jpg - error: Image load exceeded timeout (30000 ms)
What should have happened instead?:
The page image should appear when the browser completes its download of the image, even if it takes longer than 30 seconds to download.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information:
Replicated on Windows 10 (22H2), Firefox (115.0.2 (64-bit)), Chrome (Version 114.0.5735.199 (Official Build) (64-bit)), and Edge (114.0.1823.79 (Official build) (64-bit))
This could be resolved by changing the OpenSeadragon options:
- increasing timeout from 30000 (to perhaps 60000)
- setting tileRetryMax to any number other than the default (0)