How to use and setup UptimeRobot
Uptime Robot is all about helping you to keep your websites up. It monitors your websites every 5 minutes and alerts you if your sites are down.
its 100% free
It will keep your server up until your server ran into problems.
For more info click here
Once you log into your UptimeRobot account.
Go to Dashboard (default screen for uptimerobot is dashboard)
To add new link. Click Add New Monitor
This file cannot be displayed: https://storage.googleapis.com/replit/images/1543700457952_b004f02b1fcc5c4ebbfd9dd4ac6e72a3.pn
Once you click that.
This Screen will popup
This file cannot be displayed: https://storage.googleapis.com/replit/images/1543700591609_6372ec32f20a3b9e698c6d17065608ed.pn
Now Select Monitor type HTTP(s).
Make sure type is
Now details popped up
This file cannot be displayed: https://storage.googleapis.com/replit/images/1543700614209_cab3cfa1204b5f5003ddf4808fa166d7.pn
For Friendly Name enter what would you like to call your Monitor.
For URL (or IP) enter your web server link.
if you're using repl, it should look like this
https://your-repl-name.your-username.repl.co, but with your repl name.
For Monitoring Interval, I'll suggest leaving it to the default value.
Now if you have all the info done. your page should look like this
This file cannot be displayed: https://storage.googleapis.com/replit/images/1543700638871_a711ea26b16310c52679d9c346d21221.pn
Now you also have this box:
This file cannot be displayed: https://storage.googleapis.com/replit/images/1543700789533_ce469a1259ce37bfa15f40f05c22911c.pn
This means that if you select this, and your server is down or ran into any problems. UptimeRobot will alert you by sending an email.
I suggest you add alert notify
Now click Create Monitor
You have successfully created a monitor. Now your server will stay online, even if you're not running your code.
On your dashboard, your monitor will appear.
This file cannot be displayed: https://storage.googleapis.com/replit/images/1543700707091_8c6114aceaff448ed37a28029da8d3c1.pn
as you see, it showing that your server is down.
Your server is not down. To fix this just give it 1-2 min and reload your page.
This file cannot be displayed: https://storage.googleapis.com/replit/images/1543700724356_c5657b6dc83706fb46760a8ff8d4acb7.pn
There you go! Your Monitor is running.
I kept on having these issues where my monitor would go down with error 502 Bad Gateway. I discovered a way to fix it, and would definitely help people because I know that there must be other people looking for a solution.
repl.it will stop your project when the browser closes. Your browser fires an event when its closing so that each website/extension open knows it and can do stuff such as autosave, or in this case, shut off your project. I figured that we would need a workaround for that. By preventing the browser from sending an event that tells repl.it that its closing, the project will not shut off.
One way to do this is with the task manager on Windows. Just select the process (a.k.a. your browser) and kill the task. On Mac, you can also force quit the browser. And that's it, your repl.it project should stay online!
Note that you will have to do this for every time you close your repl.it project, it will not stay online forever after you've only done it once.
If you're using a Chromium-based browser (Chrome, Opera, Edge, Brave, etc.) you can also end the process for the specific Repl.it tab by going to the Task Manager (three dots at top right → More Tools → Task Manager), selecting the Repl.it tab, and clicking ‘End Process’. This avoids quitting your entire browser.
I'm hosting my bot this way, it has a file that keeps and modifies member's points based on some commands they send. After some time hosting here (in less than a day) the datafile is restored and the data lost, anyway to fix that?
On the 1st of April if you don't have Premium on UptimeRobot it will terminate your monitors. All monitors including these domains if you don't have premium:
Hope this helps
I know this is old post but can someone link me or elaborate how does this work ? I mean how does this uptimerobot makes repl work or keep it running thanks.