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

I am facing HTTPS issues #93

Open
Alexsmith311 opened this issue Sep 1, 2024 · 2 comments
Open

I am facing HTTPS issues #93

Alexsmith311 opened this issue Sep 1, 2024 · 2 comments

Comments

@Alexsmith311
Copy link

Hi,
Can someone please guide me how to check the HTTPS status of my website NSFAS Status Check with this tool?
Thanks

@bobemoe
Copy link
Contributor

bobemoe commented Sep 3, 2024

What are the issues you are facing? Works just fine for me. Either install with composer as per the readme or unofficially using docker docker run constlab/http-status-check check https://nsfasstatuscheck.net.za/


===========================================
Run http check
Site url: https://nsfasstatuscheck.net.za/
===========================================

Start scanning https://nsfasstatuscheck.net.za/

[2024-09-03 12:39:53] 200 OK - https://nsfasstatuscheck.net.za/
[2024-09-03 12:39:53] 200 OK - https://nsfasstatuscheck.net.za/nsfas-application/
.....
[2024-09-03 12:40:00] 200 OK - https://bhatala.co.za/

Crawling summary
----------------
8 url(s) did have unresponsive host(s)
Crawled 49 url(s) with statuscode 200
Crawled 20 url(s) with statuscode 301
Crawled 56 url(s) with statuscode 302

@bobemoe
Copy link
Contributor

bobemoe commented Sep 3, 2024

I would recommend using the official composer install as docker example above is very out of date. The one thing that tripped me up following the readme is the path to the bin once installed with composer:

$ composer global require spatie/http-status-check
Using version ^4.0 for spatie/http-status-check
$ http-status-check scan https://nsfasstatuscheck.net.za/
bash: http-status-check: command not found

Find the correct path:

$ composer global config home
Changed current directory to /home/bob/.config/composer
/home/bob/.config/composer

Then run it from there:

$ /home/bob/.config/composer/vendor/bin/http-status-check scan https://nsfasstatuscheck.net.za/
Start scanning https://nsfasstatuscheck.net.za/
[2024-09-03 12:56:46] 200 OK - https://nsfasstatuscheck.net.za/
...

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

2 participants