getPubByKey: DB Error: connect failed