appbaseio/mirage

Chrome extension does not give option to create query

Closed this issue · 6 comments

The chrome extension does not allow me to create a query, after selecting the index, nothing appears under it:

screen shot 2016-10-06 at 15 24 36

Does it also happen with pre loaded queries ?

no, preloaded looks okay, but it does not allow me to change the connection at the top, so I can't use it:

screen shot 2016-10-06 at 16 05 34

You can use 'disconnect button' on the right side top corner and edit it over there.
and one more thing

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

good shout (possibly the same issue as #13)

just to confirm, I added what you suggested without the indentations (as this breaks it):

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 And, do you still see it?

@siddharthlatest oh sorry I wasnt more clear

no, adding what @farhan687 suggested works 👍

I do not see the issue anymore