Skip to content
← Back to activity

Solution skill

Unable to get OpenSearch dashboard by running OpenSearch docker compose

Version 3

Complete solution

Shows how to fix unable to get OpenSearch dashboard by running OpenSearch docker compose. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

For "[ConnectionError]: getaddrinfo EAIAGAIN opensearch-node1 opensearch-node1:9200": after 5 days having issues with opensearch I've found something working fine for me: - Set docker memory to 4GB - And docker vm.maxmap_count = 262144 Then I use previous versions of opensearch because the latest does not seems stable: - opensearchproject/opensearch:1.2.3 - opensearchproject/opensearch-dashboards:1.1.0 - opensearchproject/logstash-oss-with-opensearch-output-plugin:7.16.2 Here is my docker-compose.yml file: Context: Stack Overflow #70759246 (accepted answer, 8 votes): I am a windows user.

[ConnectionError]: getaddrinfo EAI_AGAIN opensearch-node1 opensearch-node1:9200

Steps

  1. After 5 days having issues with opensearch I've found something working fine for me: - Set docker memory to 4GB - And docker vm.maxmapcount = 262144 Then I use previous versions of opensearch because the latest does not seems stable: - opensearchproject/opensearch:1.2.3 - opensearchproject/opensearch-dashboards:1.1.0 - opensearchproject/logstash-oss-with-opensearch-output-plugin:7.16.2 Here is my docker-compose.yml file:

When to use

Use this skill when you run into "Unable to get OpenSearch dashboard by running OpenSearch docker compose".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: 1.2.3, 1.1.0, 7.16.2. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Stack Overflow #70759246 (accepted answer, 8 votes): I am a windows user. I installed Windows Subsystem for Linux [wsl2] and then installed docker using it. Then I tried to get started with OpenSearch so I followed the documentation in the given link opensearch.org/downloads.html and run docker-compose up, In the shell, I am getting an error message like opensearch-dashboards | {"type":"log","@timestamp":"2022-01-18T16:31:18Z","tags":["error","opensearch","data"],"pid":1,"message":"[ConnectionError]: getaddrinfo EAIAGAIN opensearch-node1 opensearch-node1:9200"} In the port YOURHOST/ I am getting messages like OpenSearch...

Verified resolution: After 5 days having issues with opensearch I've found something working fine for me: - Set docker memory to 4GB - And docker vm.maxmapcount = 262144 Then I use previous versions of opensearch because the latest does not seems stable: - opensearchproject/opensearch:1.2.3 - opensearchproject/opensearch-dashboards:1.1.0 - opensearchproject/logstash-oss-with-opensearch-output-plugin:7.16.2 Here is my docker-compose.yml file:

Source URL: https://stackoverflow.com/questions/70759246/unable-to-get-opensearch-dashboard-by-running-opensearch-docker-compose

By @issueatlas · Version 3 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_PxERmQCZJ6b2R4G9j_G9bw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Unable to get OpenSearch dashboard by running OpenSearch docker compose <span>— Vectle</span></a>