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] : MongoDB ping failed, URI=mongodb://openIM:openIM123@localhost:37017/openim_v3?maxPoolSize=100, Database=openim_v3, MaxPoolSize=100: connection() error occurred during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed. #2323

Closed
jianglai12 opened this issue May 31, 2024 · 4 comments · Fixed by #2328
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@jianglai12
Copy link

OpenIM Server Version

v3.7.1

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

[root@localhost open-im-server]# mage start
[2024-05-31 20:34:08 CST] Starting tools primarily involves component verification and other preparatory tasks.
Starting /usr/local/open-im-server/_output/bin/tools/linux/amd64/check-free-memory -c /usr/local/open-im-server/config/
System available memory is sufficient: 2.26GB
Starting /usr/local/open-im-server/_output/bin/tools/linux/amd64/check-free-memory -c /usr/local/open-im-server/config/ successfully
Starting /usr/local/open-im-server/_output/bin/tools/linux/amd64/check-component -c /usr/local/open-im-server/config/
check-component Index: 0, Config Path: /usr/local/open-im-server/config/
Mongo check failed: MongoDB ping failed, URI=mongodb://openIM:openIM123@localhost:37017/openim_v3?maxPoolSize=100, Database=openim_v3, MaxPoolSize=100: connection() error occurred during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.
Redis check succeeded.
Kafka check succeeded.
MinIO check succeeded.
Etcd check succeeded.
Mongo check failed: MongoDB ping failed, URI=mongodb://openIM:openIM123@localhost:37017/openim_v3?maxPoolSize=100, Database=openim_v3, MaxPoolSize=100: connection() error occurred during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.

Screenshots Link

微信截图_20240531204246

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

kubbot commented May 31, 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.

@skiffer-git
Copy link
Member

check mongodb user and password

@kubbot
Copy link
Contributor

kubbot commented Jun 1, 2024

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


check mongodb user and password

@skiffer-git
Copy link
Member

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

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

Successfully merging a pull request may close this issue.

3 participants