Shell is closing after closing the browser's tab

Bug description:

Then in my repl I am using ngrok for webhook. Then I starting a ngrok./ngrok htpp 8080 after closing browser’s tab my ngrok is ending his work
Expected vs Current Behavior:
I expected It will work like it must, but it isnt.

Steps to reproduce:
Reload page use pc , phone, Microsoft Edge, making new repls, forking repls and a lot

Bug appears at this link: https://replit.com/~?supportform=true

I also tried pc
Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Linux; Android 12; SM-G973F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36

Replit Profile: https://replit.com/@lixelv

This isn’t a bug. If you need to run ngrok, you can have it run at Repl start-up with .replit

2 Likes

Replit is not a free VPS, all repls go to sleep eventually, which shuts down the console process. The shell process is not even meant for hosting, so it closes down as soon as your workspaces closes down (it is a workspace tool).

To make your repl wake up properly when a person try’s to access the website, do what @youngchief said

2 Likes

Thanks for asking my question :smiley:

1 Like