OpenFire server. Details:authentication Error:not Authorized

Source: Internet
Author: User

Using PSI Login OpenFire Error: There was a error communicating with the server. Details:authentication Error:not Authorized


The server OpenFire runs under my XP, and then it runs under the computer name HHA:


http://hha:9090

https://hha:9091


Then either the admin, or manually added users, create an account in the PSI (not registered, I turned off the registration), using the correct user name and password are not logged, are error not authorized.


Then we had to look at the XML records. I can't see why, but it's strange that the PSI can log on to a remote other person's server.


Finally check the XML console, found from= ' hha ' and to= ' localhost ', the first time using PSI connection with Admin@hha, incredibly even, with admin@127.0.0.1 and Admin@localhost can even , but authentication failed.


Later I think it may be the server name HHA problem, then the computer name changed to localhost, restart the computer, and then in the OpenFire database, the xmpp.domain from HHA to localhost, log on up.


The problem is that the computer name HHA in the computer's hosts file does not have a domain name and IP records, and localhost is some.


is the c:\windows\system32\driver\etc\hosts file, you need to add the computer's domain name and IP


For example, I should add HHA 127.0.0.1.


Finish

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.