Error Conecting to Database

Technical Support
  • I got Mongo finally and now Im having this issues

     error: NodeBB could not connect to your Mongo database. Mongo returned the following error
    MongoError: Authentication failed.
        at /home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:581:63
        at authenticateStragglers (/home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:504:16)
        at Connection.messageHandler (/home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:540:5)
        at emitMessageHandler (/home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:310:10)
        at Socket.<anonymous> (/home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:453:17)
        at Socket.emit (events.js:198:13)
        at addChunk (_stream_readable.js:288:12)
        at readableAddChunk (_stream_readable.js:269:11)
        at Socket.Readable.push (_stream_readable.js:224:10)
        at TCP.onStreamRead [as _originalOnread] (internal/stream_base_commons.js:94:17)
    2019-08-12T16:15:24.766Z [4280] - warn: NodeBB Setup Aborted.
     MongoError: Authentication failed.
        at /home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:581:63
        at authenticateStragglers (/home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:504:16)
        at Connection.messageHandler (/home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:540:5)
        at emitMessageHandler (/home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:310:10)
        at Socket.<anonymous> (/home/ubuntu/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:453:17)
        at Socket.emit (events.js:198:13)
        at addChunk (_stream_readable.js:288:12)
        at readableAddChunk (_stream_readable.js:269:11)
        at Socket.Readable.push (_stream_readable.js:224:10)
        at TCP.onStreamRead [as _originalOnread] (internal/stream_base_commons.js:94:17)
    


Suggested Topics


  • error:invalid-files

    Unsolved Technical Support
    0 Votes
    2 Posts
    268 Views
  • 0 Votes
    2 Posts
    401 Views
  • 0 Votes
    2 Posts
    604 Views
  • 0 Votes
    2 Posts
    934 Views
  • 0 Votes
    5 Posts
    2216 Views