Asmack disconnected form openfire server when sending large text in Chinese

Hello erveryone, I’m using asmack to develop a chat client for Anroid.

When I send a lot of text in Chinese, The Connection lost immediately but not in English or Numbers.

Here are my ConnectionConfiguration initialization:

ConnectionConfiguration cc = new ConnectionConfiguration(“192.168.0.18”, 5222);

ConnectionConfiguration cc = new ConnectionConfiguration(“192.168.0.18”, 5222);

cc.setSecurityMode(SecurityMode.disabled);

cc.setSASLAuthenticationEnabled(false);

cc.setReconnectionAllowed(true);

cc.setSecurityMode(SecurityMode.disabled);

cc.setSASLAuthenticationEnabled(false);

cc.setReconnectionAllowed(true);

XMPPConnection conn = new XMPPConnection(cc);

And I send Message like this:

Message msg = new Message();

msg.setBody(“Message Content”));

msg.setTo("testuser@127.0.0.1");

conn.sendPacket(msg);

This is not a forum for asmack, as that is an android specific version of Smack that is not supported by Igniterealtime.

I would suggest that you try to reproduce this problem using Smack only, and if that fails as well, you may be able to find help here, or at least log it as a bug.