Node app starts but website doesn't

Hey, I’m hosting my Discord bot on Glitch and I’m also using UpdateRobot to keep track of it’s uptime. For some reason, the website is just stuck in the “Starting… To keep Glitch fast for everyone, inactive projects go to sleep and wake up on request.”. The bot starts but will not show as “Live” on the status thingy, it just has the loading animation.

Do you have a HTTP server?

What SuperOP535 asks sounds like the issue. If you let us know the project name and we’ll take a look. If your project is private, either make it public temporarily or DM me a join link so we can view the code. Thanks.

:thinking: I can’t find out how to DM you @Gareth. Can you just DM me and I can reply with an invitation?

You have server code in your project ping-pong.js file, but you aren’t including it in any of the server files being used so it’s not running. Move the code from ping-pong.js into bot.js or include it.

1 Like

Oh yeah I forgot. Thanks for the help!

1 Like