Hi, Our web application uses XMPP for chat. We are using ejabberd xmpp server . We have configured xmpp BOSH( http://xmpp.org/extensions/xep-0206.html ) via HAProxy. But sometimes haproxy is throwing error with Status Code:504 Gateway Time-out. Our application shows error as No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '. But the same request initially it works without any error. Can you please guide us on how to resolve this issue
Regards Vijaya

