powered by Jive Software

Push Server Plugin - 'App Client' registration error

I installed two plugins, Push Server and Push Notification, and tried to register my iOS app as a ‘App Client’. But it is not successfull as of now.

I’m sure for the installed plugin Push Notification to work. The push notification to Siskin with my openfire server is working properlly.

But my iOS app with Push Server plugin is not working and the iOS app is failing to regiter itself to my Openfire as an App Client.

I configured ‘Bundle ID’, ‘Team ID’, ‘Key ID’ and ‘Encryption Key’ for the Push Server plugin on my openfire server.

When my app makes a iq ‘set’ to my openfire server, it receives a iq error 404 for the coresponding response.

Followings are the detail.

Openfire Version: Openfire 4.7.3
Push Notification Plugin: 0.9.2-SNAPSHOT
Push Server Plugin: 1.0.1-SNAPSHOT
iq set

<iq 
  id='644753DA-DA55-4A21-94A0-7EC928A53579' 
  type='set'
  to='bare-jid.com'>

  <command xmlns='http://jabber.org/protocol/commands' node='register-push-apns' action='execute'>
    <x xmlns='jabber:x:data' type='submit'>
      <field var='token' type='text-single'>
      <value>243CA5F2A4EE00B66E3208CD05C962A30EFA80B2D9F8DD508CE8182E04EAB695</value>
      </field>
      <field type='text-single' var='device-id'>
      <value>9A53A21........</value>
      </field>
    </x>
  </command>
</iq>

response error

<iq 
  id='644753DA-DA55-4A21-94A0-7EC928A53579' 
  type='error'
  to='myappclient@bare-jid.com/resource'
  from='bare-jid.com'>

  <command xmlns='http://jabber.org/protocol/commands' node='register-push-apns' action='execute'>
    <x xmlns='jabber:x:data' type='submit'>
      <field var='token' type='text-single'>
      </field>
      <field type='text-single' var='device-id'>
      <value>9A53A21........</value>
      </field>
    </x>
  </command>
  <error code='404' type='cancel'>item-not-found</error>
</iq>

I’ll appreciate any advices for my story.