3 ms·
I am trying to connect ES 2.3.3 Nothing happens, in chrome console I see those errors : XMLHttpRequest cannot load http://localhost:9200/myindex/_settings htt
by serguzest 10y ago
I am trying to connect ES 2.3.3
Nothing happens, in chrome console I see those errors :
XMLHttpRequest cannot load http://localhost:9200/myindex/_settings http://localhost:9200/myindex/_settings. Response to preflight request doesn't pass access control check: A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://opensource.appbase.io' http://opensource.appbase.io' is therefore not allowed access. The credentials mode of an XMLHttpRequest is controlled by the withCredentials attribute.
I can use elastic-head to connect local elasticsearch service. I did cors settings in elastic configuration file.
- sidi 10y ago@serguzest: Updated the instructions for using as an Elasticsearch plugin - https://github.com/appbaseio/gem/blob/dev/README.md#install-as-elasticsearch-plugin https://github.com/appbaseio/gem/blob/dev/README.md#install-.... If you still see the error, feel free to file an issue.