openim-docker icon indicating copy to clipboard operation
openim-docker copied to clipboard

[Deployment] Local deployment openim error report

Open Gzxyd opened this issue 1 year ago • 6 comments

OpenIM Server Version

openim-3.8.1

Operating System and CPU Architecture

Linux (ARM)

Deployment Method

Docker Deployment

Issue Description and Steps to Reproduce

在本地服务器上部署了openim,使用docker-compose up -d启动后出现报错问题: Kafka check failed: NewClient failed, config: =&{Username: Password: ProducerAck: CompressType:none Addr:[kafka:9094] TLS:{EnableTLS:false CACrt: ClientCrt: ClientKey: ClientKeyPwd: InsecureSkipVerify:false}}: kafka: client has run out of available brokers to talk to: dial tcp 172.18.0.2:9094: connect: connection refused WARN [AdminClient clientId=adminclient-1] Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available.

Screenshots Link

No response

Gzxyd avatar Oct 21 '24 06:10 Gzxyd

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.

OpenIM-Robot avatar Oct 21 '24 06:10 OpenIM-Robot

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.

OpenIM-Robot avatar Oct 21 '24 07:10 OpenIM-Robot

Run the docker ps command and take a screenshot to see the output.

skiffer-git avatar Oct 21 '24 07:10 skiffer-git

What changes have you made to the configuration? Take a screenshot to show.

skiffer-git avatar Oct 21 '24 07:10 skiffer-git

容器启动先后顺序的问题,docker compose 里面加个 depends_on 指定容器依赖,又或者

docker compose down
git clean fdx .
docker compose up -d

eleven26 avatar Nov 05 '24 05:11 eleven26

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


Regarding the order in which containers are started, add depends_on in docker compose to specify container dependencies, or

docker compose down
git clean fdx .
docker compose up -d

OpenIM-Robot avatar Nov 05 '24 05:11 OpenIM-Robot