powered by Jive Software

Openfire + Strophe + Firefox / Chromoless browser

Hi,

var conn = new Strophe.Connection(http://127.0.0.1:7070/http-bind/);

  1. When I am using Firefox + Fire bug I am getting 200 aborted error

Post tab(fire bug)

<body rid='1730414194' xmlns='[http://jabber.org/protocol/httpbind](http://jabber.org/protocol/httpbind)' to='example.com' xml:lang='en' wait='60' hold='1' content='text/xml; charset=utf-8' ver='1.6' xmpp:version='1.0' xmlns:xmpp='urn:xmpp:xbosh'/>

XML tab:(fire bug)

XML Parsing Error: no element found Location: moz-nullprincipal:{cd885636-d24b-4ae8-97b3-1a0a7fb08cdb} Line Number 1, Column 1:

  1. Later I tried with Chromo less browser not able to connect with Open XMPP Server

  2. Finally I tried with IE and its working fine and able to connect with Openfire XMPP Server.

I used the same example with other XMPP Server its working fine in fire fox / chrome less browser.

This is happening against with Open fire XMPP Server only.

Does anyone face the same problem with firefox / chromo less browsers for Openfire?

Thanks,

Were you ever able to find a solution to your problem?

Not yet. As of now I am using IE. Please let me know if you have any updates.

Thanks

I was able to solve the problem by editting my httpd.conf file in my apache folder.

I started by uncommenting the necessary proxy modules and adding this to the bottom of the file:

ProxyRequests Off

ProxyPass /http-bind/ http://127.0.0.1:7070/http-bind/

ProxyPassReverse /http-bind/ http://127.0.0.1:7070/http-bind/

I then changed my connection statement to:

connection = new Strophe.Connection(’/http-bind’/);

The issue is caused by Firefox and Chrome blocking the request for reasons I do not fully understand yet.