When I connect uptimeRobot it errors and says Not Found I go into the link that I put and it says that the thing is a website and it just says not found D: How to fix? Also uptime robot when I put it into a different port it says it’s alr.
@Awsomegameplay123 can I have the exact url you put into uptimerobot or maybe some screenshot of the monitor you created on the dashboard?
Okay, so here it is @EddiesTech
It kept happening I don’t know why. Also I subbed to ur yt channel.
It’s right it comes up as 404 not found because when you set up the monitor on uptimerobot you spelt support wrong
Okay let me try resting it to my Discord’s Bot name lol @EddiesTech
@EddiesTech also it did it again
Idk why it does that. D: @EddiesTech
You need to make sure your server sends a response to the client (in this case Uptimerobot) so it doesn’t get a not found error
How do I do that. I have no idea how to. @EddiesTech
I just started making a discord bot 2 days ago so I have no idea how to do that.
Intl your server.js file make sure you have Express installed and then use this code:
app.get(’/’, (request, response) =>{
response.sendStatus(200);
});
I don’t have a server.js file do I create 1 right now and add it? @EddiesTech
Whatever your main js file is (e.g. bot.js)
How do I know which is my main . js file? @EddiesTech I’m new at this sorry.
In package.json it should say node start and then something. That something is your main file unless you’re using python. If so, I can’t help you
Okay @EddiesTech I did it and a new error appeared I looked up the error in glitch found the solution fixed it and now theirs another error
You need to scroll up on the error to what first says. I can’t see the actually useful bit
Can I see your package.json file?
And can you screenshot it this time
I imagine express isn’t installed. On the package.json file, click ‘Add New Package’ and search for express - click on express to install and add it. Then you shouldn’t get the error
Okay, I will send over a picture of the package.json file @EddiesTech
can you not login on the mac and take screenshots?
Idk how to take screenshots on Mac. Oof
Actually I can @anon43649539
@Awsomegameplay123 Yep! I was right! Where it says ‘Add Package’ press that and type ‘express’ (without quotes) and click on the first one. That should work!
Says it’s installing!
Thanks @EddiesTech !
Eh nvm it doesn’t seem to be a problem. : p
Just so you know anyway, 404 is not found
Is that a bad thing. ?? @EddiesTech
Oh oops I forgot to setup my Uptime Robot Moniter.
Shouldn’t be, it’s just checking for updates anyway
Done Uptime Moniter has been successfully setup lol.
That’s weird it should be working.
Instead of the status code use response.send("HELLO!");
OooooooOf Atleast it’s working.
Where do I put that? @EddiesTech
app.get(’/’, (request, response) =>{
response.send("HELLO!");
});
Use this code ^^^ in your main .js file
Replace those quotes with speech marks. Copying and pasting quotes sometimes messes up
@Awsomegameplay123 SCROLL UP!!!
I did iDidididididid @EddiesTech
Hello? @EddiesTech u their?
@EddiesTech can I just invite u to my project to help?
@Awsomegameplay123 Sure! Send me a link via DM
That’s not an invite link, An invite link looks like https://glitch.com/edit/#!/join
You can get the link by going to SHARE and then click the 2nd copy button.
But I am giving an invite
@Anish But that is my invite link look
Ok copy that and PM that to me.
How do I pm? @Anish I am so confused
@EddiesTech Here is the invite link [join link removed by glitch](it’s real I’m serious that’s my invite code I don’t know how I’m new)
GLITCH BANNED UPTIME
yes, i think he is aware
@NichuNaizam Yes, I am aware. This post was made ages before the new ban. If you look at the ban announcing the permanent ban, I am like the third post
@Aresiel please read all posts before posting your own. Especially the latest one
Not the type of replies I expected to see for an old thread.
I’m just going to add closed to this thread.