Skip to content

possibly bug in XmppBoshConnection on connection failure #27

@ashward

Description

@ashward

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?

  1. you need a unresponsive jabber server behind responsive reverse proxy
  2. try to connect to jabber server
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions