client.indices.refresh Authorization Exception
See original GitHub issueSince enabling security on our new Elasticsearch cluster (6.6.1) client.indices.refresh
is throwing an Authorization Exception
.
E.g.
client.indices.refresh({
index: 'my-index-name'
}
The user in question has a role with the following privileges…
"privileges": [
"manage",
"read",
"view_index_metadata",
"write"
]
Other operations like client.search
and client.index` are working fine.
Have I found a bug?
If I have, would you be amenable to me submitting a PR to fix it?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Authorization exceptions | Elasticsearch Guide [8.5] | Elastic
I configured the appropriate roles and the users, but I still get an authorization exception. I can authenticate to LDAP, but I still...
Read more >How to fix "elasticsearch.exceptions.AuthenticationException
I am working on using an ElasticSearch database to store data I am pulling from online. However, when I try to index the...
Read more >Misleading Exception thrown on 'Get' query using wildcard in ...
To my surprise, I got the following error message when the exception was raised. elasticsearch.exceptions.AuthorizationException: ...
Read more >API Documentation — Elasticsearch 7.16.0 documentation
The instance has attributes cat , cluster , indices , ingest , nodes , snapshot ... SSL client authentication is supported (see Urllib3HttpConnection...
Read more >org.elasticsearch.action.admin.indices.refresh.RefreshRequest
public boolean elasticsearch() throws Exception { String indexName = UUID.randomUUID().toString(); try { //create createIndex(client, indexName); // index ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just realised I should have checked the version while walking the dog and got my phone out to say so. Will check that and curling when I get back.
Hi! Sorry for the delay! Glad you could solve it 😃