User1: Jitsi on mobile and Gajim on desktop
User2: Jitsi on mobile and Gajim on desktop
Server: Openfire 3.9.3
User1 sends a first message (Gajim) to user2, user2 replies on mobile (Jitsi). If user1 then replies again, user1 gets disconnected by openfire. I suspect carbons could be involved in the problem, problably in combination with a fault in one of the clients. Both Gajim and Jitsi supports carbons and works most of the time with openfire but this error happens way to often.
Full client log:
Full server log:
The interesting part of the server log:
2014.05.13 11:02:27 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message: …
org.dom4j.IllegalAddException: The node … could not be added to the element “forwarded” because: The Node already has an existing parent of “forwarded”
If one looks at the timestamps from both the client and the server one can see that it’s the message “second from Gajim” that makes openfire spit the error and close the connection to the client.
Disclaimer, I first tried to post this with embedded logs formatted for easy reading, however the forum gave some error without information when I tried to embed the logs so I’ve linked to the logs on pastebin.