Open shalakolee opened 4 years ago
UPDATE: I fixed this by removing the @ symbol from my password.... perhaps change
/node_modules/mongodb/lib/url_parser.js
to allow for @ symbols in the username or password
or at least update your documentation to show that you cannot have an @ symbol in the user/pass so people don't waste hours trying to figure this one out
in the .env file
DB_CONFIG={"settings": {"name": "Decision Engine Service", "application": { "environment": "development" }}, "configuration":{"type": "db", "db":"mongoose", "options":{"url":"YOUR_MONGODB_CONFIGURATION_STRING/configuration_local", "mongoose_options":{"replset": { "rs_name": "YOUR_MONGODB_REPLICA_SET_NAME" },"server":{ "keepAlive": 1, "connectTimeoutMS": 30000, "socketTimeoutMS": 30000 }} }}}
there is nowhere that defines what the
YOUR_MONGODB_CONFIGURATION_STRING/configuration_local option should be, so I am assuming that it is the connection string, so i made mine
Note: the **** is to hide the url
Now I am getting this error:
I have tried to unescape the json, but still get the same error