org.jivesoftware.smack.XMPPException$StreamErrorException im



我在运行Windows的SMACK客户端时得到以下异常:-

Sep 25, 2015 10:24:13 AM org.jivesoftware.smack.AbstractXMPPConnection callConnectionClosedOnErrorListener
WARNING: Connection closed with error
org.jivesoftware.smack.XMPPException$StreamErrorException: improper-addressing You can read more about the meaning of this stream error at http://xmpp.org/rfcs/rfc6120.html#streams-error-conditions
<stream:error><improper-addressing xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>
    at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:994)
    at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$200(XMPPTCPConnection.java:935)
    at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:950)
    at java.lang.Thread.run(Thread.java:745)

谷歌搜索"org. jivessoftware .smack"。XMPPException$ streamerroreexception: improper-addressing" yield

https://www.igniterealtime.org/builds/smack/docs/4.1.0/javadoc/index.html?org/jivesoftware/smack/packet/StreamError.html

地址不正确:两个服务器之间发送的节缺少'to'或'from'属性

除此之外,我在谷歌搜索结果中找不到关于如何解决这个问题的任何信息

您是否发送到正确的端口?正确的端口是5222(而不是9090)。

相关内容

  • 没有找到相关文章

最新更新