Am I Doing This Wrong?

So, I’m making a Roblox Rank API and I have some ActiveSite JS Code. The thing is, it doesn’t keep my project up 24/7.

const http = require("http");
const express = require("express");
const app = express();
app.get("/", (request, response) => {
  console.log( + " Ping Received");
setInterval(() => {
}, 280000);

Why doesn’t it?

API CODE:!/remix/rank-api-code

I would recommend you avoid trying to self ping your project as ping services are no longer allowed and glitch bans projects that use them.

If you really want to keep your project online 24/7 you should look into getting boosted apps:


You should not do that!

That is ban-able!

Glitch bans anybody who pings. So remember, don’t ping :wink:

Yeah, Glitch blocked pinging services. Here is a section from their ToS

j. Infrastructure Integrity

We reserve the right to delete, suspend, or terminate your access to, or ability to use, any and all Services that we determine to be placing undue strain on our infrastructure. These changes were made in response to ping services on Glitch and our efforts to make the site more stable. You can read more about those efforts here.


That is not true. I ping my project to check how long it has been up to because I need to check the minutes, not hours. His/Her code is fine. It doesn’t really ping it. Glitch projects pinging themselves don’t keep them up, in fact, it is blocked. So there is nothing wrong.

Also, you don’t have to ping it, it is realitivally fast to wake ups. Mine is instant, but I have to refresh the cookie when it is offline for a long time

There are packages that can be used to “self ping” and these will get you banned.

@RiversideRocks Then is there anyways to host a folder on a VPS to a domain?

You can always import a project from glitch via git.

Would that then keep the domain?

If you’re talking about the domains; then no. domains are only for Glitch projects.