Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting errors on search #5

Open
Apurva1590 opened this issue Dec 6, 2016 · 3 comments
Open

Getting errors on search #5

Apurva1590 opened this issue Dec 6, 2016 · 3 comments

Comments

@Apurva1590
Copy link

Hello Adam,
I am going through your tutorial about elasticsearch, actually I am new to this and ust atarted learning it, I found this tutorial really nice end to end but I am getting some errors.
I am done up to building search engine and now I stucked at UI part, I opened the page in the browser but not getting any results.
Here is the error :
error

@Apurva1590
Copy link
Author

Please help me as soon as as possible, I am waiting for your reply.
Thank you !

@adambard
Copy link
Owner

adambard commented Dec 7, 2016

Since you are sending cross-domain requests, your browser will refuse to co-operate unless your elasticsearch endpoint is configured to send an appropriate Access-Control-Allow-Origin header.

See https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html

@Apurva1590
Copy link
Author

Hello Adam,

I resolved this issue by just switching on CORS plugin in chrome.
And it is all working now.
Thanks a lot Adam, this helped me a lot.

Regards
Apurva

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants