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

Authentication failure while running "npm run start:server" #233

Open
chandu526 opened this issue Dec 1, 2022 · 0 comments
Open

Authentication failure while running "npm run start:server" #233

chandu526 opened this issue Dec 1, 2022 · 0 comments

Comments

@chandu526
Copy link

chandu526 commented Dec 1, 2022

[nodemon] 2.0.20
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node --inspect=0.0.0.0:3011 ./backend/server.js
Debugger listening on ws://0.0.0.0:3011/31a01e70-21d0-41fd-926f-eb033f8606f5
For help, see: https://nodejs.org/en/docs/inspector
MongoError: Authentication failed.
at MessageStream.messageHandler (Documents\Pharmacy-Mangment-System\backend\node_modules\mongodb\lib\cmap\connection.js:299:20)
at MessageStream.emit (node:events:513:28)
at processIncomingData (Pharmacy-Mangment-System\backend\node_modules\mongodb\lib\cmap\message_stream.js:144:12)
at MessageStream._write (Documents\Pharmacy-Mangment-System\backend\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)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
ok: 0,
code: 18,
codeName: 'AuthenticationFailed'
}
connection failed!

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

1 participant