Openfire BOSH idle timeout

Hi guys,

I have been trying to get BOSH / HTTP Bind idle timeout to decrease. I a finding that when users close a browser session it is taking up to 60 seconds to disconnect the user. I have tried changing some of the variables listed on the page and it doesn’t seem to make much use (http://community.igniterealtime.org/docs/DOC-1061#http_bind_prop). I have tried other BOSH managers such as Pubjab which seem to close connections faster etc. But I would rather just use Openfire to manage everything.

I am using version 3.7.1. If anyone could shed some light on this that would be great. I couldn’t a lot of information on it to be honest.

Thanks

Adam

Hi Adam, Perhaps you can better try to fix this on the client side? Are you using strophe? If so, you can try to get the window close event to do something like this with strophe: XMPPConn.sync = true; XMPPConn.flush(); XMPPConn.disconnect(); I’ve had good luck with that working in my BOSH app. The key is to go into synchronous mode, so that the action happens before the browser goes away. daryl

Hi Daryl!

Thanks for your reply. The trouble is users need to navigate between pages. If I was to disconnect on each page then I would need to reconnect every page. If it was just one page my life would be simple

I am using Strophe yes. I’m not sure what the best solution is yet currently. it must be something simple if the other BOSH apps can do it.

Thanks

Adam