[JDEV] Internal Jabberd error : Packet delivery failed (Invalid packet)
Mike Prince
mike at mikeprince.com
Wed Dec 4 11:15:48 CST 2002
A quick guess is that you're missing the 'from' attribute. The XMPP
spec says it's not needed for clients, but I've found jabberd to get
grumpy when an accept component does not include the attribute.
Hope that helps,
Mike
-----Original Message-----
From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org] On Behalf Of
OUCHIA Mehdi FTRD/SVA/LAN
Sent: Wednesday, December 04, 2002 6:53 AM
To: jdev at jabber.org
Subject: [JDEV] Internal Jabberd error : Packet delivery failed (Invalid
packet)
Hello,
from a client called "ouchia at tournedix", an 'accept' component called
"configurationmanager.tournedix" received this iq query :
<iq type='get' id='j1' to='configurationmanager.tournedix'
from='ouchia at tournedix/ouchia_758'>
<query
xmlns='http://rd.francetelecom.com/eTelephony/of/configuration/terminals
list'>
<company>FTRD</company>
</query>
</iq>
then the 'accept' component try to respond to this client with this XML
packet :
<iq id='j1' to='ouchia at tournedix/ouchia_758' type='result'>
<query
xmlns='http://rd.francetelecom.com/eTelephony/of/configuration/terminals
list'>
<company name='FTRD'>
<terminals>
<terminal>
<e164alias>0298000000</e164alias>
<operatorfunction>false</operatorfunction>
<parkingfunction>true</parkingfunction>
</terminal>
</terminals>
</company>
</query>
</iq>
Unfortunately, as you can see in the following traces, the packet is not
delivered to the client, however my XML flow is well formed. I don't
understand, an 'accept' would have been to send a jabber packet to any
client, wouldn't it ?
Thanks in advance for your help.
Mehdi.
Wed Dec 4 15:15:18 2002 deliver.c:257
deliver(to[configurationmanager.tournedi
x],from[ouchia at tournedix/ouchia_758],type[4],packet[<iq type='get'
id='j1' to='c
onfigurationmanager.tournedix' from='ouchia at tournedix/ouchia_758'><query
xmlns='
http://rd.francetelecom.com/eTelephony/of/configuration/terminalslist'>
<company>FTRD</company>
</query></iq>])
Wed Dec 4 15:15:18 2002 deliver.c:474 DELIVER
1:configurationmanager.tournedix
<iq type='get' id='j1' to='configurationmanager.tournedix'
from='ouchia at tourned
ix/ouchia_758'><query
xmlns='http://rd.francetelecom.com/eTelephony/of/configura
tion/terminalslist'>
<company>FTRD</company>
</query></iq>
Wed Dec 4 15:15:18 2002 deliver.c:678 delivering to instance
'configurationman
ager.tournedix'
Wed Dec 4 15:15:18 2002 mio.c:1054 mio_write called on x: 81F0090
buffer: (nul
l)
Wed Dec 4 15:15:18 2002 mtq 8146AE8 leaving to pth
Wed Dec 4 15:15:18 2002 mio.c:279 write_dump writing data: <iq
type='get' id='
j1' to='configurationmanager.tournedix'
from='ouchia at tournedix/ouchia_758'><quer
y
xmlns='http://rd.francetelecom.com/eTelephony/of/configuration/terminals
list'>
<company>FTRD</company>
</query></iq>
Wed Dec 4 15:15:18 2002 mio.c:607 mio while loop top
Wed Dec 4 15:15:18 2002 mio.c:620 mio while loop, working
Wed Dec 4 15:15:18 2002 mio.c:607 mio while loop top
Wed Dec 4 15:15:18 2002 mio.c:620 mio while loop, working
Wed Dec 4 15:15:18 2002 mio.c:760 MIO read from socket 15: <iq id='j1'
to='ouc
hia at tournedix/ouchia_758' type='result'><query
xmlns='http://rd.francetelecom.com/eTelephony/of/configuration/terminals
list'>
<company name='FTRD'><terminals><te
rminal><e164alias>0298000000</e164alias><operatorfunction>false</operato
rfunctio
n><parkingfunction>true</parkingfunction></terminal></terminals></compan
y></quer
y></iq>
Wed Dec 4 15:15:18 2002 base_accept.c:120 process XML: m:80E3838
state:3, arg:
810E5D0, x:81F0090
Wed Dec 4 15:15:18 2002 log.c:116 <log type='warn'
from='-internal'>Packet Del
ivery Failed, invalid packet, dropping <iq id='j1'
to='ouchia@
tournedix/ouchia_758' type='result'><query
xmlns='http
://rd.francetelecom.com/eTelephony/of/configuration/terminalslist'&
gt;<c
ompany
name='FTRD'><terminals><terminal><e164alias&
g
t;0298000000</e164alias><operatorfunction>false</operator
function
><parkingfunction>true</parkingfunction></terminal>
</ter
minals></company></query></iq></log>
Wed Dec 4 15:15:18 2002 deliver.c:474 DELIVER 3:-internal <log
type='warn' fro
m='-internal'>Packet Delivery Failed, invalid packet, dropping <iq
id='j
1' to='ouchia at tournedix/ouchia_758'
type='result'>&l
t;query
xmlns='http://rd.francetelecom.com/eTelephony/of/configuration/term
inalslist'><company
name='FTRD'><terminals><ter
minal><e164alias>0298000000</e164alias><operatorfuncti
on>fa
lse</operatorfunction><parkingfunction>true</parkingfunct
ion>&
lt;/terminal></terminals></company></query></iq&
gt;</log
>
Wed Dec 4 15:15:18 2002 deliver.c:678 delivering to instance 'elogger'
20021204T14:15:18: [warn] (-internal): Packet Delivery Failed, invalid
packet, d
ropping <iq id='j1' to='ouchia at tournedix/ouchia_758'
type='result'><query xmlns=
'http://rd.francetelecom.com/eTelephony/of/configuration/terminalslist'>
<company
name='FTRD'><terminals><terminal><e164alias>0298000000</e164alias><opera
torfunc
tion>false</operatorfunction><parkingfunction>true</parkingfunction></te
rminal><
/terminals></company></query></iq>
------------------------------------------------------------------------
----------
Mehdi OUCHIA mehdi.ouchia at rd.francetelecom.com
france telecom R&D/SVA/KIS
Téléphone : (33) 2 96 05 21 68 Télécopie : (33) 2 96 05 02
42
2 rue Pierre Marzin
22307 LANNION cedex
------------------------------------------------------------------------
--------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20021204/dda5e9c8/attachment-0002.htm>
More information about the JDev
mailing list