[jitsi-dev] XMPP MUC exception


#1

Hi,

I have problem with XMPP multi user conference. Some times after exception
all messages in MUC chat seems to be written by MUC room itself (
room@my.company.com). After restart Jitsi I can see who did write the
message.

What i can see in the log file:
     [java] 10:27:04.545 SEVERE: [86]
impl.contactlist.MclStorageManager.protoContactModified().1579 Save after
proto contact modification failed. Contact not found: MetaContact[
DisplayName=room@my.company.com]
     [java] 10:27:04.553 SEVERE: [86]
impl.contactlist.MclStorageManager.protoContactModified().1579 Save after
proto contact modification failed. Contact not found: MetaContact[
DisplayName=room@my.company.com]

I'm running Jitsi in Ubuntu linux 12.04 32-bit. Git pull done today
(10.06.2013), so running from latest code base.

Any help how to get XMPP messages dumped to log file, so I could see what
message is causing the above exception?

Br. Antti Yrjölä


#2

Hello,

···

On 6/10/13 3:08 PM, Antti Yrj�l� wrote:

Hi,

I have problem with XMPP multi user conference. Some times after
exception all messages in MUC chat seems to be written by MUC room
itself (room@my.company.com <mailto:room@my.company.com>). After restart
Jitsi I can see who did write the message.

What i can see in the log file:
      [java] 10:27:04.545 SEVERE: [86]
impl.contactlist.MclStorageManager.protoContactModified().1579 Save
after proto contact modification failed. Contact not found: MetaContact[
DisplayName=room@my.company.com <mailto:room@my.company.com>]
      [java] 10:27:04.553 SEVERE: [86]
impl.contactlist.MclStorageManager.protoContactModified().1579 Save
after proto contact modification failed. Contact not found: MetaContact[
DisplayName=room@my.company.com <mailto:room@my.company.com>]

I'm running Jitsi in Ubuntu linux 12.04 32-bit. Git pull done today
(10.06.2013), so running from latest code base.

Any help how to get XMPP messages dumped to log file, so I could see
what message is causing the above exception?

Unless you have disabled packet logging, you can find a pcap in the jitsi logs directory (.jitsi/log be default) that contains the XMPP traffic.

Regards,
Boris


#3

Hi,

I didn't find .jitsi folder, but found Tools -> Options -> Advanced ->
Logging (I don't know how I missed that first time). Now I think have found
what causes exception in log files. If any of the users in MUC wants to
start private chat with me. And do this in such way that they use my nick
from MUC to start the chat session. I don't get any indication in Jitsi
about this chat and I see exception in log file. And after exception names
in MUC go crazy. In log file I only see those two lines I send before. In
pcap found quite lot xmpp stuff about same time the exception occurs. If my
colleague start private chat in 'normal' way it work just fine, so problem
seem to be in so called MUC private chat. And I know this is not server
issue since I have used this 'MUC private chat' with two different clients
(psi+ and Pidgin).

Any way I could easily add xmpp messages to log file, so I could be sure
what kind of message I get that triggers this problem?

Problem in XMPP messages might be this message (or not)

<message xml:lang="en" id="1428" to="me@company.com/jitsi-15t70c0" from="
room@my.company.com/Joonas"
type="chat"><body>.......</body><thread>jkHAEASoQeaSnAgTYkeyWRxjsWBWDGym</thread><active
xmlns="http://jabber.org/protocol/chatstates" /><x
xmlns="jabber:x:event"><composing/></x></message>

Any help on how to further debug would be helpful

Br. Antti

···

2013/6/10 Boris Grozev <boris@jitsi.org>

Hello,

On 6/10/13 3:08 PM, Antti Yrjölä wrote:

Hi,

I have problem with XMPP multi user conference. Some times after
exception all messages in MUC chat seems to be written by MUC room
itself (room@my.company.com <mailto:room@my.company.com>). After restart

Jitsi I can see who did write the message.

What i can see in the log file:
      [java] 10:27:04.545 SEVERE: [86]
impl.contactlist.**MclStorageManager.**protoContactModified().1579 Save
after proto contact modification failed. Contact not found: MetaContact[
DisplayName=room@my.company.**com <room@my.company.com> <mailto:
room@my.company.com>]

      [java] 10:27:04.553 SEVERE: [86]
impl.contactlist.**MclStorageManager.**protoContactModified().1579 Save
after proto contact modification failed. Contact not found: MetaContact[
DisplayName=room@my.company.**com <room@my.company.com> <mailto:
room@my.company.com>]

I'm running Jitsi in Ubuntu linux 12.04 32-bit. Git pull done today
(10.06.2013), so running from latest code base.

Any help how to get XMPP messages dumped to log file, so I could see
what message is causing the above exception?

Unless you have disabled packet logging, you can find a pcap in the jitsi
logs directory (.jitsi/log be default) that contains the XMPP traffic.

Regards,
Boris