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

Getting the status of shecan by sending a request to the site #1

Open
mehanalavimajd opened this issue Jul 7, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@mehanalavimajd
Copy link

Hi today I faced a problem that shecanman (actually shecan) wasn't working.
I used shecanman status to see if shecan is on or not. It said it's working. It didn't work for 5 minutes so I went to shecan.ir and I saw it hasn't written that shecan is on. It was actually an internal error of shecan itself and it was working after 15 minutes.
So, I think the method you're using to check if shecan is on or not is to check /etc/resolv.conf file But it has a problem and that is if shecan has a problem, You may have used the correct DNS but it won't work(because shecan is not OK!)
I made an JS Script that make a request to shecan.ir and sees if it has written that it's on or not.
Link
I think it's better to use the site checking and if you want you can use mine :)

@rezdh rezdh added the enhancement New feature or request label Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants