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

no mongos proxy available #7

Open
jsolivellase opened this issue May 5, 2020 · 1 comment
Open

no mongos proxy available #7

jsolivellase opened this issue May 5, 2020 · 1 comment

Comments

@jsolivellase
Copy link

jsolivellase commented May 5, 2020

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)

Any idea?

Thanks in advance!

@viktor-ku
Copy link
Member

Hi @jsolivellase I have no idea. Maybe version of the client is outdated in this library? Have you tried forking it and bumping up the version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants