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

fix(db): fix db auth problem in production #240

Merged
merged 1 commit into from
Oct 27, 2019

Conversation

adrienjoly
Copy link
Member

@adrienjoly adrienjoly commented Oct 27, 2019

Closes #.

What does this PR do / solve?

===
Sun, 27 Oct 2019 11:38:50 GMT, Warning (concise trace)
    at Object.exports.init (/home/adrien/openwhyd/app/models/mongodb.js:163:23)
the options [useUnifiedTopology] is not supported

/home/adrien/openwhyd/node_modules/mongodb/lib/mongo_client.js:462
            throw err
            ^
MongoError: Authentication failed.
    at Function.MongoError.create (/home/adrien/openwhyd/node_modules/mongodb-core/lib/error.js:31:11)
    at /home/adrien/openwhyd/node_modules/mongodb-core/lib/connection/pool.js:497:72
    at authenticateStragglers (/home/adrien/openwhyd/node_modules/mongodb-core/lib/connection/pool.js:443:16)
    at Connection.messageHandler (/home/adrien/openwhyd/node_modules/mongodb-core/lib/connection/pool.js:477:5)
    at Socket.<anonymous> (/home/adrien/openwhyd/node_modules/mongodb-core/lib/connection/connection.js:333:22)
    at Socket.emit (events.js:198:13)

Overview of changes

How to test this PR?

@adrienjoly adrienjoly marked this pull request as ready for review October 27, 2019 11:59
@adrienjoly adrienjoly self-assigned this Oct 27, 2019
@adrienjoly adrienjoly added this to 📥 Inbox / ideas in Development via automation Oct 27, 2019
@adrienjoly adrienjoly merged commit 6353b52 into master Oct 27, 2019
Development automation moved this from 📥 Inbox / ideas to ✔️ Done / pending QA Oct 27, 2019
@adrienjoly adrienjoly deleted the fix/mongodb-auth-in-prod branch October 27, 2019 12:00
adrienjoly pushed a commit that referenced this pull request Oct 27, 2019
## [1.15.3](v1.15.2...v1.15.3) (2019-10-27)

### Bug Fixes

* **db:** fix db auth problem in production ([#240](#240)) ([6353b52](6353b52))
@adrienjoly adrienjoly moved this from ✔️ Done / pending QA to 🌲 In production in Development Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development
  
🌲 In production
Development

Successfully merging this pull request may close these issues.

None yet

1 participant