Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12162

Can't make reconnecting with BOSH work

$
0
0

Hi,

 

I am using the BOSH files from the BOSH branch.

 

http://svn.igniterealtime.org/svn/repos/smack/branches/bosh/smack-bosh/src/main/ java/org/jivesoftware/smack/

 

 

I have the problem that reconnecting does not work.

 

1. The reconnection error listener is never called. Because the following piece of logic in BoshConnection.java does not make any sense at all.

 

if (connEvent.isError()) {

                        try {

                            connEvent.getCause();

                        }

                        catch (Exception e) {

                            notifyConnectionError(e);

                        }

                    }

 

because getCause never throws an exception.

 

I've fixed that.

 

2. Then the second problem is, if I reconnect and try to login (due to wasAuthenticated=true), I get no response from server during the SASL Authentication.

 

Anybody having similar experiences or an idea to my 2nd problem?


Viewing all articles
Browse latest Browse all 12162

Trending Articles