kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

Can not connect kafka from UI

Open doremiks7 opened this issue 2 years ago • 9 comments

Issue submitter TODO list

  • [X] I've looked up my issue in FAQ
  • [X] I've searched for an already existing issues here
  • [X] I've tried running master-labeled docker image and the issue still persists there
  • [X] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

log error from docker compose kafka-ui | 2024-03-27 02:40:10,705 INFO [main] o.s.b.a.e.w.EndpointLinksResolver: Exposing 2 endpoint(s) beneath base path '/actuator' kafka-ui | 2024-03-27 02:40:10,757 INFO [main] o.s.b.a.s.r.ReactiveUserDetailsServiceAutoConfiguration: kafka-ui | kafka-ui | Using generated security password: b236acbf-a7dd-42f3-a22c-32a4fe9ef4ff kafka-ui | kafka-ui | 2024-03-27 02:40:10,959 WARN [main] c.p.k.u.c.a.DisabledAuthSecurityConfig: Authentication is disabled. Access will be unrestricted.

please help me for this problem

Expected behavior

No response

Your installation details

zookeeper: image: wurstmeister/zookeeper container_name: zookeeper ports: - "2181:2181" kafka: image: wurstmeister/kafka container_name: kafka ports: - "9092:9092" depends_on: - zookeeper environment: KAFKA_ADVERTISED_HOST_NAME: localhost KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 kafka-ui: image: provectuslabs/kafka-ui container_name: kafka-ui ports: - "8090:8080" depends_on: - kafka - zookeeper environment: KAFKA_CLUSTER_0_NAME: local KAFKA_CLUSTER_0_BOOTSTRAP_SERVERS: kafka:9092 KAFKA_CLUSTER_0_ZOOKEEPER: zookeeper:2181 KAFKA_BROKERCONNECT: kafka:9092

Steps to reproduce

zookeeper: image: wurstmeister/zookeeper container_name: zookeeper ports: - "2181:2181" kafka: image: wurstmeister/kafka container_name: kafka ports: - "9092:9092" depends_on: - zookeeper environment: KAFKA_ADVERTISED_HOST_NAME: localhost KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 kafka-ui: image: provectuslabs/kafka-ui container_name: kafka-ui ports: - "8090:8080" depends_on: - kafka - zookeeper environment: KAFKA_CLUSTER_0_NAME: local KAFKA_CLUSTER_0_BOOTSTRAP_SERVERS: kafka:9092 KAFKA_CLUSTER_0_ZOOKEEPER: zookeeper:2181 KAFKA_BROKERCONNECT: kafka:9092

Screenshots

image

Logs

kafka-ui | 2024-03-27 02:40:10,705 INFO [main] o.s.b.a.e.w.EndpointLinksResolver: Exposing 2 endpoint(s) beneath base path '/actuator' kafka-ui | 2024-03-27 02:40:10,757 INFO [main] o.s.b.a.s.r.ReactiveUserDetailsServiceAutoConfiguration: kafka-ui | kafka-ui | Using generated security password: b236acbf-a7dd-42f3-a22c-32a4fe9ef4ff kafka-ui | kafka-ui | 2024-03-27 02:40:10,959 WARN [main] c.p.k.u.c.a.DisabledAuthSecurityConfig: Authentication is disabled. Access will be unrestricted.

Additional context

No response

doremiks7 avatar Mar 27 '24 02:03 doremiks7

Hello there doremiks7! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

github-actions[bot] avatar Mar 27 '24 02:03 github-actions[bot]

image

doremiks7 avatar Mar 27 '24 02:03 doremiks7

I configured the ip address on the webUI, but the container still tries to access localhost. set: image in Docker container: image

wubie052 avatar Aug 19 '24 03:08 wubie052