Getting health status fails for non system users

Description

I'm using Hibernate Search ORM with Elastic Search on http://www.euregjug.eu.

After upgrading from 5.6 beta to 5.8 (see https://github.com/EuregJUG-Maas-Rhine/site/commit/70099d231f05810376fd8f86783b75fd01a6b11c), the application fails to start because it cannot get the health for the index from the http://www.searchly.com elastic search instance.

It tries to retrieve "/_cluster/health/eu.euregjug.site.posts.postentity/" 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.

Environment

None

Assignee

Sanne Grinovero

Reporter

Michael Simons

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure