powered by Jive Software

Odd behavior with Jsjac/bosh and idle connections

I’m using Openfire 3.6.4 on Unbuntu 9.10.

Client is a javascript app running in Safari 5 and Firefox 3.6, so connecting to Openfire via bosh. Client library is jsjac.

Everything works just fine - except that after a period of inactivity on the client jsjac refreshes the connection to Openfire, and when it does I see 503 errors on the browser console. The weird thing is everything still works. I’ve tried varying the client idle wait timeout. I’ve tried varying the apache Timeout - i.e. making it huge.

So my question is does anyone have any thoughts as to why the initial xmpp connection works, but subsequent refreshes on an idle connection get 503 errors?