powered by Jive Software

Incorrect packet parsing

We use external component with ejabberd server. Now we have to use Openfire as server. But got the following problem:

Ejabberd packet exchange with component due to XEP-0114:

Component:

<stream:stream

xmlns:stream='http://etherx.jabber.org/streams'

xmlns=‘jabber:component:accept’

to=‘spica.devel.ardas.dp.ua’>

Server:

<?xml version=‘1.0’?>

<stream:stream

xmlns:stream='http://etherx.jabber.org/streams'

xmlns=‘jabber:component:accept’

id=‘176223229’

from=‘spica.devel.ardas.dp.ua’>

Component:

<handshake>f6e1ebaa4fc76f7a28dbabcf8fef04c89939fd0d</handshake>

Server:

<handshake/>

Openfire packet exchange with component:

Component:

<stream:stream

xmlns:stream='http://etherx.jabber.org/streams'

xmlns=‘jabber:component:accept’

to=‘spica.devel.ardas.dp.ua’>

Server:

</stream:stream>

As it could be seen openfire didn’t parse packet received from component.

Could you tell us how to solve this?

Hey Victoria,

Have you turned on the debug log (from the admin console) to gather more information? What’s the XMPP domain of the server? And which version of Openfire are you using?

Thanks,

– Gato

I use openfire version 3.4.5

Debug log:

2008.02.27 10:31:45 Connect Socket[http://addr=/192.168.0.23,port=1410,localport=5275

http://addr=/192.168.0.23,port=1410,localport=5275]2008.02.27 10:31:45 LocalComponentSession: Starting registration of new external component for domain: spica.devel.ardas.dp.ua2008.02.27 10:31:45 Connection closed before session established

           Socket[http://addr=/192.168.0.23,port=1410,localport=5275

http://addr=/192.168.0.23,port=1410,localport=5275]

Hey Victoria,

Do you see anything else on the log files? And what’s the XMPP domain of your server?

Thanks,

– Gato

Hey, Gato!

There is nothing else at the log. And here are system properties:

Property Name

Property Value

passwordKey
*hidden*
plugin.motd.enabled
false
plugin.motd.message
Big Brother is watching.
plugin.motd.subject
Message of the Day
update.lastCheck
1204112115941
update.notify-admins
true
update.proxy.host
proxy
update.proxy.port
3128
update.service-enabled
true
xmpp.audit.active
true
xmpp.audit.days
-1
xmpp.audit.filesize
10
xmpp.audit.iq
true
xmpp.audit.logdir
C:\Program Files (x86)\Openfire\logs
xmpp.audit.logtimeout
120000
xmpp.audit.message
true
xmpp.audit.presence
true
xmpp.audit.totalsize
10000
xmpp.auth.anonymous
true
xmpp.component.defaultSecret
secret
xmpp.component.permission
true
xmpp.component.socket.active
true
xmpp.component.socket.port
5275
xmpp.domain
spica.devel.ardas.dp.ua
xmpp.multiplex.defaultSecret
secret
xmpp.multiplex.socket.active
true
xmpp.producer.hostname
localhost
xmpp.producer.port
5275
xmpp.server.address
localhost
xmpp.server.certificate.verify
false
xmpp.server.domain
spica.devel.ardas.dp.ua
xmpp.session.conflict-limit
0
xmpp.socket.ssl.active
true

External component connect to the server with port 5275, default shared secret: secret