Opensearch Dashboard Connection error coming dureing deploying the Dashboard component

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
opensource {{opensearch-Dashboard:2.9.0}}

Describe the issue:
I am trying into install the OpenSearch Dashboard 2.9.0 version component in Azure AKS cluster using HELM charts. But during deployment helm charts complain that there is Caused by: “message”:“[ConnectionError]: write EPROTO 140388088182720:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:…/deps/openssl/openssl/ssl/record/ssl3_record.c:332:\n”}. we need a way to avoid this error.

Configuration:

Relevant Logs or Screenshots:

Hey @bhanu1

Is Opensearch and Opensearch-dashboard thet same verions?

1 Like

@bhanu1 Could you share the full values.yml file?
As far as I remember AKS is using Kubernetes above 1.18. Therefore, you should use ingressClassName in the ingress definition.

@bhanu1 If you have nginx ingress installed then ingress rule should be like the one below.

ingress:
  enabled: true
  # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
  # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress
  # ingressClassName: nginx
  annotations:
    # kubernetes.io/ingress.class: nginx
    # kubernetes.io/tls-acme: "true"
  ingressClassName: nginx
  hosts:
    - host: <host_name>
      paths:
        - path: /
          backend:
            serviceName: "opensearch-dashboards"
            servicePort: 5601
  tls: []
  #  - secretName: chart-example-tls
  #    hosts:
  #      - chart-example.local

If you didn’t enable TLS on the OpenSearch Dashboards then connection should be done through HTTP.
I assume that the provided errors come from OpenSearch Dashboards pod logs. It looks like OpenSearch Dashboards can’t connect with the OpenSearch node. Did you use the correct protocol (HTTP or HTTPS)?
The full values.yml file will be very helpful.