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

Invalid mongodb connection string if CLEARML_MONGODB_SERVICE_CONNECTION_STRING is specified #252

Open
smartnet-club opened this issue Sep 16, 2024 · 2 comments

Comments

@smartnet-club
Copy link

CLEARML_MONGODB_SERVICE_CONNECTION_STRING=mongodb://myDBReader:D1fficultP%[email protected]:27017/?authSource=admin

expected connection string:
mongodb://myDBReader:D1fficultP%[email protected]:27017/auth?authSource=admin

actual connection string:
mongodb://myDBReader:D1fficultP%[email protected]:27017/?authSource=admin/auth

must be fixed database package
con_str = f"{override_connection_string.rstrip('/')}/{key}"

@ainoam
Copy link
Collaborator

ainoam commented Sep 16, 2024

Thanks for letting us know @smartnet-club - We'll take a look.

@evg-allegro
Copy link
Contributor

@smartnet-club We reproduced the issue. It will be fixed in the upcoming open source version (v1.17)

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

3 participants