No problems connecting to db but when it is trying to write log to db throws the error:
/usr/local/lib/node_modules/pino-mongodb/node_modules/mongodb/lib/operations/mongo_client_ops.js:466
throw err;
^
MongoError: no mongos proxy available
at Timeout.<anonymous> (/usr/local/lib/node_modules/pino-mongodb/node_modules/mongodb-core/lib/topologies/mongos.js:757:28)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)
No problems connecting to db but when it is trying to write log to db throws the error:
Any idea?
Thanks in advance!