You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elasticsearch version:
2.3 JVM version:
1.8.0 OS version:
Windows 7 Description of the problem including expected versus actual behavior:
I have set cors conf in elasticsearch.yml like this http.cors.enabled : 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
When requesting elasticsearch from file:///C:/elastic/index.html i got the following error Request header field Content-Type is not allowed by Access-Control-Allow-Headers
I switched to 2.2 version and i set the same parameters and it works like a charm
Steps to reproduce:
1.Set cors parameters in elasticsearch.yml
2.Request elasticsearch from an url like this: file:///c:/..
The text was updated successfully, but these errors were encountered:
Elasticsearch version:
2.3
JVM version:
1.8.0
OS version:
Windows 7
Description of the problem including expected versus actual behavior:
I have set cors conf in elasticsearch.yml like this
http.cors.enabled : 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
When requesting elasticsearch from file:///C:/elastic/index.html i got the following error
Request header field Content-Type is not allowed by Access-Control-Allow-Headers
I switched to 2.2 version and i set the same parameters and it works like a charm
Steps to reproduce:
1.Set cors parameters in elasticsearch.yml
2.Request elasticsearch from an url like this: file:///c:/..
The text was updated successfully, but these errors were encountered: