-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
missing authentication token for REST request #1154
Comments
Ok, I've added to docker-compose file in elasticsearch container: |
I did disabled it, but anyway the authentification is |
Why is the auth not documentent somewhere or am i just blind 🤔 |
documentation is saying |
Thanks @san4io it works now! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi again 👋 we would like to inform you that this issue has been automatically |
Info:
$ docker --version
): Docker version 17.06.2-ce, build cec0b72$ git rev-parse HEAD
): f765afdIssue:
I know this is stupid question, but nothing mentioned in documentation. What's the credentials?
[Elasticsearch\Common\Exceptions\BadRequest400Exception]
{"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication token for REST request [/myindex]","header":{"WWW-Authenticate":"Basic realm="security" charset="UTF-8""}}],"type":"security_exception","reason":"missing authentica
tion token for REST request [/myindex]","header":{"WWW-Authenticate":"Basic realm="security" charset="UTF-8""}},"status":401}
Expected behavior:
I should get ES info when visiting localhost:9200
Reproduce:
docker-compose up -d elasticsearch
visit localhost:9200 it requests authentication
The text was updated successfully, but these errors were encountered: