我在windows中使用openfire来设置bosh连接管理器...安装成功但是我给了网址http:// localhost:9090/bosh它说
HTTP错误:404
NOT_FOUND RequestURI =/http-bind /
由Jetty提供支持://
试过http:// localhost:9090/http-bind / 给出了同样的错误
任何人都可以告诉我发生的事情......我如何排除故障谢谢
尝试使用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)
| 归档时间: |
|
| 查看次数: |
12207 次 |
| 最近记录: |