powered by Jive Software

Wildfire needs ping pong command?

I found an interesting thing: when idle for 30 minutes, then the connection will be lost with wildfire. The spark won’'t be so, but the app written by myself will be.

I don’'t know if we need ping pong command like what irc does? or is there any settings i mistook?

Hi,

that’'s the idle timeout, please see

http://www.jivesoftware.org/community/thread.jspa?threadID=17665 and

http://www.jivesoftware.org/community/thread.jspa?threadID=17033 for a detailed discussion.

Summary: You could set ““xmpp.client.idle” to "28800000"” (8 hours) to fix this with Wildfire or even better add a heartbeat to your client.

Wildfire expects heartbeats as either a space (0x20) or a newline (0x0A) character, while GAIM is sending a single tab (0x09) character.

LG

Thanks indeed for your advice, but, is that says, since wildfire 2.4.4. there’‘s no about 30 minutes idle timeout problem? And i won’'t do anything in my programme, just upgrade the server?

Hi,

the only thing which is fixed is that also the “single tab (0x09)” is accepted as heartbeat (see http://www.jivesoftware.org/builds/wildfire/docs/latest/changelog.html ). If your application already sends x09 as heartbeat then upgrading the server would solve the problem.

LG

oh, i’‘ve got it, but i’‘m using delphi and ipworks’’ xmpp component, i always use sendcommand with an xml node to do the communication, i wonder what xml need to send as heartbeat?I’'ve read many JEPs but found none about heartbeat

oh, i’‘ve got it! only need to send a space that’'s ok

very thanks for your help!

ok, I’‘m stupid - how do you get the client to send a " " message ? To the server, I presume. But what’'s the construct ?