essandess

Q: Messages Authentication Stops Working After Server.app 2.2 Upgrade

I just upgraded Server.app to version 2.2. Now Messages authentication has stopped working, I can't use jabber, and the jabber server appears to be broken. Whenever I change my status to Available, I get an error message that says:

 

Messages can’t log in to username@domainname.com because your login ID or password is incorrect.

 

This was working before version 2.2, and the exact same network username+password works fine for Mail and other services. I've tried toggling Messages OFF/ON, toggling my Messages service availability OFF/ON, resetting my password, deleting and reinstalling the jabber account, rm ~/Library/Preferences/*iChat*, all to no avail.

 

Any help would be appreciated. And yes,

 

sudo serveradmin status jabber

jabber:state = "RUNNING"

 

The Console error is:

 

12/11/12 9:06:48.399 PM imagent[594]: [Warning] XMPPConnection: Error: Error Domain=XMPPErrorDomain Code=104 "The operation couldn’t be completed. (XMPPErrorDomain error 104.)" UserInfo=0x9cf012e1d497 {XMPPErrorText=session manager for requested domain is not available}

Mac mini Server (Mid 2010), OS X Mountain Lion (10.8.2), Lion Server, EyeTV HD, Turbo.264 HD

Posted on Dec 11, 2012 6:08 PM

Close

Q: Messages Authentication Stops Working After Server.app 2.2 Upgrade

  • All replies
  • Helpful answers

  • by essandess,Solvedanswer

    essandess essandess Dec 11, 2012 6:30 PM in response to essandess
    Level 1 (28 points)
    Applications
    Dec 11, 2012 6:30 PM in response to essandess

    I found the fix, thanks to the Google translation of this Russian post. I want my JIDs to be simple TLDs like domainname.com. But the jabber configuration file /Library/Server/Messages/Config/jabberd/sm.xml specifies FQDNs that look like hostname.domainname.com. If you change this, Messages will work again -- apparently Server.app 2.2 has become more strict about this distinction. Do this:

     

    sudo serveradmin stop jabber

    sudo vi /Library/Server/Messages/Config/jabberd/sm.xml

    <local>

    <!-- Who we identify ourselves as.

    Users will have this as the domain part of their JID.

    If you want your server to be accessible from other

    Jabber servers, this IDs must be FQDN resolvable by DNSes.

    If not set, the SM id is used. -->

    <id>domainname.com</id>

     

    sudo serveradmin start jabber

     

    Now Messages can authenticate to jabber using simple TLDs like username@domainname.com, just as before.

  • by skipper worse,

    skipper worse skipper worse Sep 25, 2013 2:47 AM in response to essandess
    Level 1 (0 points)
    Sep 25, 2013 2:47 AM in response to essandess

    Thank you for posting this! Saved my day!

  • by essandess,

    essandess essandess Nov 26, 2013 8:05 PM in response to essandess
    Level 1 (28 points)
    Applications
    Nov 26, 2013 8:05 PM in response to essandess

    For the solution to OS X Server's related authentication problem to virtual jabber domains, see this post.