I am able to connect to mongodb using mongoose library in nodejs.
mongoose.connect(URL, mongoConfig);
This code is working on local but it shows following error in k8s server.
"ok": 0,
"code": 13,
"codeName": "Unauthorized"
I am able to connect to mongodb using mongoose library in nodejs.
mongoose.connect(URL, mongoConfig);
This code is working on local but it shows following error in k8s server.
"ok": 0,
"code": 13,
"codeName": "Unauthorized"