-
If I wanted to check the health of a fusionauth installation, what's the best way to do that?
-
The system status API call is the best solution here. It will return a status code when you (or your application load balancer, CDN or other software system) makes a
GETrequest on<faurl>/api/status. It'll either be a 200 if things are all good or a 500 if there are any issues with the system.It's documented more fully here: https://fusionauth.io/docs/v1/tech/apis/system#system-status
Note that this endpoint is not currently supported by the client libraries, but is just a
curlaway. -
@dan unfortunately this is not right. If my fusionauth does not boot correctly, for example when the db is not reachable
/api/statusreturns a308instead of a500 -
@falk-jaeger Hmmm.
I don't know how you can get a
308. Is the request going through a proxy or something else?Here's the list of
/api/statusreturn codes (table 8):https://fusionauth.io/docs/v1/tech/apis/system#retrieve-system-status
If you are getting a different HTTP status code, please submit a bug report with replication steps and your FusionAuth version: https://github.com/fusionauth/fusionauth-issues/issues
-
I see the redirection to /maintenance-mode-silent-configuration-failed if the futhionauth could start because the fusionauth database not reachable.

-
As of 1.51.1, we now have a dedicated health check API endpoint:
https://fusionauth.io/docs/apis/system#retrieve-system-health has more details
-
D dan moved this topic from Q&A on
-
D dan moved this topic from Frequently Asked Questions (FAQ) on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login