Page MenuHomePhabricator
Paste P9072

curl not happy on deploy1001 fetching from releases.wikimedia.org
ActivePublic

Authored by akosiaris on Sep 10 2019, 12:12 PM.
Tags
None
Referenced Files
F30289903: raw.txt
Sep 10 2019, 12:12 PM
Subscribers
None
Some times the following fails with a 502
```
curl -s -i https://releases.wikimedia.org/charts/raw-0.2.0.tgz
HTTP/2 502
date: Tue, 10 Sep 2019 12:10:44 GMT
content-type: text/html
server: ATS/8.0.5
cache-control: no-store
content-language: en
x-ats-timestamp: 1568117444
vary: Accept-Encoding
x-varnish: 1045555680
age: 0
x-cache: cp1075 miss, cp1077 pass
x-cache-status: miss
server-timing: cache;desc="miss"
strict-transport-security: max-age=106384710; includeSubDomains; preload
set-cookie: WMF-Last-Access=10-Sep-2019;Path=/;HttpOnly;secure;Expires=Sat, 12 Oct 2019 12:00:00 GMT
x-analytics: https=1;nocookies=1
x-client-ip: 2620:0:861:103:10:64:32:16
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Wikimedia Error</title>
<style>
* { margin: 0; padding: 0; }
body { background: #fff; font: 15px/1.6 sans-serif; color: #333; }
.content { margin: 7% auto 0; padding: 2em 1em 1em; max-width: 640px; }
.footer { clear: both; margin-top: 14%; border-top: 1px solid #e5e5e5; background: #f9f9f9; padding: 2em 0; font-size: 0.8em; text-align: center; }
img { float: left; margin: 0 2em 2em 0; }
a img { border: 0; }
h1 { margin-top: 1em; font-size: 1.2em; }
.content-text { overflow: hidden; overflow-wrap: break-word; word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; }
p { margin: 0.7em 0 1em 0; }
a { color: #0645ad; text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: sans-serif; }
.text-muted { color: #777; }
</style>
<div class="content" role="main">
<a href="https://www.wikimedia.org"><img src="https://www.wikimedia.org/static/images/wmf-logo.png" srcset="https://www.wikimedia.org/static/images/wmf-logo-2x.png 2x" alt="Wikimedia" width="135" height="101">
</a>
<h1>Error</h1>
<div class="content-text">
<p>Our servers are currently under maintenance or experiencing a technical problem.
Please <a href="" title="Reload this page" onclick="window.location.reload(false); return false">try again</a> in a few&nbsp;minutes.</p>
<p>See the error message at the bottom of this page for more&nbsp;information.</p>
</div>
</div>
<div class="footer"><p>If you report this error to the Wikimedia System Administrators, please include the details below.</p><p class='text-muted'><code>Request from 2620:0:861:103:10:64:32:16 via cp1075.eqiad.wmnet, ATS/8.0.5<br>Error: 502, connect failed at 2019-09-10 12:10:44 GMT</code></p></div>
</html>
```
It seems the common denominator is cp1075 as a number of other times it does not fail at all

Event Timeline

Even directly using cp1075 has varied results

curl -H "Host: releases.wikimedia.org" -k -i https://cp1075.eqiad.wmnet/charts/raw-0.2.0.tgz
HTTP/2 200 
date: Tue, 10 Sep 2019 12:13:23 GMT
content-type: application/x-gzip
content-length: 2243
server: Apache
last-modified: Mon, 15 Jul 2019 12:28:02 GMT
etag: "8c3-58db764222d2c"
accept-ranges: bytes
backend-timing: D=180 t=1568117603820618
cache-control: no-cache,must-revalidate
x-varnish: 907173036, 791718485
age: 0
x-cache: cp1079 pass, cp1075 pass
x-cache-status: pass
server-timing: cache;desc="pass"
strict-transport-security: max-age=106384710; includeSubDomains; preload
set-cookie: WMF-Last-Access=10-Sep-2019;Path=/;HttpOnly;secure;Expires=Sat, 12 Oct 2019 12:00:00 GMT
x-analytics: https=1;nocookies=1
x-client-ip: 2620:0:861:103:10:64:32:16

and right after

curl -H "Host: releases.wikimedia.org" -k -i https://cp1075.eqiad.wmnet/charts/raw-0.2.0.tgz
HTTP/2 502 
date: Tue, 10 Sep 2019 12:13:30 GMT
content-type: text/html
server: ATS/8.0.5
cache-control: no-store
content-language: en
x-ats-timestamp: 1568117610
vary: Accept-Encoding
x-varnish: 795115619
age: 0
x-cache: cp1075 miss, cp1075 pass
x-cache-status: miss
server-timing: cache;desc="miss"
strict-transport-security: max-age=106384710; includeSubDomains; preload
set-cookie: WMF-Last-Access=10-Sep-2019;Path=/;HttpOnly;secure;Expires=Sat, 12 Oct 2019 12:00:00 GMT
x-analytics: https=1;nocookies=1
x-client-ip: 2620:0:861:103:10:64:32:16