Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bosh and reconnects #24

Open
arcusfelis opened this issue Aug 31, 2013 · 1 comment
Open

Bosh and reconnects #24

arcusfelis opened this issue Aug 31, 2013 · 1 comment

Comments

@arcusfelis
Copy link
Contributor

Kate (with jid carol@localhost) sometimes receives this:

     {xmlel,<<"presence">>,
         [{<<"type">>,<<"unavailable">>},
          {<<"to">>,<<"carol@localhost/res1">>},
          {<<"from">>,<<"carol@localhost/res1">>}],
         [{xmlel,<<"status">>,[],
              [{xmlcdata,<<"Replaced by new connection">>}]}]}
@alsuren
Copy link

alsuren commented Jan 22, 2014

I managed to reproduce this reasonably reliably in my p1-google-queue-wip branch (and corresponding escalus branch), from memory. The problem is caused by a race between carol@localhost's resource[s] from the previous (failing) test being timed-out, and your current resource logging in.

Sometimes, you end up hitting the max_user_resources limit (default 10, from memory).

The error message in is a bit misleading. This should be fixed upstream, so that this failure mode is easier to debug (the new RFC even has a section on conflict resolution, if I remember correctly).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants