How to change gpe、gse、restpp service status from Down

  1. desc:
    [Warning] Status might not be up-to-date due to sync data error; kafka client is not ready to get latest offset
    ±-------------------±------------------------±------------------------+
    | Service Name | Service Status | Process State |
    ±-------------------±------------------------±------------------------+
    | ADMIN | Online | Running |
    | CTRL | Online | Running |
    | DICT | Online | Running |
    | ETCD | Online | Running |
    | EXE | Online | Running |
    | GPE | Down | Running |
    | GSE | Down | Running |
    | GSQL | Online | Running |
    | GUI | Online | Running |
    | IFM | Online | Running |
    | KAFKA | Online | Running |
    | KAFKACONN | Online | Running |
    | KAFKASTRM-LL | Online | Running |
    | NGINX | Online | Running |
    | RESTPP | Down | Running |
    | TS3 | Online | Running |
    | TS3SERV | Online | Running |
    | ZK | Online | Running |
    ±-------------------±------------------------±------------------------+

  2. when get gpe, gse, restpp log, it’s the following:
    2.1 GPE
    0211 09:57:03.326 D event/event_producer.go:76] Failed to produce event with ID: e1d704d410fd4356acbf1cf964e32214 to Kafka after retry 25 times, error: ConnectionClosed (KafkaProducer EventOutputProducer has not been started yet, or already closed)
    2.2 GSE
    0211 09:55:59.144 D event/event_producer.go:76] Failed to produce event with ID: 6885a6bfc9f445048d7a537550974afc to Kafka after retry 17 times, error: ConnectionClosed (KafkaProducer EventOutputProducer has not been started yet, or already closed)
    2.3 RESTPP
    0211 09:58:31.305 D event/event_producer.go:76] Failed to produce event with ID: 140ae39696344cd38070f662ca90756a to Kafka after retry 36 times, error: ConnectionClosed (KafkaProducer EventOutputProducer has not been started yet, or already closed)

KafkaProducer, EventOutputProducer is not a single service,so how to fix it?

when i restart gadmin restart all or even restart whole docker, the problem is still on

Each service can be restarted individually (gadmin restart GSE/GPE/RESTPP) but I think the problem is with an incoming event in the Kafka queue. If the GPE cannot process the message to create a new Vertex/Edge, I’ve seen where the RESTPP service will stop.

And if you just restart GSE & GPE themselves, do they start successfully?

Yes, I have retried restarted GSE and GPE individually, but error still。

but when i change System.HostList.Hostname from local_ip into 127.0.0.1 in config tg.cfg and restart all services, the services all ok