[jitsi-users] IRC behaves oddly on SSL server


#1

It seems to be unpredictable, to make things worse. Sometimes I do get
messages from a chatroom that I've joined, and although my messages are
ALWAYS invisible (ie. I type them and they don't appear in the chat), I
do receive replies so evidently the message gets through. Other times,
I don't get anything in the chatroom and my messages don't get through.

Here is something maybe suspicious in the log; can increase the logging
and send more if it doesn't help:

15:04:54.343 SEVERE: [289]
com.ircclouds.irc.api.AbstractMessageReader.readMessage() Error from the
OM layer
com.ircclouds.irc.api.om.IRCOMException:
java.lang.ArrayIndexOutOfBoundsException: 1
    at
com.ircclouds.irc.api.om.AbstractMessageFactory.build(AbstractMessageFactory.java:138)
    at
com.ircclouds.irc.api.AbstractMessageReader.readMessage(AbstractMessageReader.java:64)
    at
com.ircclouds.irc.api.AbstractApiDaemon.run(AbstractApiDaemon.java:32)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at com.ircclouds.irc.api.utils.ParseUtils.getUser(ParseUtils.java:32)
    at
com.ircclouds.irc.api.om.AbstractPrivateMessageBuilder.build(AbstractPrivateMessageBuilder.java:20)
    at
com.ircclouds.irc.api.om.AbstractMessageFactory.build(AbstractMessageFactory.java:90)
    ... 2 more

···

On Thu Feb 19 21:00:59 CET 2015, Danny van Heumen wrote:

So if I understand correctly, then any interaction with(in) a chat room
fails?

--
Jeremy Malcolm PhD LLB (Hons) B Com
Internet lawyer, ICT policy advocate, geek
echo "9EEAi^^;6C6]>J^=^>6"|tr '\!-~' 'P-~\!-O'|wget -q -i - -O -


#2

Hi Jeremy,

I might have a clue what causes the error below. I would be very
interested in the log files though, because I suspect that this might be
a side effect of a particular sort of server reply that we don't
currently support completely, or maybe not at all.

I'd like some clarification on the chatroom issue: Can you check which
characteristics are available/visible and which aren't?

1. Other users in the chatroom
2. The chatroom topic title/subject
3. Chatroom messages from other users
4. Chatroom events such as joining or leaving users

If you enable the extended logging as I described in an earlier email,
then you should also find log events that tell you when you start and
finish the chatroom joining process. I would be interested to know if
that process actually finishes, or whether you might be left hanging "in
the middle" of it. If so, that might explain this behaviour.

Kind regards,
Danny

PS: You can also send the log files directly to me, in case you do not
want to send them to a public mailing list.

···

On 02/21/2015 12:17 AM, Jeremy Malcolm wrote:

On Thu Feb 19 21:00:59 CET 2015, Danny van Heumen wrote:

So if I understand correctly, then any interaction with(in) a chat room
fails?

It seems to be unpredictable, to make things worse. Sometimes I do
get messages from a chatroom that I've joined, and although my
messages are ALWAYS invisible (ie. I type them and they don't appear
in the chat), I do receive replies so evidently the message gets
through. Other times, I don't get anything in the chatroom and my
messages don't get through.

Here is something maybe suspicious in the log; can increase the
logging and send more if it doesn't help:

15:04:54.343 SEVERE: [289]
com.ircclouds.irc.api.AbstractMessageReader.readMessage() Error from
the OM layer
com.ircclouds.irc.api.om.IRCOMException:
java.lang.ArrayIndexOutOfBoundsException: 1
    at
com.ircclouds.irc.api.om.AbstractMessageFactory.build(AbstractMessageFactory.java:138)
    at
com.ircclouds.irc.api.AbstractMessageReader.readMessage(AbstractMessageReader.java:64)
    at
com.ircclouds.irc.api.AbstractApiDaemon.run(AbstractApiDaemon.java:32)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at com.ircclouds.irc.api.utils.ParseUtils.getUser(ParseUtils.java:32)
    at
com.ircclouds.irc.api.om.AbstractPrivateMessageBuilder.build(AbstractPrivateMessageBuilder.java:20)
    at
com.ircclouds.irc.api.om.AbstractMessageFactory.build(AbstractMessageFactory.java:90)
    ... 2 more

--
Jeremy Malcolm PhD LLB (Hons) B Com
Internet lawyer, ICT policy advocate, geek
echo "9EEAi^^;6C6]>J^=^>6"|tr '\!-~' 'P-~\!-O'|wget -q -i - -O -

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

I'd like some clarification on the chatroom issue: Can you check which
characteristics are available/visible and which aren't?
1. Other users in the chatroom
2. The chatroom topic title/subject
3. Chatroom messages from other users
4. Chatroom events such as joining or leaving users

All are invisible, as too are the message that I myself type, except
mysteriously those DO go through to other users. Additionally, in the
Jitsi window the chat rooms show as offline (grey icon rather than green
icon), however when I right-click on them they give me the "Leave"
option and not the "Join" option. When I double click on them to open a
chat window, the icon in the chat window is green although the one in
the contact window remains grey. Talk about mixed messages!

If you enable the extended logging as I described in an earlier email,

That doesn't seem to have worked. There is no "
net.java.sip.communicator.impl.protocol.irc.level" entry in the file
that you mentioned. Adding it and restarting doesn't produce any
logging of IRC commands in the logfile.

Also, on a totally unrelated point, do we have a way to specify a
separate conference server (different from the login server) when
joining Jabber chat groups?

Thanks!

···

On 20/02/2015 3:32 pm, Danny van Heumen wrote:

--
Jeremy Malcolm PhD LLB (Hons) B Com
Internet lawyer, ICT policy advocate, geek
echo "9EEAi^^;6C6]>J^=^>6"|tr '\!-~' 'P-~\!-O'|wget -q -i - -O -


#4

Hi Jeremy,

I'm sorry for not having responded to your questions yet.
I'm currently wrapped up in some OTR issue and will get back to you on
this soon.

Kind regards,
Danny

···

On 24-02-15 01:00, Jeremy Malcolm wrote:

On 20/02/2015 3:32 pm, Danny van Heumen wrote:

I'd like some clarification on the chatroom issue: Can you check
which characteristics are available/visible and which aren't?
1. Other users in the chatroom
2. The chatroom topic title/subject
3. Chatroom messages from other users
4. Chatroom events such as joining or leaving users

All are invisible, as too are the message that I myself type, except
mysteriously those DO go through to other users. Additionally, in the
Jitsi window the chat rooms show as offline (grey icon rather than
green icon), however when I right-click on them they give me the
"Leave" option and not the "Join" option. When I double click on them
to open a chat window, the icon in the chat window is green although
the one in the contact window remains grey. Talk about mixed messages!

If you enable the extended logging as I described in an earlier email,

That doesn't seem to have worked. There is no "
net.java.sip.communicator.impl.protocol.irc.level" entry in the file
that you mentioned. Adding it and restarting doesn't produce any
logging of IRC commands in the logfile.

Also, on a totally unrelated point, do we have a way to specify a
separate conference server (different from the login server) when
joining Jabber chat groups?

Thanks!

--
Jeremy Malcolm PhD LLB (Hons) B Com
Internet lawyer, ICT policy advocate, geek
echo "9EEAi^^;6C6]>J^=^>6"|tr '\!-~' 'P-~\!-O'|wget -q -i - -O -

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#5
···

Hi Jeremy,

  Sorry for taking so long to respond. I hadn't forgotten about your issue, however there's been a lot of backlog, so ... well you get the point.

  A quick update on this: This is partially a bug in the IRC client library (I think) and partially a bug in Jitsi.

  In the core, we expected a message with a full user id, so <nick>!<user>@<host> and we don't get it. That causes an error.

  The weird behaviour - with a chat room that you could not join while you still receive messages from it - is due to the issue above. It (most likely) cannot finish it's chat room join procedure because of the above error. Apparently, the IRC client library was sufficiently far in the channel join process that you will receive messages, only Jitsi doesn't know that.

  I have created issue for this and I'll see if I can make the Jitsi support more robust against unexpected errors during the chat room join procedure. If necessary, I may follow up with some more detailed instructions on how to enable logging. I first need to check where an installed Jitsi package actually puts the logging configuration. Kind regards, Danny On 24-02-15 01:00, Jeremy Malcolm wrote:

https://github.com/migzai/irc-api/issues/24

On 20/02/2015 3:32 pm, Danny van Heumen wrote:

    4. Chatroom events such as joining or leaving users
  All are invisible, as too are the message that I myself type, except mysteriously those DO go through to other users.  Additionally, in the Jitsi window the chat rooms show as offline (grey icon rather than green icon), however when I right-click on them they give me the "Leave" option and not the "Join" option.  When I double click on them to open a chat window, the icon in the chat window is green although the one in the contact window remains grey.  Talk about mixed messages!




  That doesn't seem to have worked.  There is no " net.java.sip.communicator.impl.protocol.irc.level" entry in the file that you mentioned.  Adding it and restarting doesn't produce any logging of IRC commands in the logfile.



  Also, on a totally unrelated point, do we have a way to specify a separate conference server (different from the login server) when joining Jabber chat groups?



  Thanks!
      I'd like some clarification on the chatroom issue: Can you check which characteristics are available/visible and which aren't?
  1. Other users in the chatroom

       2. The chatroom topic title/subject
    
       3. Chatroom messages from other users
    
       If you enable the extended logging as I described in an earlier email,
    
-- Jeremy Malcolm PhD LLB (Hons) B Com Internet lawyer, ICT policy advocate, geek echo "9EEAi^^;6C6]>J^=^>6"|tr '\!-~' 'P-~\!-O'|wget -q -i - -O -

_______________________________________________ users mailing list Unsubscribe instructions and other list options:

users@jitsi.orghttp://lists.jitsi.org/mailman/listinfo/users