lensesio / kafka-topics-ui

Web Tool for Kafka Topics |
https://lenses.io
877 stars 148 forks source link

KAFKA REST /api/kafka-rest-proxy CONNECTIVITY ERROR #150

Closed ankit45621 closed 4 years ago

ankit45621 commented 5 years ago

Hi,

I am getting same issue with configuration: version: '2' services: zookeeper: image: confluentinc/cp-zookeeper:5.2.2 ports:

kafka: image: confluentinc/cp-kafka:5.2.2 volumes:

kafkaconnectjdbc: image: confluentinc/cp-kafka-connect network_mode: host hostname: localhost depends_on:

debezium: image: debezium/connect:0.9 depends_on:

kafka-topics-ui: image: landoop/kafka-topics-ui:0.9.4 container_name: kafka-topics-ui restart: unless-stopped depends_on:

Logs:

Landoop Kafka Topics UI 0.9.4 Visit https://github.com/Landoop/kafka-topics-ui/tree/master/docker to find more about how you can configure this container.

Enabling proxy. Kafka REST Proxy URL to /api/kafka-rest-proxy.

Activating privacy features... done. http://0.0.0.0:8000 172.21.0.1 - - [17/Sep/2019:07:42:36 +0000] "GET /env.js HTTP/1.0" 200 181 172.21.0.1 - - [17/Sep/2019:07:42:37 +0000] "GET /api/kafka-rest-proxy/topics HTTP/1.0" 502 16 172.21.0.1 - - [17/Sep/2019:07:42:37 +0000] "GET /api/kafka-rest-proxy/brokers HTTP/1.0" 502 16 172.21.0.1 - - [17/Sep/2019:07:42:37 +0000] "POST /api/kafka-rest-proxy/consumers/kafka_topics_ui_json_2019-09-17-01-12-21-342 HTTP/1.0" 502 16 172.21.0.1 - - [17/Sep/2019:07:42:37 +0000] "GET /api/kafka-rest-proxy/topics HTTP/1.0" 502 16

Please help me with this issue.

mariosant commented 4 years ago

Hey @ankit45621, apologies for the delay. Sounds like network misconfiguration. Closing this one for now, please feel free to reply if you feel it is an issue with kafka-topics-ui per se.