Opensearch Dashboards - Getting connection error with opensearch message":"[ConnectionError]: socket hang up"} after enabling SSL

@Mantas ,

We have resolved this issue.
There was an environment variable set in the opensearch statefulset definition OPENSEARCH_HOSTS which was overriding the custom value for opensearch.hosts field in opensearch_dashboards.yaml.
The environment variable was pointing to the default value - http://opensearch-master:9200.

Post updating the environment variable to required setting, the issue was resolved.

1 Like