You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If emite is not able to connect to the backend it will do 8 retries with an increasing delay (see RetryControl) as long as the error count does not get reset. Each time emite handles a resonse in XmppBoshConnection it will reset the error count and so RetryControl will not do it's purpose.
What steps will reproduce the problem?
you need a unresponsive jabber server behind responsive reverse proxy
try to connect to jabber server
reverse proxy will responde with status 502
What is the expected output? What do you see instead?
emite should try to connect 8 times with more delay on each retry. But instead it retries forever with a delay of 500ms.
If clearErrors(); will be done just on a successful response the onError handler will pass a proper error-count to RetryControl.
The text was updated successfully, but these errors were encountered:
I was just commenting on the issue you raised in the old google code bug tracker! I haven't had a chance to test your patch properly, but I've committed your patch to a new branch named issue-12 which is an existing issue we have to overhaul the reconnect system as it's a bit flakey at the moment. I hope that we can use this issue-12 branch to make the reconnection system a lot more solid.
Reported by bernd.roessl, May 24, 2011
If emite is not able to connect to the backend it will do 8 retries with an increasing delay (see RetryControl) as long as the error count does not get reset. Each time emite handles a resonse in XmppBoshConnection it will reset the error count and so RetryControl will not do it's purpose.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
emite should try to connect 8 times with more delay on each retry. But instead it retries forever with a delay of 500ms.
If clearErrors(); will be done just on a successful response the onError handler will pass a proper error-count to RetryControl.
The text was updated successfully, but these errors were encountered: