Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] kafka issue #2276

Closed
zhaowangda opened this issue May 7, 2024 · 15 comments
Closed

[BUG] kafka issue #2276

zhaowangda opened this issue May 7, 2024 · 15 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@zhaowangda
Copy link

OpenIM Server Version

release-v3.7

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

[2024-05-07 18:51:40,334] WARN [AdminClient clientId=adminclient-1] Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)

[root@localhost openim-docker]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ccf60f36cfa9 grafana/grafana:10.4.2 "/run.sh" 13 minutes ago Up 13 minutes 0.0.0.0:13000->3000/tcp, :::13000->3000/tcp grafana
97dd66c9ac91 prom/prometheus:v2.51.2 "/bin/prometheus --c…" 13 minutes ago Up 13 minutes 0.0.0.0:19090->9090/tcp, :::19090->9090/tcp prometheus
e91c1609fd6f openim/openim-web-front:release-v3.5.1 "/docker-entrypoint.…" 13 minutes ago Up 13 minutes 0.0.0.0:11001->80/tcp, :::11001->80/tcp openim-web-front
afcaf030e33c minio/minio:RELEASE.2024-01-11T07-46-16Z "/usr/bin/docker-ent…" 13 minutes ago Up 13 minutes 0.0.0.0:10005->9000/tcp, :::10005->9000/tcp, 0.0.0.0:10004->9090/tcp, :::10004->9090/tcp minio
4e1fa7a4e72e mongo:6.0.2 "docker-entrypoint.s…" 13 minutes ago Up 13 minutes 27017/tcp mongo
6564c921c970 openim/openim-admin-front:release-v1.7 "/docker-entrypoint.…" 13 minutes ago Up 13 minutes 0.0.0.0:11002->80/tcp, :::11002->80/tcp openim-admin-front
f124b0fcc450 openim/openim-chat:release-v1.7 "sh -c 'mage start &…" 13 minutes ago Up 13 minutes (unhealthy) 0.0.0.0:10008-10009->10008-10009/tcp, :::10008-10009->10008-10009/tcp openim-chat
c6b206f33f56 prom/node-exporter:v1.7.0 "/bin/node_exporter" 13 minutes ago Up 13 minutes 0.0.0.0:19100->9100/tcp, :::19100->9100/tcp node-exporter
2ed9afb96329 bitnami/kafka:3.5.1 "/opt/bitnami/script…" 13 minutes ago Up 13 minutes 9092/tcp kafka
a76f76c80b34 bitnami/zookeeper:3.8 "/opt/bitnami/script…" 13 minutes ago Up 13 minutes 2181/tcp, 2888/tcp, 3888/tcp, 8080/tcp zookeeper
c5fbc2657afa prom/alertmanager:v0.27.0 "/bin/alertmanager -…" 13 minutes ago Up 13 minutes 0.0.0.0:19093->9093/tcp, :::19093->9093/tcp alertmanager
79624757e02d openim/openim-server:release-v3.7 "sh -c 'mage start &…" 13 minutes ago Up 13 minutes (unhealthy) 0.0.0.0:10001-10002->10001-10002/tcp, :::10001-10002->10001-10002/tcp openim-server
84364aebb252 redis:7.0.0 "docker-entrypoint.s…" 13 minutes ago Up 13 minutes 6379/tcp

Screenshots Link

[2024-05-07 18:51:40,334] WARN [AdminClient clientId=adminclient-1] Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)

@zhaowangda zhaowangda added the bug Categorizes issue or PR as related to a bug. label May 7, 2024
@kubbot
Copy link
Contributor

kubbot commented May 7, 2024

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

@zhaowangda
Copy link
Author

zhaowangda commented May 7, 2024 via email

@skiffer-git
Copy link
Member

Run 'docker ps', then take a screenshot to check.

@skiffer-git
Copy link
Member

@zhaowangda
Copy link
Author

zhaowangda commented May 7, 2024 via email

@zhaowangda
Copy link
Author

zhaowangda commented May 7, 2024 via email

@skiffer-git
Copy link
Member

Run 'docker ps', then take a screenshot to check.

@zhaowangda
Copy link
Author

image
image

@kubbot
Copy link
Contributor

kubbot commented May 13, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


image
image

@skiffer-git
Copy link
Member

What configurations have been modified?

@skiffer-git
Copy link
Member

Additionally, check if there is enough memory.

@HaoyuanMa
Copy link

HaoyuanMa commented Aug 9, 2024

I have the same issue now,have you solved it ?
image
image
image

@17674100338
Copy link

我现在遇到了同样的问题,您解决了吗? image image image

普罗米修斯我解决了,在yml文件里添加root权限就行了,但是我的mongo和kafka可以运行但是会报错,你的是正常的吗?
图片
图片

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


我现在遇到了同样的问题,您解决了吗! 08b620a47c51.png?jwt =eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..fuB1HW3gTt4iLw5dWRM2xszO2dKQXZhaeKX1xraxCKo)image 32-e4bb-447f-8ec8-6fff64092c97.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..02diRPgrVwQGrYOTH-YByS139h3VA12gVave_2YUECc) ![image](https://private-user-images.githubusercontent.com/57705274/356688202-26aaf1f0-4f6e-4af3-af51-a5ae5bb3b6ce.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..tVeeq8yb9 khRKzwVRxax0-srlMHZiULTIaKSzkP_noo)

普罗米修斯我解决了,在yml文件里添加root权限就行了,但是我的mongo和kafka可以运行但是会报错,你的是正常的吗?
图片
图片

@skiffer-git
Copy link
Member

I recommend updating to release-v3.8. If you run into any new issues, please reopen this issue or create a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

6 participants