Closed AbdullahAli closed 8 years ago
@AbdullahAli will look into this.
@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
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:
Whenever I try to connect, I get the following error, please help