powered by Jive Software

org.jivesoftware.openfire.sasl.ScramSha1SaslServer - Exception in SCRAM.getSalt and UserNotFoundException

I have used openfire version 4.5.2 for one to one chat in mobile application.

I am getting below error while change status from offline to online on openfire.

at java.lang.Thread.run(Thread.java:748)
2020.10.06 13:32:26 WARN [socket_c2s-thread-3]: org.jivesoftware.openfire.sasl.ScramSha1SaslServer - Exception in SCRAM.getSalt():
org.jivesoftware.openfire.user.UserNotFoundException: socialapp_6242@ip

It would be great if someone provide solution for this error.

Thanks in advance !!

You appear to be providing a wrong value for authentication. Openfire expects you to basically provide the JID node-part (the username) while you seem to provide a bare JID (node-part + domain-part).

On a side note: consider using something else than an IP address for your XMPP domain name. IP addresses tend to be less flexible than network names. IP addresses can also change, if something like DHCP is used.

@guus Thank you for your quick reply.

I will change from username + domain-part to username only and update you for the same if it will not works.

How can I solve below error.

org.jivesoftware.openfire.sasl.ScramSha1SaslServer - Exception in SCRAM.getSalt

Thank you.

That is an error that you het when attempting to log in with an incorrect username, as you appear to be doing.