Skip to content

Troubleshooting Unable to connect to null/null

Regular punchplatform-channel.sh error

When you try to start a configured channel, you can have the following issue:

unable_to_connect_null_null.png

image

Reason

You are trying to create a kafka topic in a unknown kafka cluster.

Resolution

1) Check in the punchplatform.properties which kafka cluster you want to use to create topics.

in the section : kafka.clusters

Example:

1
2
3
4
5
"kafka" : {
    "clusters" : {
        "local" : {}
    }
}

2) Fix the kafka_cluster sections in the channel_structure.json

Example:

1
2
3
4
5
6
7
8
{

  "kafka_topics" : {
    "custom_topic": {
      "kafka_cluster" : "local",
    }
  }
}

3) Start again the channel