Skip to content

Instantly share code, notes, and snippets.

@ChristianOConnor
Created February 1, 2023 22:43
Show Gist options
  • Save ChristianOConnor/487701e89601472a5f61a31b6dc8df90 to your computer and use it in GitHub Desktop.
Save ChristianOConnor/487701e89601472a5f61a31b6dc8df90 to your computer and use it in GitHub Desktop.
error from mongodb docker image for dwgebler/node-express-example after change with node 16
Mongo started
MongoError: Authentication failed.
at MessageStream.messageHandler (/var/app/node_modules/mongodb/lib/cmap/connection.js:272:20)
at MessageStream.emit (node:events:513:28)
at processIncomingData (/var/app/node_modules/mongodb/lib/cmap/message_stream.js:144:12)
at MessageStream._write (/var/app/node_modules/mongodb/lib/cmap/message_stream.js:42:5)
at writeOrBuffer (node:internal/streams/writable:391:12)
at _write (node:internal/streams/writable:332:10)
at MessageStream.Writable.write (node:internal/streams/writable:336:10)
at Socket.ondata (node:internal/streams/readable:754:22)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:315:12) {
ok: 0,
code: 18,
codeName: 'AuthenticationFailed'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment