Closed rbagul closed 7 years ago
Are you sure you have the right URL (https://xxxx:9200
) for the Elasticsearch cluster?
Can you verify with a simple:
curl https://xxxx:9200
or
curl --insecure https://xxxx:9200
If you are using a self-signed SSL cert.
from a bash shell to verify you get back a valid response?
Closing due to inactivity, please open a new issue if this persists.
Hi,
We are trying to use elasticsearch-tableau-connector on local desktop and getting "CORS request was denied" error while connecting to elasticsearch. Our elasticsearch url is https://xxxx:9200
I have already added following section in elasticsearch.yml file of all elasticsearch servers, still we are getting this error. Please provide us some pointers to troubleshoot it.
Cors enable for Tableau
http.cors.enabled : true script.inline : true script.indexed : true http.cors.allow-origin : "*" http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type,Content-Length http.jsonp.enable : true cors.enabled : true http.cors.allow-credentials : true http.detailed_errors.enabled : true
Tested connectivity and I am able to reach to elasticsearch from local desktop. Output below: "name" : "node335M", "cluster_name" : "cd_elk_cluster-dev", "version" : { "number" : "2.2.0", "build_hash" : "8ff36d139e16f8720f2947ef62c8167a888992fe", "build_timestamp" : "2016-01-27T13:32:39Z", "build_snapshot" : false, "lucene_version" : "5.4.1" }, "tagline" : "You Know, for Search" }
Thanks, Rakesh