Ask coding questions

← Back to all posts
My flask server is stuck in the Waking repl... stage. How do I stop this?
Kablooie (0)

I made a Discord bot for me and my friends. In order to keep it going 24/7 I used flask and UptimeRobot to make a continuous bot. However, the server is stuck in the Waking repl... stage. I've also accidentally closed the Webview. Being able to fix that too would be great.

Answered by SixBeeps (5627) [earned 5 cycles]
View Answer
SixBeeps (5627)

Replit webpages show that whenever a server has started initializing, but hasn't finished yet. The reason why you're stuck seeing that is because your bot throws an error before the server can even start.

Look at line 30 of your bot code, you're missing a ) to close the call to send().

Kablooie (0)

@SixBeeps Thanks! Everything is now working!

ch1ck3n (2866)

@Kablooie you might as well click the checkmark next to him to say thanks