JsReport /api/ping requires authentication - should it?



  • We need a simple endpoint that we can Ping on for health monitoring of our JsReport instance (running in Docker) - I can see there is a

    /api/ping

    GET method, however we also use Authentication and this means /api/ping is currently protected aswell which prevents Nodeping from monitoring as it does not have ability to specify authentication - any chance you could either add a new unprotected Ping endpoint or make the existing one unprotected.



  • Thank you for the suggestion.
    I've pushed the change to the master, it will be part of the next release.

    Until then, maybe just call GET http://localhost:5488. It returns login page but still 200 OK if the server is up.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.