Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Mongodb connection error #248

Open
Open
@Ezeril

Description

[ERROR] >> MongoDB >> Failed to connect to MongoDB! >> Error: MongoServerError: bad auth : Authentication failed.
Exiting...
Unhandled promise rejection: Error [ShardingReadyDied]: Shard 0's process exited before its Client became ready.
at Shard.onDeath (/home/container/node_modules/discord.js/src/sharding/Shard.js:185:16)
at Object.onceWrapper (node:events:632:26)
at Shard.emit (node:events:529:35)
at Shard._handleExit (/home/container/node_modules/discord.js/src/sharding/Shard.js:446:10)
at ChildProcess.emit (node:events:517:28)
at ChildProcess._handle.onexit (node:internal/child_process:292:12) {
code: 'ShardingReadyDied'
}

Still the same errors, I've changed the password of the user the bot uses to connect, deleted the npm, package-lock.json and node_modules files, installed the latest version of mongoose, so I don't understand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /