powered by Jive Software

Openfire 3.6.4 Strophe connection problem with Firefox


I can’t connect with Strophe.js to the Openfire Server using Firefox. IE and Safari works fine instead.

Tried it with several scripts, neither my own implementation nor trophyim (attached as zipfile for testing) works for me.

The only thing I can imagine is a wrong configuration of appache, but why does it work in IE and Safari?

Are there any known issues?

Openfire Version: Openfire 3.6.4

Installed Plugins are:

  • Monitoring Service

  • Registration

  • User Service

HTTP Bind Settings

HTTP binding allows clients using the HTTP protocol to connect to Openfire.

Script Syntax








Setted up Proxy: Appache

ProxyRequests Off
ProxyPass /http-bind
ProxyPassReverse /http-bind

Calling the addresses by firefox, cause:




Powered by Jetty://

The response HTTP ERROR is also the right response.
trophyim.0.3.zip (35191 Bytes)

Hi !

I have not had a deeper look for your properties, but at a first glance, the

looks right [and the other connecting clients are speaking for this]. For me,

the same thing is really working, but NOT initially:I am using the “no-script”

plugin and - astoundingly -it blocked strophe.js! The details:It looks like,

that the strope.js calls google.api, which are almost forbidden for my webs!

May be, this helps.


Hi Manfred,

thanks for your reply.

I have a solution for my Problem. Just copy the js client into your appache htdocs folder and it works also with firefox. Responsible for this effect is the CORS specification.

“A web application using XMLHttpRequest could only make HTTP requests to the domain it was loaded from, and not to other domains.”

IE8 implements part of the CORS specification, so I think that’s the reason why it works with IE.

For further information take a look at:



I copied my js files into the htdocs folder but POST method doesn’t work when POST http-bind the Status in the firebug is “200 Aborted” domain localhost:7070. It seems like the request is from localhost to localhost:7070 which is a cross-domain request (below the Firebug logs)

Can you help me? Many thanks!

Host localhost:7070

``User-Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; de; rv: Gecko/20111212 Firefox/3.6.25Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language en-us;q=0.5,en;q=0.3

``Accept-Encoding gzip,deflate

``Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7

``Keep-Alive 115

``Connection keep-alive

``Referer [http://localhost/index.html](http://localhost/index.html)

``Content-Length 209

``Content-Type text/plain; charset=UTF-8

``Origin [http://localhost](http://localhost)

``Pragma no-cache

``Cache-Control no-cache


<body rid='1851437645' xmlns='[http://jabber.org/protocol/httpbind](http://jabber.org/protocol/httpbind)' to='server.local' 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'``/>