Authentication error
AbdullahAli opened this issue · 3 comments
AbdullahAli commented
siddharthlatest commented
@AbdullahAli will look into this.
farhan687 commented
@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 commented
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: