'Kafka connector exception ERROR Failed to send HTTP request to endpoint: http://localhost:8081/subjects/jdbc-source-accounts-value/versions
I'm using Confluent Platform 3.3 as a Kafka connector , while starting the connector using the below command,
./bin/connect-standalone ./etc/schema-registry/connect-avro-standalone.properties ./etc/kafka-connect-jdbc/connect-jdbc-source.properties
getting the below error
ERROR Server died unexpectedly: (io.confluent.kafka.schemaregistry.rest.SchemaRegistryMain:52)
org.apache.kafka.common.errors.TimeoutException: Timeout expired while fetching topic metadata
[2017-10-30 13:49:56,178] ERROR Failed to send HTTP request to endpoint: http://localhost:8081/subjects/jdbc-source-accounts-value/versions
(io.confluent.kafka.schemaregistry.client.rest.RestService:156)
The Zookeeper is running in kafka client 2181 port, and I tried to start schema by the below command
./bin/schema-registry-start ./etc/schema-registry/schema-registry.properties &
But it didn't show any error messages but the port 8081 didn't up.Please help me to sort this out.
Solution 1:[1]
I also seen same issue while running the producer with Spring Cloud Stream. Replacing the localhost with actual IP address will help
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | satish chandra Shukla |
