Ask coding questions

← Back to all posts
Help with Internal Service Error message
lcardot (0)

I am trying to get my repl file to load a server and stay up, but I keep getting this error message and tons of errors in the console. My code will still run, but sometimes I will notice that it will start over. Any help would be appreciated.

Comments
hotnewtop
ErrorNoInternet (13)

Servers on REPL will continue to run for an hour before automatically shutting down. If someone has been visiting your server/website, then it will have another 1 hour cool down before shutting down. I recommend you to use a service like UptimeRobot that can continuously ping your server so that way it says up.

lcardot (0)

@ErrorNoInternet I appreciate the response. I tried using uptime to send pings every 5 minutes to my repl url, but the uptime monitor keeps going up and down every few hours, which ends up restarting my repl. Any advice?

ErrorNoInternet (13)

@lcardot The REPL url is supposed to be project.username.repl.co, not https://replit.com/@username/project. You have to create a new thread in your REPL and run a Flask web server on that thread in order to get a project.username.repl.co url.