TheHive-Project / TheHive-Project/Cortex
ERROR CONNECTING REFUSED OR CLOSED CORTEX WITH OPENSEARCH
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.6k
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
ERROR CONNECTING REFUSED OR CLOSED CORTEX WITH OPENSEARCH
Request Type
Error connection refused or closed with opensearch and cortex
Work Environment
| Question | Answer |
|---|---|
| OS version (server) | RedHat 8.8 |
| Cortex version | 3.1.7 |
| Opensearch | 1.3.11 |
| Package Type | RPM |
| Browser type & version | Firefox |
Problem Description
I tried to use opensearch instead elasticsearch with cortex but this cause errors
This is the configuration in opensearch.yml
this is my configuration with cortex in application.conf
I got these errors when I tried to reach the cortex page 127.0.0.1:9001
If I tried to change these values below in opensearch.yml i got this error
I changed the values from false to true
I got the next errors
Steps to Reproduce
Step 1 install opensearch version 1.3.11 and configure opensearch accordingly and run service
Step 2 install cortex 3.1.7 latest version and configure cortex accordingly and run service
Step 3 Try to open cortex in browser localhost:9001 and this cause error
Possible solutions
Maybe I think this is a problem with elastic4s and elastic4play libraries of cortex and this cause a problem with compatibility with opensearch, maybe these libraries needs to be change to have a compatibility with opensearch
Complementary information
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Cortex application.conf and the supplied opensearch.yml settings, then reproduce the startup failure using Cortex 3.1.7 and OpenSearch 1.3.11. Review the reported elastic4s and elastic4play libraries and their compatibility information. Done means identifying the compatibility cause and defining a confirmed, scoped fix or documenting that this OpenSearch setup is unsupported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- backend, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100