Getting health status fails for non system users


I'm using Hibernate Search ORM with Elastic Search on

After upgrading from 5.6 beta to 5.8 (see, the application fails to start because it cannot get the health for the index from the elastic search instance.

It tries to retrieve "/_cluster/health/" which fails:

The problem here is the forward slash at the end of the index name. If I remove that and CURL the full URL including the same username I configured for Hibernate Search, it works.

As I use the auto generated index name, there's a little I can do as an end developer here.




Michael Simons
September 17, 2017, 2:25 PM

Thank you Sanne! Wasn't quite sure if that had been on purpose, otherwise I'd have sent a PR.

Sanne Grinovero
September 17, 2017, 1:54 PM

Thanks ! We'll get this fixed ASAP.

Michael Simons
September 15, 2017, 4:18 PM

Probably that one needs something that checks if it's the last element of a path Most often it doesn't make a big difference, but /foo/bar is technically a different thing than /foo/bar/.



Sanne Grinovero


Michael Simons