clearml-server icon indicating copy to clipboard operation
clearml-server copied to clipboard

Invalid mongodb connection string if CLEARML_MONGODB_SERVICE_CONNECTION_STRING is specified

Open smartnet-club opened this issue 5 months ago • 2 comments

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}"

smartnet-club avatar Sep 16 '24 03:09 smartnet-club