We're currently experiencing a service interruption - updates here

API and Hosting work now. Only community site doesn’t work.

Everything works now.

Thats good to hear same on my end :smiley: ofcourse it could begin to not work again so just prepare for that

Api is down again

Nope, the website is down. However the editor is still works if you try it.

Importing from github isn’t working too

Projects are a bit slow. I hope this gets sorted out soon.
Screenshot 2020-03-19 at 8.06.58 AM

any updates? this has been the case for over 6 hours now

1 Like

hi @Min - we’ll be posting update as they come in on status.glitch.com. As for right now, we’re continuing to work on the issue and so some users may or may not experience downtime in the editor and with their projects.

4 Likes

thank you for the update!

1 Like

The slack bot, I hosted in glitch is responding with this html as a message

<!DOCTYPE html>
<html>
 <head>
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <title>Maintenance</title>
   <noscript>
     <meta http-equiv="refresh" content="1">
   </noscript>
   <style>
     * {
       box-sizing: border-box;
     }
     body {
       background-color: white;
       font-family: "Benton Sans", "Helvetica Neue", helvetica, arial, sans-serif;
     }
     main {
       padding: 1rem;
     }
     p {
       max-width: 500px
     }
     .note{
       font-size: small;
       color: #9B9B9B;
     }
     .content{
       margin: 50px;
       position: fixed;
     }
     #loader:after {
       overflow: hidden;
       display: inline-block;
       vertical-align: bottom;
       animation: ellipsis steps(4,end) 1000ms infinite;
       content: "\2026";
       width: 0px;
     }
     @keyframes ellipsis {
       to {
         width: 1.25em
       }
     }
     canvas#background {
       position: fixed;
       height: 100%;
       width: 100%;
       top: 0;
       left: 0;
       z-index: -1;
     }
   </style>
 </head>
 <body>
   <main>
     <div class="content">
       <p class="status">
         <span id="message">Waking up</span>
         <span id="loader" ></span>
       </p>
       <p class="note">
         To keep Glitch fast for everyone, inactive projects go to sleep and wake up on request.
       </p>
     </div>
   </main>
   <canvas id="background"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bowser/1.9.4/bowser.min.js"></script>
<script>
// drawing
var canvas, context, canvasImage;
var cursorPosition = {
 x: undefined,
 y: undefined,
};
var color = '#e5e5e5';
var size = 30;
function randomColor() {
 var colors = [
   '#fcd1c4',
   '#abfcec',
   '#a3d9e1',
   '#fbbfff',
   '#a9ef8f',
   '#fff0b2',
   '#fff0b2',
 ];
 color = colors[Math.floor(Math.random() * colors.length)];
}
function throttle(ms, fn) {
 var lastCallTime;
 return function () {
   var now = Date.now();
   if (!lastCallTime || now - lastCallTime > ms) {
     lastCallTime = now;
     fn.apply(this, arguments);
   }
 }
}
function drawCircle(event) {
 context.beginPath();
 context.arc(cursorPosition.x, cursorPosition.y, size, 0, 2 * Math.PI);
 context.closePath();
 context.fillStyle = color;
 context.fill();
 canvasImage = context.getImageData(0, 0, window.innerWidth, window.innerHeight);
}
window.onload = function () {
 randomColor();
 canvas = document.getElementById('background');
 canvas.width = window.innerWidth;
 canvas.height = window.innerHeight;
 context = canvas.getContext('2d');
 window.onresize = throttle(100, function () {
   canvas.width = window.innerWidth;
   canvas.height = window.innerHeight;
   context.clearRect(0,0, window.innerWidth, window.innerHeight);
   canvasImage && context.putImageData(canvasImage, 0, 0);
 });
 window.onmousemove = throttle(10, function (event) {
   cursorPosition = {
     x: event.clientX,
     y: event.clientY,
   };
   drawCircle(event);
 });
 window.ontouchmove = throttle(10, function (event) {
   cursorPosition = {
     x: event.touches[0].clientX,
     y: event.touches[0].clientY,
   };
   drawCircle(event);
 });
}
</script>
<script>
// container status updates
setTimeout(function () {
 function reloadAfterDelay(delay) {
   delay = delay || 1000;
   return setTimeout(function () {
     window.location.reload(true);
   }, delay);
 }
 try {
   var isValidBrowser = bowser.check({
     ios: "7",
     msie: "10",
     android: "4.4",
     chrome: "16",
     firefox: "11",
   });
   if (!isValidBrowser) {
     throw new Error("Jump to refresh");
   }
   var initialReloadHandler = reloadAfterDelay(5000);
   var ws = new WebSocket("wss://" + document.location.hostname + "/___glitch_loading_status___");
   ws.onmessage = updateContainerStatus;
   ws.onerror = reloadAfterDelay;
   ws.onopen = function () {
     clearTimeout(initialReloadHandler);
     setInterval(function () {
       ws.send("keepalive");
     }, 15000);
   };
   ws.onclose = function () {
     reloadAfterDelay(10);
   };
   function updateContainerStatus(event) {
     try {
       var data = JSON.parse(event.data);
       var message = document.getElementById('message')
       var text = "";
       switch (data.text) {
         case "initialize":
           text = "Waking up";
           break;
         case "install":
           text = "Preparing";
           break;
         case "restart":
           text = "Starting";
           break;
         case "listening":
           text = "Ready";
           break;
         default:
           return;
       }
       message.innerHTML = text;
       document.title = text + " ・゚✧";
       if (data.text === 'listening') {
         window.location.reload(true);
       }
     } catch (e) {
       reloadAfterDelay();
     }
   }
 } catch (e) {
   reloadAfterDelay();
 }
}, 0);
</script>
 </body>
</html>
1 Like

The website just crashed, error Something went very wrong, try refreshing? .

1 Like

We are seeing some improvements in site functionality now.

After an outage, some projects may appear to be stuck loading. This issue typically resolves itself within 24 hours.

If your project seems to be stuck loading, and you do not want to wait - and that is totally understandable - please send a message to support@glitch.com along with the name of your project, and we will get it running for you again!

1 Like

Just asking but why there is 2 same status updates? also same time

1 Like

The GitHub export feature still doesn’t work. Why not?

1 Like

Importing from GitHub doesn’t work either.

1 Like

Thanks for letting us know about the GitHub import/export issues. We’re investigating and will update — sorry for the bother!

4 Likes

After resolving the outage there’s still a problem. POST requests to some containers (that seem to be operational) end up in 404

1 Like

Thanks for all the hard work. Can’t imagine myself coding without Glitch ;(

1 Like

Seems like the issue is resolved now.

1 Like