You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The endpoint /healthy responds HTTP 200 even some checks failing.
How to simulate
into a empty laravel 10 project install some 4.x version
config checks to just use directory checker putting following file into ./config directory health-checker.zip
change directory permission in the way current user could not write there.
serve using ./artisan serve
make a request into http://{your_hostname}/healty
the return seems a HTTP 200 with following body:
{
"status": {
"code": 200,
"message": "OK"
},
"health_status": {
"directory-permission": {
"is_healthful": false,
"message": "The directory laravel-10/public/storage/ is not writable."
}
}
}
Problem found
The problem seems to be into the src/Http/Controllers/HealthCheckerController.php file, where the controller gets checking results but does not do any validation using returned objects. In other hand the file comandline interface does this kind of validation.
The text was updated successfully, but these errors were encountered:
Problem
The endpoint
/healthy
responds HTTP 200 even some checks failing.How to simulate
into a empty laravel 10 project install some 4.x version
config checks to just use directory checker putting following file into
./config
directoryhealth-checker.zip
change directory permission in the way current user could not write there.
serve using
./artisan serve
make a request into
http://{your_hostname}/healty
the return seems a HTTP 200 with following body:
Problem found
The problem seems to be into the
src/Http/Controllers/HealthCheckerController.php
file, where the controller gets checking results but does not do any validation using returned objects. In other hand the file comandline interface does this kind of validation.The text was updated successfully, but these errors were encountered: