Unable to connect with Mina 2.0.20 and compression enabled


If an attempt is made to connect with compression enabled, e.g. with Smack

then the connection fails. Disabling compression allows the connection to succeed.

Further notes;

This fails with MINA 2.0.20 (current version on master at the time of writing) and 2.1.0, succeeds with MINA 2.0.7.

Logs from Openfire;


Logs from the XML Debugger:




Greg Thomas
April 15, 2019, 9:35 AM

I've tested this locally and compression is now working with the 2.1.1 MINA release. 

Greg Thomas
March 26, 2019, 2:13 PM

Update; the mina-write-branch mentioned in DIRMINA-1101 fixes this issue; now to wait for a release so we can more easily incorporate it.

Greg Thomas
March 21, 2019, 2:57 PM
Greg Thomas
March 19, 2019, 1:33 PM
Greg Thomas
March 19, 2019, 11:27 AM

After much trial and error, it seems that MINA 2.0.13 works with compression enabled, MINA 2.0.14 doesn't.

Your pinned fields
Click on the next to a field label to start pinning.


Greg Thomas


Greg Thomas