I'm running into the following error message when using 
elasticsearch-js<https://github.com/elasticsearch/elasticsearch-js/>client:
>
> No 'Access-Control-Allow-Origin' header is present on the requested 
> resource. Origin 'http://localhost:9090' is therefore not allowed access.


There is a brief mention of cross browser in the code:
https://github.com/elasticsearch/elasticsearch-js/blob/30f27494644b0dd893f69d69327a5f41c723da52/src/lib/connectors/xhr.js?L-20#L20-L24
But looking at that I'm not sure how to initialize the client any 
differently.

My topology looks like:
express+nodejs (laptop) <-> APIGEE (proxy) <-> ElasticSearch

Perhaps this is not about the elasticsearch-js client?

Thanks!
- Pulkit

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/aa65d51d-8f5a-4a52-aa2f-ea69d6e0590b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to