Dashboard error [I18n] A `locale` must be a non-empty string to add messages

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

2.3.0

Describe the issue:

For some reason, I have to deploy dashboard in Docker container with the version 2.3.0. I am encountering the error when I open it. If I use same docker-compose config with latest dashboard version, it works. Any idea?

Configuration:

  opensearch-dashboards:
    image: opensearchproject/opensearch-dashboards:2.3.0
    container_name: opensearch-dashboards
    ports:
      - "5601:5601" # Map host port 5601 to container port 5601
    expose:
      - "5601" # Expose port 5601 for web access to OpenSearch Dashboards
    environment:
      - OPENSEARCH_HOSTS=["http://opensearch:9200"]
      - DISABLE_SECURITY_DASHBOARDS_PLUGIN=true # disables security dashboards plugin in OpenSearch Dashboards

Relevant Logs or Screenshots:

Hi @delexw,

Have you tried a different browser, (seems like it is caused by some sticky session data from your previous deployment)?

What version is your OpenSearch cluster (also 2.3.0)?

best,
mj

Thanks @Mantas. Good point to try a different browser. Also the cluster version is 2.3.0. It works on Firefox and Safari but not on my Chrome. I also changed the port map to local machine using 25601 then it works on my Chrome.

How could I clean the sticky session data? It doesn’t work after I click the Clear your session button.