-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
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?
- 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.
Reactions are currently unavailable