Menu

#12 Error sending files between Jeti and other jabber clients

open
5
2008-03-06
2008-03-06
Anonymous
No

Sending files from Jeti to Coccinella and
Vice versa doesn´t work.:

The Jeti client, which is the initiator in this case, doesn't send any
streamhost element(s) which the target (coccinella) can connect to. This
is why it fails. At least it is the direct cause. You can see for
yourself in http://www.xmpp.org/extensions/xep-0065.html#proto-inform
what the initiators response should be. The actual code in coccinella,
or jabberlib, which generates the error message looks like this:

# Get streamhosts keeping their order.
set hosts [list]
foreach elem [wrapper::getchildswithtag $queryE "streamhost"] {
array unset sattr
array set sattr [wrapper::getattrlist $elem]
if {[info exists sattr(jid)] \
&& [info exists sattr(host)] \
&& [info exists sattr(port)]} {
lappend hosts [list $sattr(jid) $sattr(host) $sattr(port)]
}
}
debug "\t hosts=$hosts"
if {![llength $hosts]} {
eval {return_error $jlibname $queryE 400 modify bad-request} $args
return 1
}

which is exactly the error you get.
If Jeti fails already here it is likely to fail elsewhere when roles are reversed.

** Changed in: coccinella
Assignee: (unassigned) => Mats (matsben)
Status: New => Invalid

Discussion


Log in to post a comment.

MongoDB Logo MongoDB