question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

thread 'main' panicked at 'Op already registered: mongo_command'

See original GitHub issue

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace fatal runtime error: failed to initiate panic, error 5

running error

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
reainkcommented, Jul 13, 2020

This may be a deno_mongo problem, I issue in deno_mongo. https://github.com/manyuanrong/deno_mongo/issues/64

0reactions
avalerocommented, Jul 16, 2020

If I insert bad connection values on purpose it gives the same error. Might it happen that real problem is not with the query but with connection? Should I receive some expepcion if this code fails?

const db = new Database("mongo", {
  uri: env.MONGO_URL,
  database: env.DB_NAME,
  username: env.MONGO_USERNAME,
  password: env.MONGO_PWD,
});

db.link([Project]);
db.sync();
Read more comments on GitHub >

github_iconTop Results From Across the Web

thread '<main>' panicked at 'Error after executing command ...
I'm getting an error when running the following code: extern crate piston_window; use piston_window::*; fn main() { let mut window: ...
Read more >
Rust MongoDB driver 2.0.0 Error: unexpected end of file
It looks like you're not passing the mongodb hostname / IP address. · @matiu ping that ip has no response, but nodejs and...
Read more >
Running MongoDB on Kubernetes with StatefulSets
Conventional wisdom says you can't run a database in a container. “Containers are stateless!” they say, and “databases are pointless without ...
Read more >
Untitled
Member jkt48 bandung, Fz bike price and specification, Motion activated flood ... Reformar una casa rural, Jacob delafon meuble lave main, One question...
Read more >
sitemap_1.xml
... https://www.mongodb.com/community/forums/t/mongod-with-basic-command-line/ ... /t/permission-denied-message-while-running-mongo-command-in-shell/35087 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found