appbaseio/mirage

Authentication error

AbdullahAli opened this issue · 3 comments

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

screen shot 2016-10-06 at 15 06 01

@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:

screen shot 2016-10-06 at 16 16 10