Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

Seems not work with shield #16

Open
lakechat opened this issue Jan 26, 2016 · 1 comment
Open

Seems not work with shield #16

lakechat opened this issue Jan 26, 2016 · 1 comment

Comments

@lakechat
Copy link

when having shield installed, I got following exception:

[2016-01-26 10:24:05,236][ERROR][org.codelibs.elasticsearch.reindex.service.ReindexingService] [Autolycus] Failed to reindex tweets2.
ElasticsearchSecurityException[action [indices:data/read/search] is unauthorized for user [__es_system_user]]

Even though I provided -u in the command line. I guess "Reindex" is a two-step operation, -u only used for reading part. The writing part does not get the -u option

@wuhao000
Copy link

I used the java lib commons.httpclient send the reindex request,
add the anthorization info like this
client.getState().setCredentials(AuthScope.ANY, new UsernamePasswordCredentials(username, password));
the reindex plugin received the request, but the reindex process is not correctly created

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants