我正在使用:asmack-android-19-0.8.10.jar
服务器端正在使用BOSH协议并发送此类数据:
{
"Domain":"domain",
"boshUrl":"http://domain:7070/http-bind/"
}
我这样连接:
BOSHConfiguration configuration = new BOSHConfiguration ("domain");
configuration.setSASLAuthenticationEnabled(false);
BOSHConnection connectionBosh = new BOSHConnection (configuration);
connectionBosh.connect();
我有一个XMPPException:
Timeout reached for the connection to null:0.: remote-server-timeout(504)
我做错了什么?
谢谢!