The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,969 other subscribers

Funny how StackExchange, StackOverflow, ServerFault, SuperUser and differ in indicating their site outage “We are Offline”

Posted by jpluimers on 2012/02/18

Tonight these most StackExchange sites have maintenance, including their bogs and meta sites (the chat sites like http://chat.stackoverflow.com/ are on-line). I checked these to be off-line, most of the bigger table below are offline too.

Later I will amend this post with the HTML and try to get some site previews too.

A bit later I got this kind of message from Chrome, that tried to protect one of the sites:

Error 139 (net::ERR_TEMPORARILY_THROTTLED): Requests to the server have been temporarily throttled.

Note that http://askubuntu.com/ is up and running :)

Well, this turned out to be easier, as from the HTML below and the JavaScript at http://cdn.sstatic.net/error-director.js you can reconstruct a complete list of static “We are Offline” pages for all StackExchange sites:

(Yes, I always forget the html th entries, so I used this tutorial, as I did not have a proper html editor available when posting).

We are Offline static page Regular Site up or down?
http://cdn.sstatic.net/android/app_offline.htm http://android.stackexchange.com up
http://cdn.sstatic.net/apple/app_offline.htm http://apple.stackexchange.com up
http://cdn.sstatic.net/bicycles/app_offline.htm http://bicycles.stackexchange.com up
http://cdn.sstatic.net/cooking/app_offline.htm http://cooking.stackexchange.com up
http://cdn.sstatic.net/cstheory/app_offline.htm http://cstheory.stackexchange.com up
http://cdn.sstatic.net/dba/app_offline.htm http://dba.stackexchange.com up
http://cdn.sstatic.net/diy/app_offline.htm http://diy.stackexchange.com up
http://cdn.sstatic.net/drupal/app_offline.htm http://drupal.stackexchange.com up
http://cdn.sstatic.net/electronics/app_offline.htm http://electronics.stackexchange.com up
http://cdn.sstatic.net/english/app_offline.htm http://english.stackexchange.com up
http://cdn.sstatic.net/gamedev/app_offline.htm http://gamedev.stackexchange.com up
http://cdn.sstatic.net/gaming/app_offline.htm http://gaming.stackexchange.com up
http://cdn.sstatic.net/gis/app_offline.htm http://gis.stackexchange.com up
http://cdn.sstatic.net/math/app_offline.htm http://math.stackexchange.com up
http://cdn.sstatic.net/photo/app_offline.htm http://photo.stackexchange.com up
http://cdn.sstatic.net/physics/app_offline.htm http://physics.stackexchange.com up
http://cdn.sstatic.net/programmers/app_offline.htm http://programmers.stackexchange.com up
http://cdn.sstatic.net/scifi/app_offline.htm http://scifi.stackexchange.com up
http://cdn.sstatic.net/security/app_offline.htm http://security.stackexchange.com up
http://cdn.sstatic.net/sharepoint/app_offline.htm http://sharepoint.stackexchange.com up
http://cdn.sstatic.net/stats/app_offline.htm http://stats.stackexchange.com up
http://cdn.sstatic.net/tex/app_offline.htm http://tex.stackexchange.com up
http://cdn.sstatic.net/askubuntu/app_offline.htm http://askubuntu.com up
http://cdn.sstatic.net/unix/app_offline.htm http://unix.stackexchange.com up
http://cdn.sstatic.net/ux/app_offline.htm http://ux.stackexchange.com up
http://cdn.sstatic.net/webapps/app_offline.htm http://webapps.stackexchange.com up
http://cdn.sstatic.net/webmasters/app_offline.htm http://webmasters.stackexchange.com up
http://cdn.sstatic.net/wordpress/app_offline.htm http://wordpress.stackexchange.com up
http://cdn.sstatic.net/skins/careers/app_offline.htm http://careers.stackoverflow.com up
http://cdn.sstatic.net/skins/stackexchange/app_offline.htm http://stackexchange.com up
http://cdn.sstatic.net/stackoverflowmeta/app_offline.htm http://meta.stackoverflow.com down
http://cdn.sstatic.net/stackoverflow/app_offline.htm http://stackoverflow.com down
http://cdn.sstatic.net/serverfault/app_offline.htm http://serverfault.com down
http://cdn.sstatic.net/superuser/app_offline.htm http://superuser.com down
http://cdn.sstatic.net/stackapps/app_offline.htm http://stackapps.com down
http://cdn.sstatic.net/skins/sketchy/app_offline.htm http://stackexchange.com down

Note that some of the “main” sites (like serverfault.com) are slowly coming up just as the stackexchange sites did.

–jeroen

Edits:

HTML and scripts

The HTML:

...
<script type="text/javascript" src="http://cdn.sstatic.net/error-director.js"></script><script type="text/javascript">// <![CDATA[
if (top == self && directory) {
            document.getElementById('pageFrame').src = 'http://cdn.sstatic.net/' + directory + '/app_offline.htm';
        } else {
            // if we get here, that means even the offline pages on sstatic are offline
            document.getElementById('pageFrame').style.height = "0px";
            document.write("
...

The JavaScript:

var hosts = [];
// x.stackexchange.com sites
hosts.push({ dir: 'android',        host: 'android\.stackexchange' });
hosts.push({ dir: 'apple',          host: 'apple\.stackexchange' });
hosts.push({ dir: 'bicycles',       host: 'bicycles\.stackexchange' });
hosts.push({ dir: 'cooking',        host: 'cooking\.stackexchange' });
hosts.push({ dir: 'cstheory',       host: 'cstheory\.stackexchange' });
hosts.push({ dir: 'dba',            host: 'dba\.stackexchange' });
hosts.push({ dir: 'diy',            host: 'diy\.stackexchange' });
hosts.push({ dir: 'drupal',         host: 'drupal\.stackexchange' });
hosts.push({ dir: 'electronics',    host: 'electronics\.stackexchange' });
hosts.push({ dir: 'english',        host: 'english\.stackexchange' });
hosts.push({ dir: 'gamedev',        host: 'gamedev\.stackexchange' });
hosts.push({ dir: 'gaming',         host: 'gaming\.stackexchange' });
hosts.push({ dir: 'gis',            host: 'gis\.stackexchange' });
hosts.push({ dir: 'math',           host: 'math\.stackexchange' });
hosts.push({ dir: 'photo',          host: 'photo\.stackexchange' });
hosts.push({ dir: 'physics',        host: 'physics\.stackexchange' });
hosts.push({ dir: 'programmers',    host: 'programmers\.stackexchange' });
hosts.push({ dir: 'scifi',          host: 'scifi\.stackexchange' });
hosts.push({ dir: 'security',       host: 'security\.stackexchange' });
hosts.push({ dir: 'sharepoint',     host: 'sharepoint\.stackexchange' });
hosts.push({ dir: 'stats',          host: 'stats\.stackexchange' });
hosts.push({ dir: 'tex',            host: 'tex\.stackexchange' });
hosts.push({ dir: 'askubuntu',      host: 'ubuntu\.stackexchange|askubuntu' });
hosts.push({ dir: 'unix',           host: 'unix\.stackexchange' });
hosts.push({ dir: 'ux',             host: 'ux\.stackexchange' });
hosts.push({ dir: 'webapps',        host: 'webapps\.stackexchange' });
hosts.push({ dir: 'webmasters',     host: 'webmasters\.stackexchange' });
hosts.push({ dir: 'wordpress',      host: 'wordpress\.stackexchange' });
// named sites
hosts.push({ dir: 'skins/careers',       host: 'careers\.stackoverflow' });
hosts.push({ dir: 'skins/stackexchange', host: '^stackexchange\.com' });
hosts.push({ dir: 'stackoverflowmeta',   host: 'meta\.stackoverflow|local.mso.com' });
hosts.push({ dir: 'stackoverflow',       host: 'stackoverflow' });
hosts.push({ dir: 'serverfault',         host: 'serverfault' });
hosts.push({ dir: 'superuser',           host: 'superuser' });
hosts.push({ dir: 'stackapps',           host: 'stackapps' });
hosts.push({ dir: 'skins/sketchy',       host: 'stackexchange|.*' }); //catch all

if (top == self) {
    for (var i = 0, l = hosts.length; i < l; i++) {
        var regEx = new RegExp(hosts[i].host);

        if (regEx.test(hostName)) {
            directory = hosts[i].dir;
            break;
        }
    }
}

Stackoverflow We are Offline html


    Offline - Stack Overflow

</pre>
<div style="width: 950px; margin: 0 auto; text-align: left;">
<div style="margin-bottom: 10px;"><img src="http://sstatic.net/stackoverflow/img/logo.png" alt="Stack Overflow" width="250" height="61" /></div>
<div class="subheader">
<h1>Stack Overflow is currently offline for maintenance</h1>
</div>
Routine maintenance usually takes less than an hour. If this turns into an extended outage, we will <strong>post details on the <a href="http://blog.serverfault.com/" target="_parent">blog</a></strong>.

 <img title="stack overflow" src="http://sstatic.net/stackoverflow/img/offline-ide-1.png" alt="stack overflow" width="548" height="346" />

 <img title="stack overflow" src="http://sstatic.net/stackoverflow/img/offline-ide-2.png" alt="stack overflow" width="548" height="343" />

 <img title="stack overflow" src="http://sstatic.net/stackoverflow/img/offline-ide-3.png" alt="stack overflow" width="549" height="340" />

 <img title="stack overflow" src="http://sstatic.net/stackoverflow/img/offline-ide-4.png" alt="stack overflow" width="548" height="346" />

 <img title="stack overflow" src="http://sstatic.net/stackoverflow/img/offline-ide-5.png" alt="stack overflow" width="548" height="346" />

 <img title="stack overflow" src="http://sstatic.net/stackoverflow/img/offline-ide-6.png" alt="stack overflow" width="548" height="346" /></div>
<pre>

 

</pre>
<div style="width: 950px; margin: 0 auto; text-align: left;">
<div style="margin-bottom: 10px;">
 <img src="http://sstatic.net/serverfault/img/logo.png" alt="Server Fault" width="227" height="45" /></div>
<div class="subheader">
<h1>Server Fault is currently offline for maintenance</h1>
</div>
Routine maintenance usually takes less than an hour. If this turns into an extended outage, we will <strong>post details on the <a href="http://blog.serverfault.com/" target="_parent">blog</a></strong>.

 <img title="Blue Screen of Death" src="http://sstatic.net/serverfault/img/offline-bsod.png" alt="Blue Screen of Death" width="640" height="480" />

 <img title="Kernel Panic" src="http://sstatic.net/serverfault/img/offline-kernel-panic.png" alt="Kernel Panic" width="720" height="400" /></div>
<pre>

Server Fault

Server Fault is currently offline for maintenance

Routine maintenance usually takes less than an hour. If this turns into an extended outage, we will post details on the blog.

Blue Screen of Death

Kernel Panic

–eof–

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: