0 Replies Latest reply on Mar 21, 2017 9:20 AM by Joaquin Casarini

    Problems adding contacts to roster / Authorization request not sent

    Joaquin Casarini

      Hi everyone, long time no see.

       

      I'm having problems when I try to add users to my roster.

      We are running Openfire 4.0.2 on linux with AD authentication.

       

      We use Psi as our main client (mainly because we were able to customize the installation process so it doesn't require admin rights and run a configuring agent after the install).

       

      Since a few months ago it more often than not fails when we try to add a contact to our rosters.

       

      I try to add a user, I can resolve his details, it will bring his profile, but when adding it it will not send the request to such user and it will not be added to my roster. After a random number of fail tries adding it it might work, but sometimes it doesn't.

       

      Here's a dump of the XML console when trying to do so. I've redacted our domain name.

       

      Thanks for any help you might give me.

       

      Cheers,

       

      Joaquin

       

      User: "jcasarini" adding "nbru"

       

      <iq type="set" id="a10d2a">

      <query xmlns="jabber:iq:roster">

      <item name="BRU Nicolas" jid="nbru@[redacted]"/>

      </query>

      </iq>

       

      <presence type="subscribe" to="nbru@[redacted]">

      <nick xmlns="http://jabber.org/protocol/nick">CASARINI Joaquin</nick>

      </presence>

       

      <iq type="error" id="a10d2a" to="jcasarini@[redacted]/[redacted]">

      <query xmlns="jabber:iq:roster">

      <item name="BRU Nicolas" jid="nbru@[redacted]"/>

      </query>

      <error type="wait" code="500">

      <internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>

      </error>

      </iq>

       

      User: "jcasarini" adding "iinsua"

       

      <iq type="set" id="a10e6a">

      <query xmlns="jabber:iq:roster">

      <item name="INSUA Ignacio" jid="iinsua@[redacted]">

      <group>ZZ- Sin grupo</group>

      </item>

      </query>

      </iq>

       

      <presence type="subscribe" to="iinsua@[redacted]">

      <nick xmlns="http://jabber.org/protocol/nick">CASARINI Joaquin</nick>

      </presence>

       

      <iq type="error" id="a10e6a" to="jcasarini@[redacted]/[redacted]">

      <query xmlns="jabber:iq:roster">

      <item name="INSUA Ignacio" jid="iinsua@[redacted]">

      <group>ZZ- Sin grupo</group>

      </item>

      </query>

      <error type="wait" code="500">

      <internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>

      </error>

      </iq>

       

      When trying to add the same user in Spark I get this:

       

      mar 21, 2017 1:51:03 PM org.jivesoftware.spark.util.log.Log error

      GRAVE: Unable to add new entry iinsua@[redacted]

      internal-server-error(500)

        at org.jivesoftware.smack.Roster.createEntry(Roster.java:284)

        at org.jivesoftware.spark.ui.RosterDialog.addEntry(RosterDialog.java:561)

        at org.jivesoftware.spark.ui.RosterDialog$7.construct(RosterDialog.java:428)

        at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:141)

        at java.lang.Thread.run(Unknown Source)