Closed sternenseemann closed 6 years ago
This is possibly because they are using the same jabber resource (jid user@domain/resource), servers will automatically disconnect one client if two connect with the same resource. The fix is to either make jackline support a jid without a resource, or you need to manually edit the configs to have different jids.
as @infinity0 said, the workaround is to have two different configs (using a different resource
).
the other option, to let the server choose the resource for you, is not implemented yet, and tracked as #155 in this issue tracker.
closing this issue since it is the expected behaviour with the current implementation.
I see!
I guess the only thing to improve here is the error message? It is a bit misleading to have a async
Xml parse error instead of being told, that the server disconnected the client actively.
yes, making the error message more clear would be great. unfortunately this is and exception raised deep inside the xml library and I'm atm not sure how to improve it (without rewriting the xml&xmpp interface, as indicated in https://hannes.nqsb.io/Posts/Jackline)
Reproduction
26688f07c3edc3b83e7aa0b9136cd1e9dcb58ed5
and0a1e4ea23245633fe23edf09b2309659a1bc3649
, will do further testing)Result
I'll try to reproduce this issue further and post it here.