powered by Jive Software

Smack 3.3.0 and BOSH does no longer work

Hi,

we use this BOSH Implementation:

http://svn.igniterealtime.org/svn/repos/smack/branches/bosh/smack-bosh/

together with some additional libraries (com.kenai.jbosh:jbosh:0.6.0 and xpp3).

It works for Smack 3.2.2 but does no longer for 3.3.0.

Does anybody have an idea or solution?

During connection I get this error:

Timeout reached for the connection to null:0.: remote-server-timeout(504) Timeout reached for the connection to null:0.

at org.jivesoftware.smack.BOSHConnection.connect(BOSHConnection.java:208)

Hi, Do you solve this issue?

Thanks!

Yes. In the BoshConfiguration constructor I set:

setUsedHostAddress(getHostAddresses().get(0));

Sorry, I’m probably missing something, but could you look at my problem?

asmack BOSHConnection do not connect

You would be really helped me a lot, thanks!

My host address need to be like this “http://domain:7070/http-bind/

I guess with HostAddresses constructor I can only make this adderess : “http://domain:7070”.

Do you have any advice?

Thank you!