[已解决]XMPP访问7070/http-bind/出错:HTTP ERROR 400 Problem accessing /http-bind/ Reason: Bad Request Powere
来源:互联网 发布:linux安装ipython3 编辑:程序博客网 时间:2024/06/07 11:09
[已解决]XMPP访问7070/http-bind/出错:HTTP ERROR 400 Problem accessing /http-bind/ Reason: Bad Request Powered by Jetty://
http://192.168.1.110:7070/http-bind/
出错:
[解决过程]
1.搜:
http-bind 7070
参考:
openfire http-bind绑定设置 – 开源中国社区
“不能直接访问,这个地址是用来http绑定的方式向openfire发送数据包的,即通过http请求来绑定或者连接OF服务器。”
xmpp – enable http-bind on openfire – Stack Overflow
访问:
http://192.168.1.110:7070/http-bind/?<body rid=”1″/>
自动变成:
http://192.168.1.110:7070/http-bind/?%3Cbody%20rid=%221%22/%3E
输出结果:
1
_BOSH_(
"<body xmlns=\"http://jabber.org/protocol/httpbind\" xmlns:stream=\"http://etherx.jabber.org/streams\" from=\"localhost\" authid=\"b03590f9\" sid=\"b03590f9\" secure=\"true\" requests=\"2\" inactivity=\"30\" polling=\"5\" wait=\"60\"><stream:features><mechanisms xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\"><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>DIGEST-MD5</mechanism></mechanisms><register xmlns=\"http://jabber.org/features/iq-register\"/><bind xmlns=\"urn:ietf:params:xml:ns:xmpp-bind\"/><session xmlns=\"urn:ietf:params:xml:ns:xmpp-session\"><optional/></session></stream:features></body>"
)
如图:
果然,Openfire后台服务器配置中,可以看到默认的Http绑定端口是7070:
对应的配置:
[总结]
不能直接访问这个7070的http端口。
而是要通过代码去访问?
0 0
- [已解决]XMPP访问7070/http-bind/出错:HTTP ERROR 400 Problem accessing /http-bind/ Reason: Bad Request Powere
- http 400 Bad Request
- Error parsing HTTP request header--400 bad request
- HTTP/1.1 400 Bad Request
- HTTP 400 Bad-Request解决方法
- HTTP 错误 400 - Bad Request
- 关于python请求url报HTTP Error 400: Bad Request
- ERROR 微信安卓报http 400 Bad Request -Invalid Header name错误
- Telnet HTTP 测试步骤 解决返回400 bad Request
- BOSH特性【HTTP-Bind】技术
- Android http post 文件 bad request 400
- 研发过程遇到HTTP 400 Bad Request
- HTTP Status 400 – Bad Request
- HTTP 1.1 400 Bad Request 11ms
- BUG:HTTP 400错误(Bad request)
- Error:Unable to tunnel through proxy. Proxyreturns "HTTP/1.1 400 Bad Request"
- Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
- Error:Unable to tunnel through proxy. Proxyreturns "HTTP/1.1 400 Bad Request"
- 【Java】转发与重定向
- Scala 函数式编程进阶 2 更详 代码说明
- JAVA深入研究——Method的Invoke方法。
- Git命令总结
- c与c++代码关于结构体的区别
- [已解决]XMPP访问7070/http-bind/出错:HTTP ERROR 400 Problem accessing /http-bind/ Reason: Bad Request Powere
- 读书笔记5-《crazy java》
- 算法训练 区间k大数查询
- MaltReport2:基于 OpenDocument-OpenOfficeXML 的开源报表引擎
- C++中引用与指针的区别
- ubuntu 12.04安装ROS 问题的解决
- PAT B1047. 编程团体赛(20)
- 视觉SLAM漫淡
- Wi-Fi产品射频电路调试经验谈