Common XMPP errors: (<failure xmlns= "URN:IETF:PARAMS:XML:NS:XMPP-SASL" ><not-autho

Source: Internet
Author: User
Tags administrator password

1 Check Jid

XMPP authentication problem, is generally related to Jid, so to solve such problems, the first choice is to analyze the Xmppstream Jid, the client after connecting with the server, the socket is bound to the port, to handle the round-trip data with the server, authentication is one of them. And, Often we are connected to the server, in order to be simple, often use localhost or 127.0.0.1来 as part of the domain name, this time to pay particular attention to, because when using spark or other client program login, using such a domain name login server is no problem, But in the code to deal with special care, be sure to in the back of the server, confirm the domain name unification:

2 Restart OpenFire

When resetting the administrator password, the server will be automatically modified, I would like to re-modify the server name, such as im.dzq.cn, and to restart OpenFire if this can not be authenticated error, at this time spark can log in, the emulator cannot log in,

Common XMPP errors: (<failure xmlns= "URN:IETF:PARAMS:XML:NS:XMPP-SASL" ><not-autho

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.