Invoke health check via HTTP


I can’t seem to figure out how to invoke the Graphhopper health check via HTTP.
From the code I can see that health checks are registered in and according to ther dropwizard documentation, I should be able to invoke it via GET /healthcheck on the admin port. I tried it on the default port 11111 while importing a map but it seems that this port is not available at that time.

Thanks for any pointers.

See the config:

Did you try the admin port at 8990? (Note, it binds to localhost)

Ok but in 0.10.1 there is only a and no admin port is specified. How can I configure it there?

In 0.10.x there is no dropwizard … it was recently migrated to dropwizard. In older versions you could use a small route as health check

1 Like