Some PDF files do not show a thumbnail: "500 Internal Server Error"
Open, Needs TriagePublic

Description

No thumbnail is displayed for this file after purge few days ago:

https://commons.wikimedia.org/wiki/File:Zionism_9204_Peace_Conference_1920.pdf

Few days ago I noticed that some thumbnails are missing (most of them were available). After purge all disappeared and attempt to access any of them gives a "maintanance" message. I doubt there is some maintenance action scheduled for this specific file.

I uploaded also a slightly modified version of this file; the same effect.

As noted above, some thumbnails were available on Sep. 7, so the file did render in past.

The file itself can be downloaded (both versions) and renders fine locally.

Any hints what is wrong here?
The file is used in en.wikisource, so all page thumbnail are required.

Related Objects

Ankry created this task.Wed, Sep 13, 10:31 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptWed, Sep 13, 10:31 AM
Ankry added a comment.EditedWed, Sep 13, 12:06 PM

@Samwilson: I doubt the file is under flood of requests for few days. Or, maybe, five requests for thumbnails to be displayed on the file page is too many?
Something is definitely wrong here. Check in few hours.

AFAIK, @matmarex tried to upload this file on a test wiki with the same effect.

Maybe a memory limit problem or buggy software version?

Aklapper renamed this task from Some PDF files do not render in reasonable time. to Some PDF files do not show a thumbnail: "Error: 429, Too Many Requests".Wed, Sep 13, 1:05 PM

"429 Too many requests" has nothing to do with users requesting the file.

matmarex renamed this task from Some PDF files do not show a thumbnail: "Error: 429, Too Many Requests" to Some PDF files do not show a thumbnail: "500 Internal Server Error".Wed, Sep 13, 8:41 PM

Since a bunch of people including Ankry and myself have been trying to view those thumbnails repeatedly, this might be a genuine "429 Too many requests" caused by that. I'm pretty sure there's an underlying issue here causing this file not to render though.

To verify, I uploaded a copy of the file to testwiki under a different filename: https://test.wikipedia.org/wiki/File:Zionism_9204_Peace_Conference_1920_copy.pdf

The thumbnail URL is: https://upload.wikimedia.org/wikipedia/test/thumb/0/05/Zionism_9204_Peace_Conference_1920_copy.pdf/page1-402px-Zionism_9204_Peace_Conference_1920_copy.pdf.jpg

That URL is currently failing for me with "500 Internal Server Error" (but producing that error takes over 60 seconds).