Yep, repl.it is down at the moment
Everyone, don't worry if you get the 'failed to connect, retrying' error. Apparently a lot of people are facing this issue right at this moment. We should all wait for repl.it to fix this. According to previous knowledge, repl.it runs on heroku and google cloud. Maybe their servers are down. We just have to wait and see how this turns out.
I've noticed that reloading the page fixes the problem