波什使用openfire建立

ent*_*tic 5 xmpp openfire

我在windows中使用openfire来设置bosh连接管理器...安装成功但是我给了网址http:// localhost:9090/bosh它说

HTTP错误:404

NOT_FOUND RequestURI =/http-bind /

由Jetty提供支持://

试过http:// localhost:9090/http-bind / 给出了同样的错误

任何人都可以告诉我发生的事情......我如何排除故障谢谢

Joe*_*and 2

尝试使用POST而不是GET包含<body/>元素,如XEP-0206中指定:

POST /bosh HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: 275

<body content='text/xml; charset=utf-8'
      from='user@localhost'
      hold='1'
      rid='1573741820'
      to='localhost'
      wait='60'
      xml:lang='en'
      xmpp:version='1.0'
      xmlns='http://jabber.org/protocol/httpbind'
      xmlns:xmpp='urn:xmpp:xbosh'/>
Run Code Online (Sandbox Code Playgroud)