**List of steps to reproduce** (step by step, including full links if applicable):
* Go to https://commons.wikimedia.beta.wmflabs.org/wiki/Special:Undelete/File:2014-06-18_Rheinwerk_1.jpg
**What happens?**:
Request from - via deployment-cache-text06.deployment-prep.eqiad.wmflabs, ATS/8.0.8
Error: 502, Next Hop Connection Failed at 2021-10-18 20:48:49 GMT
**What should have happened instead?**:
View and restore deleted pages
This isn't universal though, for example [[ https://commons.wikimedia.beta.wmflabs.org/wiki/Special:Undelete/File:Hauz-i-Shamsi.jpg | Special:Undelete/File:Hauz-i-Shamsi.jpg ]] works fine. Also note that [[ https://upload.beta.wmflabs.org/wikipedia/commons/thumb/a/a4/2014-06-18_Rheinwerk_1.jpg/120px-2014-06-18_Rheinwerk_1.jpg | 120px-2014-06-18_Rheinwerk_1.jpg ]] results in:
>Request from (my ip) via deployment-cache-upload06 deployment-cache-upload06, Varnish XID 6725866
>Upstream caches: deployment-cache-upload06 int
>Error: 421, Misdirected Request at Mon, 18 Oct 2021 20:55:52 GMT
As opposed to the 404 you'd get on production.
@Lucas_Werkmeister_WMDE found this in T293070.