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

[Deployment] Kafka check failed: NewClient failed, config: =&{Username: Password: ProducerAck: CompressType:none Addr:[localhost:19094] TLS:{EnableTLS:false CACrt: ClientCrt: ClientKey: ClientKeyPwd: InsecureSkipVerify:false}}: kafka: client has run out of available brokers to talk to: read tcp [::1]:34736->[::1]:19094: read: connection reset by peer #2518

Closed
tonypra opened this issue Aug 14, 2024 · 12 comments

Comments

@tonypra
Copy link

tonypra commented Aug 14, 2024

OpenIM Server Version

3.8

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Issue Description and Steps to Reproduce

Kafka check failed: NewClient failed, config: =&{Username: Password: ProducerAck: CompressType:none Addr:[localhost:19094] TLS:{EnableTLS:false CACrt: ClientCrt: ClientKey: ClientKeyPwd: InsecureSkipVerify:false}}: kafka: client has run out of available brokers to talk to: read tcp [::1]:34736->[::1]:19094: read: connection reset by peer

690eee3e5c358295e00acb75c1c969b

Screenshots Link

690eee3e5c358295e00acb75c1c969b

@OpenIM-Robot
Copy link

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.

@skiffer-git
Copy link
Member

What changes did you make to the settings

@skiffer-git
Copy link
Member

It looks like Kafka didn't start properly from what I can see.
Could you provide the Kafka logs so we can troubleshoot the issue?

@tonypra
Copy link
Author

tonypra commented Aug 14, 2024

thx, it works now. Docker Deploy first.then normal. both source code and docker deployment

@tonypra
Copy link
Author

tonypra commented Aug 14, 2024

but can't see any logs in logs folder.

image
image

@tonypra
Copy link
Author

tonypra commented Aug 14, 2024

1723620390262
1723620434083
1723620351827

@tonypra
Copy link
Author

tonypra commented Aug 14, 2024

pls help to take a look first. thanks a lot

@skiffer-git
Copy link
Member

  1. docker logs kafka
  2. ls scripts/create-topic.sh -al

@skiffer-git
Copy link
Member

chmod +x scripts/*.sh

@skiffer-git
Copy link
Member

docker exec kafka /opt/bitnami/kafka/create-topic.sh

@skiffer-git
Copy link
Member

docker exec -it mongo bash /docker-entrypoint-initdb.d/mongo-init.sh

@skiffer-git
Copy link
Member

or
chmod +x scripts/*.sh
rm components -rf
docker compose up -d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants