Openfire http-bind disconnects with proxy error

Hi,

I have setup an Openfire server on my deployment server, i managed to also start communication of notifications using XMPHP, Strophe and Openfire.

I am currently facing 1 problem, related to the Strophe BOSH connection. After the page reloads and the connection is made using Strophe.connect i am able to receive messages, but after a while the http-bind connection expires with a 502 Proxy error.

Is there a solution to prevent this from happening, cause after the connection fails i am unable to receive any messages.

Regards,

Sheldon