open-im-server icon indicating copy to clipboard operation
open-im-server copied to clipboard

[BUG] kafka issue

Open zhaowangda opened this issue 1 year ago • 14 comments

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 avatar May 07 '24 02:05 zhaowangda

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.

kubbot avatar May 07 '24 02:05 kubbot

  I am not allowed to register slack account. can you sent me an available version with docker deployment method ?

| | zhaowangda | | @.*** | ---- Replied Message ---- | From | OpenIM @.> | | Date | 5/7/2024 10:54 | | To | @.> | | Cc | @.>, @.> | | Subject | Re: [openimsdk/open-im-server] [BUG] kafka issue (Issue #2276) |

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.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

zhaowangda avatar May 07 '24 03:05 zhaowangda

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

skiffer-git avatar May 07 '24 03:05 skiffer-git

https://docs.openim.io/guides/gettingstarted/dockercompose

skiffer-git avatar May 07 '24 03:05 skiffer-git

| | zhaowangda | | @.*** | ---- Replied Message ---- | From | @.> | | Date | 5/7/2024 11:29 | | To | @.> | | Cc | @.>, @.> | | Subject | Re: [openimsdk/open-im-server] [BUG] kafka issue (Issue #2276) |

https://docs.openim.io/guides/gettingstarted/dockercompose

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

zhaowangda avatar May 07 '24 03:05 zhaowangda

i have followed the link you sent. also set the ip docs mentioned to local server ip172.16.1.7. it seems kafka doesnot work.

@.*** openim-docker]# echo $OPENIM_IP 172.16.1.7

MINIO_EXTERNAL_ADDRESS="http://172.16.1.7:10005" # External address for MinIO needs to be manually modified API_URL="http://172.16.1.7:10002" # API URL for OpenIM server GRAFANA_URL="http://172.16.1.7:13000/" # Define the URL for accessing the Grafana dashboard, specifying the external IP and port

| | zhaowangda | | @.*** | ---- Replied Message ---- | From | @.> | | Date | 5/7/2024 11:35 | | To | @.> | | Cc | @.>, @.> | | Subject | Re: [openimsdk/open-im-server] [BUG] kafka issue (Issue #2276) |

| | zhaowangda | | @.*** | ---- Replied Message ---- | From | @.> | | Date | 5/7/2024 11:29 | | To | @.> | | Cc | @.>, @.> | | Subject | Re: [openimsdk/open-im-server] [BUG] kafka issue (Issue #2276) |

https://docs.openim.io/guides/gettingstarted/dockercompose

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

zhaowangda avatar May 07 '24 03:05 zhaowangda

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

skiffer-git avatar May 07 '24 08:05 skiffer-git

image image

zhaowangda avatar May 13 '24 06:05 zhaowangda

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


image image

kubbot avatar May 13 '24 06:05 kubbot

What configurations have been modified?

skiffer-git avatar Jun 11 '24 10:06 skiffer-git

Additionally, check if there is enough memory.

skiffer-git avatar Jun 11 '24 10:06 skiffer-git

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

HaoyuanMa avatar Aug 09 '24 16:08 HaoyuanMa

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

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

17674100338 avatar Aug 26 '24 06:08 17674100338

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可以运行但是会报错,你的是正常的吗? 图片 图片

OpenIM-Robot avatar Aug 26 '24 06:08 OpenIM-Robot

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

skiffer-git avatar Sep 27 '24 02:09 skiffer-git