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 connecting to mongodb #974

Open
kmavrommatis opened this issue May 24, 2024 · 1 comment
Open

Authentication failure connecting to mongodb #974

kmavrommatis opened this issue May 24, 2024 · 1 comment

Comments

@kmavrommatis
Copy link

kmavrommatis commented May 24, 2024

The latest version of funnel (0.11) does not connect to a MondoDB database using the same setting as previous versions.
Namely providing the mongo db host, username, password (e.g. mongodb://mymongo.test:27017, username="XX", password="YY") gives the error:
Error: error creating database resources: Authorization failure
while using funnel 0.10 works without problem.

On a related note Is there a mechanism to provide the SSL certificate to funnel?

Thanks in advance for your help

@kmavrommatis kmavrommatis changed the title Unable to connect to mongodb Authentication failure connecting to mongodb May 24, 2024
@kmavrommatis
Copy link
Author

Answering my question:

The mongodb URI needs to contain the username and password e.g.
mongodb://user:[email protected]:27017

Previously the username and password were provided as different fields in the configuration file.

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

1 participant