appbaseio / mirage

:art: GUI for simplifying Elasticsearch Query DSL
http://opensource.appbase.io/mirage
Other
2.21k stars 123 forks source link

Chrome extension does not give option to create query #15

Closed AbdullahAli closed 8 years ago

AbdullahAli commented 8 years ago

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

farhan687 commented 8 years ago

Does it also happen with pre loaded queries ?

AbdullahAli commented 8 years ago

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

farhan687 commented 8 years ago

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
AbdullahAli commented 8 years ago

good shout (possibly the same issue as https://github.com/appbaseio/mirage/issues/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
siddharthlatest commented 8 years ago

@AbdullahAli And, do you still see it?

AbdullahAli commented 8 years ago

@siddharthlatest oh sorry I wasnt more clear

no, adding what @farhan687 suggested works 👍

I do not see the issue anymore