I get the following exception starting a Windows SMACK client: -
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
<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)
A google search for "org.jivesoftware.smack.XMPPException $ StreamErrorException: wrong addressing" gave
https://www.igniterealtime.org/builds/smack/docs/4.1.0/javadoc/index.html?org/jivesoftware/smack/packet/StreamError.html
which says
wrong addressing: a stanza sent between two servers does not have a "to" or "from" attribute
In addition, I could not find information in Google search results on how to fix this problem.
source
share