Ask coding questions

← Back to all posts
ERR_SSL_PROTOCOL_ERROR and the console and run button is alway loading.
Eric_lin (0)

I have a problem in which the Run button is always loading and my console is doing the same thing. When I try to open the program in a different tab it just says "ERR_SSL_PROTOCOL_ERROR". Is there a way to fix it because I have a project due soon and I can't run the code to check if it works or use console.log?

Coder100 (17133)

Sometimes the SSL certificate expires. Replit usually fixes this problem within a few days, but
will always work ^^

19wintersp (1120)

This occasionally happens when Replit tries to give you the HTTPS page, however the certificate hasn't been issued yet. If you want to temporarily redirect HTTP to HTTPS in the Replit editor's frame, you can use this JavaScript code:

if (location.protocol == "https:") location.protocol = "http:";

which should redirect you to the HTTP version of your site.