powered by Jive Software

Problem with Cross domain requests from Candy to Openfire (on Microsoft IIS)

Hi All, I am developing a web chat based on Openfire and Candy browser client. The web server and chat server run on Windows OS.

Although I have configured the web server to support cross domain requests (see: https://github.com/candy-chat/candy/wiki/HTTP-Proxy-Configuration) I do not manage to establish a BOSH connection from Candy to Openfire.

The problem is that when Candy issues a connection request through the web server, the latter rejects it.

In the debug console of Firefox browser I see the following error:- XMLHttpRequest cannot load http://localhost:7070/http-bind/. Origin is not allowed by Access-Control-Allow-Origin.

I wonder if someone else has already experienced this problem and has hopefully fiexd it. How?

I am stuck on this issue so I really hope to get some help from this forum.

Thank you in advance.