Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uptimebot #7

Closed
yofukashino opened this issue Aug 26, 2021 · 17 comments
Closed

Uptimebot #7

yofukashino opened this issue Aug 26, 2021 · 17 comments

Comments

@yofukashino
Copy link

can you make it so we can actually record its uptime with uptimebot. like maybe add a webpage with express to avoid error code 401 and so that it gets marked as online in uptimebot.

@KagChi
Copy link
Owner

KagChi commented Aug 30, 2021

Lavalink already provide webserver, you cant run 2 webserver on 1 replit project, also uptimerobot still work even project returning 401.

@yofukashino
Copy link
Author

Well okay but it shows offline in uptomebot even if pinging

@KagChi
Copy link
Owner

KagChi commented Aug 30, 2021

uptimerobot will still pinging the project even returning 401, well i used this and still active until now.

@yofukashino
Copy link
Author

well i want the status of it as online in uptimebot any workaround?

@KagChi
Copy link
Owner

KagChi commented Aug 31, 2021

if you want lavalink response with 200 ok, you have to modify lavalink your self, there no any way.

@Allvaa
Copy link

Allvaa commented Aug 31, 2021

well i want the status of it as online in uptimebot any workaround?

there is a way, you can target it to /version endpoint, which returns 200. but still, you need to set Authorization header to access it, otherwise it will still 401

@yofukashino
Copy link
Author

How to set authorization header. Me dumb dumb

@FatGrizzly
Copy link

image
edit this to true, and make checks to /metrics endpoint.
It will return 200, no auth required

@yofukashino
Copy link
Author

well i chnaged /metrics to /version and let it stay false it still works

@yofukashino
Copy link
Author

But still the replit goes offline after some days

@KagChi KagChi pinned this issue Dec 19, 2021
@ghost
Copy link

ghost commented Jan 23, 2022

How to make it so it doesn’t turn off after some days?

@ayaweeb
Copy link

ayaweeb commented Mar 4, 2022

I have the same issue bruh, no matter what i try, it will still go offline even after using uptimerobot

@yofukashino
Copy link
Author

@KagChi
Copy link
Owner

KagChi commented Mar 14, 2022

Running lavalink on railway is not recommended

@yofukashino
Copy link
Author

that works and this not, IDK why its not recommended so explain please

@KagChi
Copy link
Owner

KagChi commented Mar 14, 2022

they say it's against the TOS, and please don't discuss this further.

@yofukashino
Copy link
Author

as you say. and idc about stuff being right so works with me

@yofukashino yofukashino closed this as not planned Won't fix, can't repro, duplicate, stale Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants