Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Unable to connect to Elasticsearch

Solved1.80K views21st September 2023Elasticsearch
1
Edib Šupić [SLC] [DevOps Catalyst]2.06K 21st September 2023 2 Comments

Hello,

I'm having issues with local DMA where I get error "Retrieving the service definitions failed." upon opening the Cube. I have Elasticsearch installed locally and everything worked fine until I installed Hyper-V and virtual adapters with it. I tried reinstalling the Elasticsearch and the issue was fixed but only until the first restart of the system. I have checked other similar questions, but none of them seem to work in my case.

This is the error I get in SLErrors:

This is the error I used to get before I deleted these interfaces from regedit(they were empty, and there were multiple interfaces this is just one of them):

SLASPConnection.txt|SLASPConnection.exe 10.3.2243.15574|9652|30792|CServiceModule::LoadIPAddresses|ERR|-1|Error 2 while fetching IP adapter info for SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters\\Interfaces\\{065D3EB3-4F67-46C1-9415-DE43DAD5EC42} (DHCP=1)

These are alarms I get in the Cube:

Edib Šupić [SLC] [DevOps Catalyst] Selected answer as best 21st September 2023
Miguel Obregon [SLC] [DevOps Catalyst] commented 21st September 2023

Hi Edib,
Small question, checking quickly the error from SLErrors I see the following address: 172.27.240:9200. Since you are running an Elasticsearch node locally, is it not an option to use localhost (127.0.0.1) in DB.xml?

Edib Šupić [SLC] [DevOps Catalyst] commented 21st September 2023

I am using localhost in DB.xml, I am wondering where this IP is coming from too. I feel like important part is that everything was working fine before I installed Hyper-V, so I’m guessing the issue has to do something with that, but I’ve been known to be wrong in the past.
Elastic was installed as standalone and not through DataMiner Cube, because Cube doesn’t allow Cassandra and Elastic to be on the same drive.

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Robbe De Ghein [SLC] [DevOps Advocate]785 Posted 21st September 2023 1 Comment

Hi Edib,

I believe this IP is coming from inter node communication.
The node is trying to sniff the cluster configuration.

The virtual adapters are messing with Elastic's IP.

I have the same problem when running elasticsearch inside docker containers.

I solved it by filling in the following settings:
network.publish_host=<the ip from the right adapter>
http.publish_port=9200

Edib Šupić [SLC] [DevOps Catalyst] Selected answer as best 21st September 2023
Edib Šupić [SLC] [DevOps Catalyst] commented 21st September 2023

This is the solution. I didn’t want to hard code the IP address so I used _local_ instead and it seems to be working. I say seems to because after I changed the IP from 0.0.0.0 to IP of the adapter it worked, but then when I changed it back to 0.0.0.0 it still worked, I guess some caching is happening. Also I didn’t have to configure publish_port but I will experiment more with it later, for now this is fine. Thank you.

1
Thibault Heylen [SLC] [DevOps Advocate]1.51K Posted 21st September 2023 1 Comment

Hi Edib,

Can you check if your service is still running on Windows?
As you are running it locally, do you also use 127.0.0.1 in the yaml file of your elastic?
Can you also post what version you're using.

Thank you for sharing the information.

Edib Šupić [SLC] [DevOps Catalyst] Edited comment 21st September 2023
Edib Šupić [SLC] [DevOps Catalyst] commented 21st September 2023

Elastic service is running, I checked both localhost:9200 and Windows services.
Elastic version is 6.8.23 and DMA version is 10.3.0.0-13297.
elasticsearch.yaml is configured as follows:
– cluster.name: DMS Elasticsearch
– node.name: DataMinerBestMiner
– path.data: C:\ProgramData\Elasticsearch
– bootstrap.memory_lock: true
– network.host: 0.0.0.0
– http.port: 9200
– discovery.zen.ping.unicast.hosts: []
– discovery.zen.minimum_master_nodes: 1
– gateway.recover_after_nodes: 1
– action.destructive_requires_name: true
– node.master: true
– node.data: true
– network.publish_host: 0.0.0.0

I have not modified these settings after the installation and installation configuration file was localhost_configuration.xml provided in standalone installer folder.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin