We're updating the issue view to help you get more done. 

Add support for XMPP Ping (XEP-0199)

Description

Some clients (Pidgin, for example) sent regular 'XMPP ping' (XEP-0199) requests on the server. Openfire currently returns 'feature-unavailable' (which is a 'pong' in itself, I guess). As implementation is almost trivial, it's nice to have the proper implementation in place.

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Guus der Kinderen
July 1, 2008, 6:45 PM

I've just committed an IQHandler that will handing XMPP Ping requests that are made to the domain. Gato, could you please review and adjust the JIRA 'fix version' if appropriate?

wu tiger
June 26, 2012, 10:56 AM

My english is poor, I use openfire as the xmpp server,and client send an iq such as "<iq type="error" id="697-5" to="serverdomain" from="1000655742@serverdomain/Spark 2.6.3"><ping xmlns="urn:xmpp:ping"/><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
". The IQPingHandler can't process this message in right way. throw exception like this:java.lang.IllegalArgumentException: IQ must be of type 'set' or 'get'. Original IQ:"<iq type="error" id="697-5" to="serverdomain" from="1000655742@serverdomain/Spark 2.6.3"><ping xmlns="urn:xmpp:ping"/><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>

Assignee

Gaston Dombiak

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Priority

Minor
Configure