Error #2032: Stream Error from xmppbosh connection


i have been using xmppboshconnection in xiff3 stack to connect to ejabberd server. But very often after few message exchanges between the client

and the server, xmppbosh connection throws an error: Error #2032: Stream Error. URL:http://jabber.xxxx:80/http-bind/con

does anyone know what this error means and what could be the root cause of this issue?