Open smartnet-club opened 2 months ago
CLEARML_MONGODB_SERVICE_CONNECTION_STRING=mongodb://myDBReader:D1fficultP%40ssw0rd@mongodb0.example.com:27017/?authSource=admin
expected connection string: mongodb://myDBReader:D1fficultP%40ssw0rd@mongodb0.example.com:27017/auth?authSource=admin
mongodb://myDBReader:D1fficultP%40ssw0rd@mongodb0.example.com:27017/auth?authSource=admin
actual connection string: mongodb://myDBReader:D1fficultP%40ssw0rd@mongodb0.example.com:27017/?authSource=admin/auth
mongodb://myDBReader:D1fficultP%40ssw0rd@mongodb0.example.com:27017/?authSource=admin/auth
must be fixed database package con_str = f"{override_connection_string.rstrip('/')}/{key}"
con_str = f"{override_connection_string.rstrip('/')}/{key}"
Thanks for letting us know @smartnet-club - We'll take a look.
@smartnet-club We reproduced the issue. It will be fixed in the upcoming open source version (v1.17)
CLEARML_MONGODB_SERVICE_CONNECTION_STRING=mongodb://myDBReader:D1fficultP%40ssw0rd@mongodb0.example.com:27017/?authSource=admin
expected connection string:
mongodb://myDBReader:D1fficultP%40ssw0rd@mongodb0.example.com:27017/auth?authSource=admin
actual connection string:
mongodb://myDBReader:D1fficultP%40ssw0rd@mongodb0.example.com:27017/?authSource=admin/auth
must be fixed database package
con_str = f"{override_connection_string.rstrip('/')}/{key}"