axa-group / nlp.js-app

MIT License
132 stars 58 forks source link

User nlpjs_user not found #71

Open mjcurrier opened 4 years ago

mjcurrier commented 4 years ago

Describe the bug Attempting to run docker-compose up but the node app fails to start due to mongo credentials / user doesn't exist. Did I miss a step in the setup to create this user?

To Reproduce Steps to reproduce the behavior:

  1. docker-compose up
  2. Watch start up and see node app does not start nlpjs_mongo | 2020-03-17T20:47:30.375+0000 I ACCESS [conn58] SASL SCRAM-SHA-1 authentication failed for nlpjs_user on nlpjs from client 172.19.0.4:44194 ; UserNotFound: Could not find user nlpjs_user@nlpjs

Expected behavior The stack to start.

Screenshots N/A

Orfeous commented 4 years ago

I have the same issue, tried to create the user manually allows the stack to start but the api always return with an "unknown error".

The log says insert requires authentication.