Node app starts but website doesn't


#1

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.


#2

Do you have a HTTP server?


#3

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.


#4

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


#5

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.


#6

Oh yeah I forgot. Thanks for the help!