mxr.mozilla.org intermittently throws up blank pages

RESOLVED FIXED

Status

Developer Services
General
RESOLVED FIXED
2 years ago
a year ago

People

(Reporter: ashish, Unassigned)

Tracking

Details

(Reporter)

Description

2 years ago
For example, http://mxr.mozilla.org/mozilla-central/source/testing/web-platform/tests/workers/WorkerNavigator_userAgent.htm threw an empty page. Items referenced in the html were 404:

> http://mxr.mozilla.org/mozilla-central/source/testing/web-platform/tests/workers/WorkerNavigator_userAgent.htm
HTTP/1.1 200 OK
Server: Apache
X-Backend-Server: mxr-web1.webapp.scl3.mozilla.com
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Encoding: gzip
Date: Mon, 14 Dec 2015 17:49:21 GMT
Link: <http://mxr.mozilla.org/mozilla-central>; rel="Index"; title="mozilla-central", <http://mxr.mozilla.org/mozilla-central/ident>; rel="Glossary"; title="Identifier search", <http://mxr.mozilla.org/mozilla-central/search>; rel="Search"; title="Text search", <http://mxr.mozilla.org/mozilla-central/find>; rel="Contents"; title="Find file", <http://mxr.mozilla.org/mozilla-central/source/testing/web-platform/tests/workers/>; rel="Up"; title="Parent", <http://mxr.mozilla.org/mozilla-central/source/testing/web-platform/tests/workers/WorkerNavigator_userAgent.htm?force=1>; rel="First"; title="Marked up", <http://mxr.mozilla.org/mozilla-central/source/testing/web-platform/tests/workers/WorkerNavigator_userAgent.htm?raw=1>; rel="Last"; title="Raw"
Keep-Alive: timeout=5, max=1000
Expires: Mon, 14 Dec 2015 18:09:21 GMT
Transfer-Encoding: chunked
Connection: Keep-Alive
Set-Cookie: colorwithjs=; path=/; expires= Sat, 01-Jan-2000 00:00:00 GMT
Last-Modified: Thu, 08 Jan 2015 00:01:09 GMT
X-Cache-Info: caching

> http://mxr.mozilla.org/resources/testharness.js
HTTP/1.1 404 Not Found
Server: Apache
X-Backend-Server: mxr-web1.webapp.scl3.mozilla.com
Content-Type: text/html; charset=iso-8859-1
Date: Mon, 14 Dec 2015 17:49:21 GMT
Keep-Alive: timeout=5, max=999
Connection: Keep-Alive
X-Cache-Info: caching
Content-Length: 222

> http://mxr.mozilla.org/resources/testharnessreport.js
HTTP/1.1 404 Not Found
Server: Apache
X-Backend-Server: mxr-web1.webapp.scl3.mozilla.com
Content-Type: text/html; charset=iso-8859-1
Date: Mon, 14 Dec 2015 17:49:21 GMT
Keep-Alive: timeout=5, max=1000
Connection: Keep-Alive
X-Cache-Info: caching
Content-Length: 228
issue is that mxr is displaying the page as html directly rather than as an indexed page (back up one level and then click on postMessage_clone_port.htm to see the difference). looks like the '?force=1' query param is the difference.

what led you to that particular URL?
Flags: needinfo?(ashish)
Hmm, I think I was complaining about some other case on IRC.
Definitely last week I was getting empty results from server. I mean cases when
clicking on some search result links tried to load something, but got nothing.


(Probably totally different issue is that when clicking hg blame on http://mxr.mozilla.org/mozilla-central/source/dom/base/nsGlobalWindow.cpp one gets just the top part of the page.)
(In reply to Olli Pettay [:smaug] from comment #2)
> Hmm, I think I was complaining about some other case on IRC.
> Definitely last week I was getting empty results from server. I mean cases
> when clicking on some search result links tried to load something, but got
> nothing.

Could be an issue with the indexing, I suppose, though it seems odd that it would just randomly break things. If you can come up with some URLs that I can follow up on, do let me know!

MXR's also been getting beat up a bit lately with bots and whatnot; it's possible that this is load related. IT added another CPU to the VM so that might also help.


> (Probably totally different issue is that when clicking hg blame on
> http://mxr.mozilla.org/mozilla-central/source/dom/base/nsGlobalWindow.cpp
> one gets just the top part of the page.)

Yeah, different ball of wax. It just loaded the whole page for me, fwiw. If you continue to see an issue there, drop a bug for gps in Dev Services: Mercurial: hg.mozilla.org please?
(Reporter)

Comment 4

2 years ago
(In reply to Kendall Libby [:fubar] from comment #1)
> what led you to that particular URL?

What :smaug said in Comment 2. He pinged me (was oncall at the time) in #moc.
Flags: needinfo?(ashish)

Comment 5

2 years ago
Perhaps this is related to something like https://bugzilla.mozilla.org/show_bug.cgi?id=1222865 ?
service decommissioned
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.