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

[reporter] ES http plugin 401 #893

Closed
anchsu opened this Issue Nov 21, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@anchsu

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.reporter.elastic.model.exception.TechnicalException: Impossible to call Elasticsearch PUT /_template/gravitee. Response is 401
at io.gravitee.reporter.elastic.indexer.ElasticsearchBulkIndexer.ensureTemplate(ElasticsearchBulkIndexer.java:302)

Possible Solution

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

Your Environment

  • Version used: 1.11.2
  • Plugin: gravitee-reporter-elasticsearch-http-1.9.0.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment