Page MenuHomePhabricator

429 error when requesting certain image resolutions on Commons
Closed, DuplicatePublic

Description

When requesting this SVG in 1280px width, I get error 429: https://commons.wikimedia.org/wiki/Special:FilePath/Third%20imperial%20Faberg%C3%A9%20egg.svg?width=1280

Resolutions of up to 1000px width seem to work: https://commons.wikimedia.org/wiki/Special:FilePath/Third%20imperial%20Faberg%C3%A9%20egg.svg?width=1000

But even some resolutions linked on the File page don't work, like 2000px: https://commons.wikimedia.org/wiki/File:Third_imperial_Faberg%C3%A9_egg.svg

I suspect his has to do with this file being an especially complex SVG?

Event Timeline

blinry created this task.Nov 6 2019, 3:00 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 6 2019, 3:00 PM
Aklapper edited projects, added Thumbor; removed Multimedia.Nov 7 2019, 3:05 PM

This seems to be about thumbnails, hence adding Thumbor.

blinry updated the task description. (Show Details)Nov 7 2019, 3:34 PM

I suspect his has to do with this file being an especially complex SVG?

Yes, especially the 375+ uses of Gaussian blur. The version of librsvg currently in use doesn't have good optimizations for Gaussian blur, and it takes over 3 minutes to generate the 2000px thumbnail. We only give it one minute, so the generation fails. Later versions of librsvg have better optimization, and rsvg-convert version 2.48.4 takes only 15 seconds to generate the 2000px thumbnail.

toorich changed the status of subtask T193352: Update librsvg to ≥2.42.3 (2.44.10) from Stalled to Open.Jun 24 2020, 9:58 AM
Aklapper changed the status of subtask T193352: Update librsvg to ≥2.42.3 (2.44.10) from Open to Stalled.Jun 24 2020, 10:34 AM