Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Compression enabled: more harm than benefit

$
0
0

Hi,

 

since recently we had a lot of problems with our XMPP client.

 

There were a lot of connection losses (triggering the reconnection manager) and lot of exceptions in the log, similar to:

 

org.xmlpull.v1.XmlPullParserException: expected = after attribute name (position: END_TAG seen ...y>

 

In the Openfire log we had many exceptions as well:

 

org.jivesoftware.openfire.IQRouter - Error or result packet could not be delivered

 

 

Approximately every second login failed and generally the connection was very unstable.

 

After some research, it turned out, that compression had been enabled for Smack recently:

 

connectionConfiguration.setCompressionEnabled(true);

 

So, I reverted this change, and everything went fine again.

 

I am not sure, if this is a Smack or Openfire problem, but maybe somebody had similar issues or comments!?

 

(Using Smack 3.3.1 on Windows 7 with Java 7)


Viewing all articles
Browse latest Browse all 10742

Trending Articles