title: org.jivesoftware.smack.XMPPException$StreamErrorException improper-addressing
body: <p>I am getting the following Exception running a SMACK client of Windows: -</p>
  
  <pre><code>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
  &lt;stream:error&gt;&lt;improper-addressing xmlns='urn:ietf:params:xml:ns:xmpp-streams'/&gt;&lt;/stream:error&gt;
      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)
  </code></pre>
  
  <p>Google search for "org.jivesoftware.smack.XMPPException$StreamErrorException: improper-addressing" yielded</p>
  
  <p><a href="https://www.igniterealtime.org/builds/smack/docs/4.1.0/javadoc/index.html?org/jivesoftware/smack/packet/StreamError.html" rel="nofollow">https://www.igniterealtime.org/builds/smack/docs/4.1.0/javadoc/index.html?org/jivesoftware/smack/packet/StreamError.html</a></p>
  
  <p>which states</p>
  
  <p>improper-addressing : a stanza sent between two servers lacks a 'to' or 'from' attribute </p>
  
  <p>Beyond this I could not find any information in the Google search results about how to fix this issue.</p>