reactivesearch
reactivesearch copied to clipboard
Connnection unsuccessful to elasticsearch on localhost .
Discussed in https://github.com/appbaseio/reactivesearch/discussions/1933
Originally posted by coolb0y April 25, 2022
I used the sandbox code https://codesandbox.io/s/0yn05 . I put my index name as app name and credentials I put which I created during elasticsearch installation "elastic:somepassword" format and also link I gave was https://localhost:9200 . After setting all the cors setting in elasticsearch.yml . I found this error console
{"type":"default","status":400,"ok":false,"statusText":"Bad Request","headers":{"map":{"content-length":"88","content-type":"application/json"}},"url":"https://localhost:9200/dataserver/_reactivesearch.v3","_bodyInit":{},"_bodyBlob":{},"bodyUsed":true}
Please help me .