Page MenuHomePhabricator

Images/thumbnails not showing on u4c.wikimedia.org
Open, Needs TriagePublicBUG REPORT

Description

Hello all,

We have a problem with our private project (https://u4c.wikimedia.org/), all images and thumbnails are not showing at all if it uploaded locally (no problem with commons files), this problem happened to several colleagues on more than one browser, and it has been 30 days and is still there.

you can see example here: https://u4c.wikimedia.org/wiki/User:Ibrahim.ID/sandbox

thanks

Edit: this isn't an individual case, all images uploaded locally aren't showing the thumbnails, but in the direct link the image appears.

Event Timeline

you can see example here: https://u4c.wikimedia.org/wiki/User:Ibrahim.ID/sandbox

We cannot because we cannot access that wiki. What is the error message in the web browser's developer tools' network tab when this happens?

thanks @Aklapper,

the error message: (thumb.php)

Failed to load resource: the server responded with a status of 404 ()

the html code for the image:

<figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:Logo_1.2-01.jpg" class="mw-file-description"><img src="/w/thumb.php?f=Logo_1.2-01.jpg&amp;width=220" decoding="async" width="220" height="210" class="mw-file-element" srcset="/w/thumb.php?f=Logo_1.2-01.jpg&amp;width=330 1.5x, /w/thumb.php?f=Logo_1.2-01.jpg&amp;width=440 2x"></a><figcaption>comment2</figcaption></figure>
<a href="/wiki/File:Logo_1.2-01.jpg" class="mw-file-description"><img src="/w/thumb.php?f=Logo_1.2-01.jpg&amp;width=220" decoding="async" width="220" height="210" class="mw-file-element" srcset="/w/thumb.php?f=Logo_1.2-01.jpg&amp;width=330 1.5x, /w/thumb.php?f=Logo_1.2-01.jpg&amp;width=440 2x"></a>
<img src="/w/thumb.php?f=Logo_1.2-01.jpg&amp;width=220" decoding="async" width="220" height="210" class="mw-file-element" srcset="/w/thumb.php?f=Logo_1.2-01.jpg&amp;width=330 1.5x, /w/thumb.php?f=Logo_1.2-01.jpg&amp;width=440 2x">

also, this is a screenshot

scrsht202407.jpg (610×730 px, 51 KB)

Aklapper renamed this task from Images/thumbnails not showing to Images/thumbnails not showing on u4c.wikimedia.org.Aug 1 2024, 11:23 AM

visiting that link gives me "Our servers are currently under maintenance or experiencing a technical issue" and the error below says "Error: 404, Not Found at Thu, 01 Aug 2024 15:34:26 GMT%"

Anoop changed the subtype of this task from "Task" to "Bug Report".Aug 12 2024, 10:26 PM

I suspect this is a problem with mediawiki not using the right credentials to connect to Swift when called via thumb.php. I can't find any log entries for this in logstash though so I don't have much to go on. From what I can tell by the error logs this request isn't hitting Thumbor