enable http-bind on openfire

Hunt picture Hunt · Dec 3, 2012 · Viewed 23.9k times · Source

I am trying to enable BOSH connection over Openfire so that i can create a XMPP client over a web. curretly i am testing it with the strophe.js.

the problem is when i try to fire following url in a browser i am getting

http://www.mydomain.com:7070/http-bind

following error

HTTP ERROR 400


    Problem accessing /http-bind/. Reason:

        Bad Request
    Powered by Jetty://

here is my server setting , i saw few threads but they arent helpful

enter image description here

update

i have made a connection using strophe but i am getting following error in browser trance

enter image description here

Answer

Vijay Lathiya picture Vijay Lathiya · Aug 12, 2013

its now working in my system.

i think your error encountered may actually be a configuration issue with the openfire.

It is designed to reply with HTTP 400 Bad Request if there is no element in the request. You can test this yourself by providing a element in your query.

Try the following URL in your browser:

 http://www.servername:7070/http-bind/?<body rid="1"/>