-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of OUCHIA Mehdi FTRD/SVA/LAN
Sent: Wednesday, December 04, 2002 6:53 AM
To: [EMAIL PROTECTED]
Subject: [JDEV] Internal Jabberd error : Packet delivery failed (Invalid packet)Hello,
from a client called "ouchia@tournedix", an 'accept' component called "configurationmanager.tournedix" received this iq query :
<iq type='get' id='j1' to='configurationmanager.tournedix' from='ouchia@tournedix/ouchia_758'>
<query xmlns='http://rd.francetelecom.com/eTelephony/of/configuration/terminalslist'>
<company>FTRD</company>
</query>
</iq>
then the 'accept' component try to respond to this client with this XML packet :
<iq id='j1' to='ouchia@tournedix/ouchia_758' type='result'>
<query xmlns='http://rd.francetelecom.com/eTelephony/of/configuration/terminalslist'>
<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@tournedix/ouchia_758],type[4],packet[<iq type='get' id='j1' to='c
onfigurationmanager.tournedix' from='ouchia@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@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@tournedix/ouchia_758'><quer
y xmlns='http://rd.francetelecom.com/eTelephony/of/configuration/terminalslist'>
<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@tournedix/ouchia_758' type='result'><query xmlns='http://rd.francetelecom.com/eTelephony/of/configuration/terminalslist'><company name='FTRD'><terminals><te
rminal><e164alias>0298000000</e164alias><operatorfunction>false</operatorfunctio
n><parkingfunction>true</parkingfunction></terminal></terminals></company></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'><c
ompany name='FTRD'><terminals><terminal><e164alias&g
t;0298000000</e164alias><operatorfunction>false</operatorfunction
><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@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><operatorfunction>fa
lse</operatorfunction><parkingfunction>true</parkingfunction>&
lt;/terminal></terminals></company></query></iq></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@tournedix/ouchia_758' type='result'><query xmlns=
'http://rd.francetelecom.com/eTelephony/of/configuration/terminalslist'><company
name='FTRD'><terminals><terminal><e164alias>0298000000</e164alias><operatorfunc
tion>false</operatorfunction><parkingfunction>true</parkingfunction></terminal><
/terminals></company></query></iq>
----------------------------------------------------------------------------------
Mehdi OUCHIA [EMAIL PROTECTED]
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
--------------------------------------------------------------------------------------------------------------
Title: Message
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
- [JDEV] Internal Jabberd error : Packet delivery ... OUCHIA Mehdi FTRD/SVA/LAN
- RE: [JDEV] Internal Jabberd error : Packet ... Mike Prince
- RE: [JDEV] Internal Jabberd error : Packet ... Joe Hildebrand
