["error","savedobjects-service"],"pid":1214,"message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 192.168.208.2:9200"}

Error in log:

["error","savedobjects-service"],"pid":1214,"message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 192.168.208.2:9200"}
{"type":"log","@timestamp":"2021-09-10T11:59:31+00:00","tags":["error","savedobjects-service"],"pid":1213,"message":"[.kibana_task_manager] Action failed with 'search_phase_execution_exception: [no_shard_available_action_exception] Reason: [b9118477589d][192.168.240.2:9300][indices:data/read/open_reader_context]'. Retrying attempt 1 in 2 seconds."}

Can someone help me to configure docker-compose kibana in order to solve this issue

version: "2"

services:
  zookeeper:
    image: wurstmeister/zookeeper:3.4.6
    ports:
      - "2181:2181"
  kafka:
    image: wurstmeister/kafka
    ports:
      - "9092:9092"
    environment:
      KAFKA_ADVERTISED_HOST_NAME: localhost
      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
      KAFKA_CREATE_TOPICS: "a:1,1"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
         
  jobmanager:
    image: pyflink/playgrounds:1.10.0
    volumes:
      - ./examples:/opt/examples
    hostname: "jobmanager"
    expose:
      - "6123"
    ports:
      - "8088:8088"
    command: jobmanager
    environment:
     - |
        FLINK_PROPERTIES=
        jobmanager.rpc.address: jobmanager
  taskmanager:
    image: pyflink/playgrounds:1.10.0
    volumes:
      - ./examples:/opt/examples
    expose:
      - "6121"
      - "6122"
    depends_on:
      - jobmanager
    command: taskmanager
    links:
      - jobmanager:jobmanager
    environment:
    - |
        FLINK_PROPERTIES=
        jobmanager.rpc.address: jobmanager
        taskmanager.numberOfTaskSlots: 2
  
  elasticsearch0:
    restart: always
    image: docker.elastic.co/elasticsearch/elasticsearch:7.14.1
    container_name: elasticsearch
    ulimits:
      memlock:
        soft: -1
        hard: -1
    volumes:
      - data01:/usr/share/elasticsearch/data    
    ports:
      - 9200:9200
    networks:
      - es-net
    environment:
      - http.cors.enabled:"true"
      - http.cors.allow-origin:"http://localhost:5601"
      - discovery.type=single-node
      - bootstrap.memory_lock=true
      - ES_JAVA_OPTS:"-Xms1g-Xmx1g"
      - refresh_rate:300s
      - MALLOCA_ARENA_MAX=4
  
  kibana:
    image: docker.elastic.co/kibana/kibana:7.14.1
    mem_reservation: 8096m
    mem_limit: 9096m
    container_name: kibana
    networks:
      - es-net
    environment:
      ELASTICSEARCH_HOSTS: "http://elasticsearch:9200"     
      server.maxPayload: 1653247624
      --max-old-space-size: 4048
      migrations.batchSize: 50
      savedObjects.maxImportExportSize: 2000
      migrations.retryAttempts: 20
      savedObjects.maxImportPayloadBytes: 26214400
      


      
    ports:
      - 5601:5601
    links:

      - elasticsearch0

volumes:
  data01:
    driver: local
networks:
  es-net:
    driver: bridge

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.