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

Authentication failure under replicaset conditions #548

Open
keifgwinn opened this issue Feb 15, 2022 · 0 comments
Open

Authentication failure under replicaset conditions #548

keifgwinn opened this issue Feb 15, 2022 · 0 comments

Comments

@keifgwinn
Copy link
Contributor

Description

When you have authentication errors and are using a replicaset based configuration, the error message is not clear that is the cause.

  • This is happening in: staging
  • This requires a hotfix to production: no

Steps to replicate

  • Configure a replicaset configuration
  • have a bad user/password combination

{"label":"INIT","level":"verbose","message":"\t[STDERR]: terminate called after throwing an instance of 'boost::wrapexcept<boost::lock_error>'\n what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument\n","timestamp":"2022-02-15T10:08:52.880Z"}

Current Behaviour

{"label":"INIT","level":"verbose","message":"\t[STDERR]: terminate called after throwing an instance of 'boost::wrapexcept<boost::lock_error>'\n what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument\n","timestamp":"2022-02-15T10:08:52.880Z"}

Expected Behaviour

{"label":"INIT","level":"verbose","message":"\t[STDOUT]: [15-02-2022 10:11:05][INFO]: 3D Repo Bouncer Version: 4.21_0\n[15-02-2022 10:11:05][INFO]: Operation: test\n[15-02-2022 10:11:05][ERROR]: Error establishing Mongo Handler: Authentication failed.\n[15-02-2022 10:11:05][ERROR]: Failed to authenticate to the database: Authentication failed.\n","timestamp":"2022-02-15T10:11:05.723Z"}

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

Successfully merging a pull request may close this issue.

1 participant