-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to authenticate: Failed c2s SCRAM-SHA-512 authentication from ::ffff:10.1.1.93: Incompatible SCRAM methods #3607
Comments
Sorry, my friends phone is "xiaomi mi mix 2" |
Is the database volume fresh or a backup? |
Fresh, it is |
Can you install latest ejabberd from |
21.04 is already the latest |
Not what I've said :) |
I think it looks more like client not being able to authenticate using that method than any bug in server. You could try disabling sha512 mechanisms by adding
to your config. |
Thank you for the suggestion, 2021-05-19 08:42:50.836 [info] <0.394.0>@ejabberd_listener🉑273 (<0.568.0>) Accepted connection [::ffff:10.1.1.93]:48104 -> [::ffff:172.25.0.3]:5222 |
Now disable that too for 256... |
disable_sasl_mechanisms:
Allows authentication. |
Now it is useing "DIGEST-MD5 authentication" for auth. |
Something is way off. Do try to setup from Debian too and test, as said above, so we can exclude an error in the site .DEB. |
What library do you use to make the secure connection? |
Which .deb do you want me to use exactly? |
@PeterMalkin add the Backports repowfirst, then |
It seems buster-backports has an older version of the package: https://packages.debian.org/source/buster-backports/ejabberd |
Kind of weird that i can. On the same server with the same conversation. |
@PeterMalkin, I am not sure to understand, when you have: disable_sasl_mechanisms: Do you have SCRAM-SHA-1 or DIGEST-MD5? |
@PeterMalkin: It is solved? |
Not sure it is solved. But if you replace the version of the ejabberd to the latest (21.07). And replace your clients - this error does not show up anymore. |
Before creating a ticket, please consider if this should fit the discussion forum better:
https://github.com/processone/ejabberd/discussions
Environment
erl +V
Configuration (only if needed): grep -Ev '^$|^\s*#' ejabberd.yml
https://gist.github.com/PeterMalkin/926c28cc73b33054228de4e782b261b3
Errors
2021-05-18 07:01:03.054 [info] <0.382.0>@ejabberd_listener🉑273 (<0.1204.0>) Accepted connection [::ffff:10.1.1.93]:46684 -> [::ffff:172.23.0.5]:5222
2021-05-18 07:01:03.139 [warning] <0.1204.0>@ejabberd_c2s:process_auth_result:276 (tls|<0.1204.0>) Failed c2s SCRAM-SHA-512 authentication from ::ffff:10.1.1.93: Incompatible SCRAM methods
Bug description
Failure to authenticate using several mobile clients.
Tried:
https://play.google.com/store/apps/details?id=im.blabber.messenger
https://play.google.com/store/apps/details?id=eu.siacs.conversations
Phone: Google Pixel 4a
I can successfully connect using other clients, such as aTalks for Android and Dino for Linux
My friend can connect successfully to the same server using conversations android client from a Huawei device
The text was updated successfully, but these errors were encountered: