Error connecting to MongoDB from Metabase 0.53 version

I am getting below error while connecting to Mongo DB via Metabase 0.53. We have jut migrated metabase from Metabase 0.46 to 0.53 version :
Timed out while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=hotname:30000, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketException: hostname}, caused by {java.net.UnknownHostException: hostname}}]

Continuing the discussion from Error connecting to MongoDB from Metabase 0.53 version:

Above issue is resolved once we re-save manually all MongoDBs connection in Metabase UI's via admin setting. Better to re-save connection string.