epam / epam/Indigo

Error on connection to opensearch instance with indigo

Open
#2,562 0 comments 0 reactions 1 assignee Claimed by @MysterionRise View on GitHub
Bingo-Elastic User`s Feedback
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Summary**

I visited [https://github.com/epam/Indigo/blob/master/bingo/bingo-elastic/java/src/test/java/com/epam/indigo/BaseLocalOpensearchTest.java,I](https://github.com/epam/Indigo/blob/master/bingo/bingo-elastic/java/src/test/java/com/epam/indigo/BaseLocalOpensearchTest.java%EF%BC%8CI) copied your code and try the connection with an opensearch docker instance which runs on schema http and port is 9200.
The command to run docker: `docker run --name opensearch2 -p 9200:9200 -e 'discovery.type=single-node' -e 'DISABLE_SECURITY_PLUGIN=true' opensearchproject/opensearch:2.8.0`

However, I got error: “Elasticsearch isn't started at http://[localhost]:9200 org.elasticsearch.ElasticsearchException: Elasticsearch version 6 or more is required”

Could you please give me any hint on how I can resolve this issue?

P.S. Reported as reported via email

![unnamed-4](https://github.com/user-attachments/assets/481b75b3-84c2-4496-8225-3042c4881dc9)
![unnamed-3](https://github.com/user-attachments/assets/cc581cbf-d17e-4203-9e66-f57f3f88ba1d)
![unnamed-2](https://github.com/user-attachments/assets/e5339890-4706-4fb7-8980-3136e7541c8d)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.