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

Bad Mongo authentication is silently swallowed by xAPI service (Open Source) #1612

Open
Peterburnett opened this issue Apr 13, 2022 · 0 comments

Comments

@Peterburnett
Copy link

What version were you using?

Open source

What steps can we follow to reproduce the behaviour?

in the xAPI/.env file, set the mongo connection string to a string that fails authentication, such as an incorrect set of credentials, but IS a valid mongo server to use.

What is the actual behaviour?

This error is silently swallowed when the xAPI service starts. The pm2 status for the application shows it running, but the port for xAPI is never bound, and anything attempting to route to the service fails.

What is the expected behavior?

A message about failed authentication is dumped to the application logs.

Is there any additional information that will help us replicate/understand the problem?

@Peterburnett Peterburnett changed the title Bad Mongo authentication is silently swallowed by xAPI service Bad Mongo authentication is silently swallowed by xAPI service (Open Source) Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant