[jitsi-users] XMPP bad request IQ error on startup..


#1

Hi

I'm new to videobridge and don't speak java. Have installed to work with
existing ejabberd installation which has been configured per instructions.

I can get jvb.sh running with api=rest, but with xmpp I have errors, pasted
below and it crashes out after about ten seconds.

It looks to me that ejabberd is objecting to the ping from videobridge and
responding with an error that videobridge is objecting to - but ejabberd
has mod_ping module installed and it is working fine from other apps.

Any thoughts??

2015-10-13 08:46:35.239 INFO: [1]

···

org.jitsi.xmpp.component.ComponentBase.loadConfig().134 Component
org.jitsi.videobridge. config:
2015-10-13 08:46:35.239 INFO: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().135 ping interval:
10000 ms
2015-10-13 08:46:35.239 INFO: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().136 ping timeout:
5000 ms
2015-10-13 08:46:35.240 INFO: [1]
org.jitsi.xmpp.component.ComponentBase.loadConfig().137 ping threshold: 3
2015-10-13 08:46:45.311 INFO: [20]
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQError() (serving component
'JitsiVideobridge') IQ stanza of type <tt>error</tt> received:
2015-10-13 08:46:45.312 INFO: [20]
org.jitsi.videobridge.xmpp.ComponentImpl.info() RECV: <iq type="error"
from="mydomain.org" id="rkx4P-0"><ping xmlns="urn:xmpp:ping"/><error
code="400" type="modify"><bad-request
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
java.lang.IllegalStateException: 2 != XmlPullParser.END_TAG
        at org.jitsi.xmpp.util.IQUtils.convert(IQUtils.java:176)
        at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQ(ComponentImpl.java:300)
        at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQError(ComponentImpl.java:374)
        at
org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:347)

----------------------------
Richard Phillips
----------------------------


#2

I don't know why ejabberd returns an error. Potentially it could be because they are coming from a component and not from a client. Can you capture ping messages sent from videobridge and from other applications?

As for our handling of ejabberd's "error" IQ, it should be fixed[0] and will get into the videobridge packages soon.

Regards,
Boris

[0] https://github.com/jitsi/libjitsi-protocol/commit/59db68ff330876ec7861828bd0ea579aed018df2

···

On 13/10/15 04:12, Richard Phillips wrote:

Hi

I'm new to videobridge and don't speak java. Have installed to work
with existing ejabberd installation which has been configured per
instructions.

I can get jvb.sh running with api=rest, but with xmpp I have errors,
pasted below and it crashes out after about ten seconds.

It looks to me that ejabberd is objecting to the ping from videobridge
and responding with an error that videobridge is objecting to - but
ejabberd has mod_ping module installed and it is working fine from other
apps.

Any thoughts??