Troubleshooting
This guide explains how to troubleshoot the Hyperswitch setup and verify if all the components are up and running as expected
System Health Check
Hyperswitch provides a deep health check endpoint to check if the various components involved are up and running. To check the readiness of the application, you can run the following command.
The above command will check the Database connection, Redis connection, Hyperswitch Vault connection (if enabled), ability to send outgoing requests, and the health of analytical components. If the components are up and running with the correct configurations, you will get a success response as shown below
If there is an issue with one of the components, the API will return an error response which will indicate the reason for the failure. For example, if the app server is not able to connect with the database, the error response would be as follows
Additionally you can add this as a Readiness Probe in your Kubernetes Deployment
In case the app server does not start due to the failure of the readiness probe, you can check the logs through Kubernetes Logs using the below command
Last updated