some general info: I’m running opensearch in in docker swarm mode on 3 linux machines.
While I’m perfectly fine in going to hostname:5601 to use opensearch my end users arn’t
enter traefik and the hell it’s been giving me.
I’ve created a DNS name pointing to the first server in my docker swarm and I’ve added some labels as per the documentation for the dashboard to use traefik :
opensearch-dashboards: image: opensearchproject/opensearch-dashboards:2.6.0 container_name: opensearch-dashboards environment: - OPENSEARCH_HOSTS=["https://opensearch-node1:9200"] deploy: labels: - "traefik.enable=true" - "traefik.http.routers.dash-rtr.service=dash-svc" - "traefik.http.routers.dash-rtr.entrypoints=http" - "traefik.http.services.dash-svc.loadbalancer.server.port=5601" - "traefik.domain=opensearch.****.****" - "traefik.http.routers.dash-rtr.rule=Host(`opensearch.****.****`)" - "traefik.docker.network=proxy" ports: - 5601:5601 configs: - source: opensearch_kibana target: /usr/share/opensearch-dashboards/config/opensearch_dashboards.yml networks: - proxy
Not sure if the traefik configuration is relevant, but can update this post to add it later on still.
So in short my endusers need to go to opensearch.. (internal domain are the ****) instead of the server_name:5601.
However on opening the page i’m presented with the following:
If i look in the dev options of my browser I’m seeing some 404’s for “restapiinfo” and “account”. Are those on a different port then the default 5601?
edit to clarify still:
while opensearch is still starting op (or the docker is anyway) the page is perfectly visible:
so it all goes to sh*t the moment the start up is completed and it wants to reach account and restapiinfo.
I’m at a loss, any idea’s or suggestions would be appreciated