Well, I've done a bit of digging into this specific issue and I've found the following. Nothing is conclusive, but this is my best guess at this point.
- libpurple (Pidgin, and Adium) seems to have a silly BOSH implementation and it's not an exclusive problem to Vysper. The library disconnects after a ping timeout, and then never reconnects. It will then re-establish a new BOSH session. I'm not sure why it does this, but it's been reported and never addressed to the best of my knowledge: https://developer.pidgin.im/ticket/13021 - When I connect to my server without BOSH, I never see any ping stanzas exchanged. I know I am enabling the XEP-0199 Module, so I'm assuming I should regularly see pings exchanged. If that's not the case, is there something else I have to do to turn on pings? Or do I have to write code manually to force regular pinging from server to client? And should pings be sent from BOSH session? - I'm running Vysper through Amazon's ELB for both BOSH and regular 5222 XMPP. I think in both cases, the ELB will drop a connection that's been sitting idle for 120 seconds. I suspect I need to force pinging. Would this make sense, or am I barking up the wrong tree? Thanks, Patrick. On Tue, Dec 18, 2012 at 12:19 PM, Bernd Fondermann < bernd.fonderm...@gmail.com> wrote: > On Wed, Dec 12, 2012 at 8:57 AM, Patrick Twohig <p-two...@ieee.org> wrote: > > I'm seeing Vysper disconnect sessions after 2 - 3 minutes. It doesn't > seem > > to indicate a reason as to why, just disconnects. I am running this > > through the Elastic Load Balancer which has a timeout, so that could be > > causing the problem. What's strange is that I'm still seeing this > problem > > even with BOSH which, to the best of my understanding, shouldn't have a > > problem even if the connection drops regularly. Could this be a problem > > with Adium/Pidgin? > > It's hard to say without any more information. Obviously there is some > kind of problem. > Since BOSH issues new request every now and then, there's no trivial > reason I'm aware of. > > Bernd >