Unable to sign in to our dashboard today

282 views
Skip to first unread message

David Knape

unread,
Apr 29, 2021, 8:18:33 PM4/29/21
to Ant Media Server
Using latest Ant Media AMI 2.3.2 in Cluster mode (GPU for origin, non-GPU for edges). All fail to allow login to the dashboard. Says username and password are not correct. User is configured in MongoDB, has worked well for months, and was stored in the browser. This is not a problem with bad password.

Anyone else having a similar issue?

More details here:
https://github.com/ant-media/Ant-Media-Server/issues/3220

-dk

Selim Emre

unread,
Apr 30, 2021, 4:57:28 AM4/30/21
to Ant Media Server
Hi David,

Thank you for reporting to us!

We are storing passwords with MD5 encryption in the latest version. You need to change your passwords to MD5 encryption. You can encrypt your password basically any MD5 encrypter page like:  https://www.md5online.org/md5-encrypt.html

Here are the steps:
1- Login MongoDB
2- Run below commands:
use serverdb
db.getCollection('User').find() //Get User details
db.User.updateOne({"_id": "5e978ef3c9e77c0001228040"}, {$set:{password: "md5Password"}}) //Use User ID in updateOne section and use password with MD5 protection.

I hope, I could help you.

Best Regards,
Selim

David Knape

unread,
Apr 30, 2021, 12:14:20 PM4/30/21
to Ant Media Server
> We are storing passwords with MD5 encryption in the latest version. 
> You need to change your passwords to MD5 encryption. 

Maybe I am the only one bringing a cluster up and down multiple times a day, but breaking changes like this that appear overnight are disconcerting. Maybe not as disconcerting as storing passwords in plain text, though. So, I appreciate the change.

Please update your FAQ on the wiki with this info. 

And thanks for the quick answer.

-dk


David Knape

unread,
Apr 30, 2021, 12:31:42 PM4/30/21
to Ant Media Server
Of course, this is a Wiki (and anyone can edit). Just updated with a note about MD5 hash. Thanks, all.

-dk 

Selim Emre

unread,
Apr 30, 2021, 9:35:16 PM4/30/21
to Ant Media Server
Hi David,

Thank you for your contribution!

Best Regards,
Selim
Reply all
Reply to author
Forward
0 new messages