asmack BOSHConnection не подключаться
Я разрабатываю приложение для Android-чата, используя: 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)
Что я делаю не так?
Спасибо!