Skip to content
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

Authentication error #13

Closed
AbdullahAli opened this issue Oct 6, 2016 · 3 comments
Closed

Authentication error #13

AbdullahAli opened this issue Oct 6, 2016 · 3 comments

Comments

@AbdullahAli
Copy link
Contributor

Whenever I try to connect, I get the following error, please help

screen shot 2016-10-06 at 15 06 01

@siddharthlatest
Copy link
Member

@AbdullahAli will look into this.

@farhan687
Copy link
Contributor

@AbdullahAli Did you change your elasticsearch config file?

For example it should be something like this:

http.port: 9200
 http.cors.allow-origin: "*"
 http.cors.enabled: true
 http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length, Authorization
 http.cors.allow-credentials: true

@AbdullahAli
Copy link
Contributor Author

sweet! that worked 👍

if anyone else gets stuck:

just to confirm, I added what you suggested (without indenting after first line) into

/usr/local/etc/elasticsearch/elasticsearch.yml

(I installed elasticsearch via brew so your config file might be in a different place)

then I hit refresh a couple of time and connect/disconnect and it should work:

screen shot 2016-10-06 at 16 16 10

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

No branches or pull requests

3 participants