New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[repository] ES http plugin 401 #896

anchsu opened this Issue Nov 21, 2017 · 0 comments


None yet
2 participants

anchsu commented Nov 21, 2017

Using es http plugin with Elasticsearch protected by nginx

Expected Behavior
Use Authorization when pushing template.

Current Behavior
Caused by: io.gravitee.repository.exceptions.TechnicalException: Impossible to call Elasticsearch PUT /_template/gravitee. Response is 401
at io.gravitee.repository.elasticsearch.ElasticsearchComponent.ensureTemplate(

Possible Solution

Use Authorization when pushing template. method addCommonHeaders(req);

Your Environment

Version used: 1.11.2

brasseld added a commit to gravitee-io-community/gravitee-repository-elasticsearch that referenced this issue Nov 21, 2017

@brasseld brasseld self-assigned this Nov 21, 2017

@brasseld brasseld added the type: bug label Nov 21, 2017

@brasseld brasseld added this to the 1.11.3 milestone Nov 21, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment