Editor/glitch down?


I wanted to edit my discord bot but the editing page is not loading up it says: We are having trouble with reconnecting try refreshing. My bot is still online but i can’t edit it D: Any help would be awesome.

Hey @DevJoris, welcome to the Glitch Forums!

We’re not seeing widespread problems with the editor at the moment, so there’s a chance the problem you’re seeing is project-specific. Can you please provide your project name so we can take a look?

Out of curiosity, are you also https://twitter.com/Tqtics? Trying to ascertain if we’re seeing the same report in multiple places or separate reports.

Try to refresh, or remix your project.

Already in dm with u on twitter

What happens when I “remix” it?

I am :stuck_out_tongue:

Following up on our Twitter DM conversation, if you add this code to the bottom of your server.js file Glitch will stop trying to restart your project:

const express = require("express");
const app = express();

app.get("/", (request, response) => {
  console.log("Ping received!");

// listen for requests :)
const listener = app.listen(process.env.PORT, function() {
  console.log('Your app is listening on port ' + listener.address().port);

That won’t interfere with your bot, and will give you a place to point UptimeRobot should you desire to do so later. However it probably won’t address your connectivity problems (although it certainly won’t make them worse).

See twitter for more info :stuck_out_tongue: