[jitsi-dev] Jitsi doesnt reconnect on Linux


#1

Hello,

After the recent changes in the connection detection Jitsi doesnt always reconnect. And even if i manually set the status to "online" it doesnt reconnect, i have to restart Jitsi. In the previous versions reconnection worked fine with or without network manager and if i set it to "online" it was always working.

I use Debian 32-bit and no NetworkManager (nothing on my desktop and wicd on my laptop).

···

--
O zi buna,

Kertesz Laszlo

Using Opera's revolutionary email client: http://www.opera.com/mail/


#2

Hi,

thanks for the report, I'm currently implementing and option if we
cannot connect to network manager to use the old way of detecting
network changes in order to make it work in situations like yours.
I will inform you when there is something you can test.

Cheers
damencho

···

On Fri, Aug 26, 2011 at 9:08 AM, Kertesz Laszlo <laszlo.kertesz@gmail.com> wrote:

Hello,

After the recent changes in the connection detection Jitsi doesnt always
reconnect. And even if i manually set the status to "online" it doesnt
reconnect, i have to restart Jitsi. In the previous versions reconnection
worked fine with or without network manager and if i set it to "online" it
was always working.

I use Debian 32-bit and no NetworkManager (nothing on my desktop and wicd on
my laptop).

--
O zi buna,

Kertesz Laszlo

Using Opera's revolutionary email client: http://www.opera.com/mail/


#3

Hi Kertesz,

in yesterday build there is a fix that I think will address your issue
with reconnection on Linux.
Can you test it is it working for you.

Thanks
damencho

···

On Fri, Aug 26, 2011 at 10:08 AM, Kertesz Laszlo <laszlo.kertesz@gmail.com> wrote:

Hello,

After the recent changes in the connection detection Jitsi doesnt always
reconnect. And even if i manually set the status to "online" it doesnt
reconnect, i have to restart Jitsi. In the previous versions reconnection
worked fine with or without network manager and if i set it to "online" it
was always working.

I use Debian 32-bit and no NetworkManager (nothing on my desktop and wicd on
my laptop).

--
O zi buna,

Kertesz Laszlo

Using Opera's revolutionary email client: http://www.opera.com/mail/


#4

And on Windows (7, x86) it crashes after returning from standby. (In sysactivitynotifications.dll, see the attached JVM Crash Dumps.)

Ingo

hs_err_pid5644.log (19.2 KB)

hs_err_pid5104.log (20.9 KB)

···

-----Original Message-----
From: damencho@damencho.com [mailto:damencho@damencho.com] On Behalf Of
Damian Minkov
Sent: Freitag, 26. August 2011 11:12
To: dev@jitsi.java.net
Subject: [jitsi-dev] Re: Jitsi doesnt reconnect on Linux
Hi,

thanks for the report, I'm currently implementing and option if we
cannot connect to network manager to use the old way of detecting
network changes in order to make it work in situations like yours.
I will inform you when there is something you can test.

Cheers
damencho

On Fri, Aug 26, 2011 at 9:08 AM, Kertesz Laszlo > <laszlo.kertesz@gmail.com> wrote:

Hello,

After the recent changes in the connection detection Jitsi doesnt
always reconnect. And even if i manually set the status to "online" it
doesnt reconnect, i have to restart Jitsi. In the previous versions
reconnection worked fine with or without network manager and if i set
it to "online" it was always working.

I use Debian 32-bit and no NetworkManager (nothing on my desktop and
wicd on my laptop).

--
O zi buna,

Kertesz Laszlo

Using Opera's revolutionary email client: http://www.opera.com/mail/


#5

It seems to be working well now. Thanks.

···

On Sat, 03 Sep 2011 09:09:16 +0300, Damian Minkov <damencho@jitsi.org> wrote:

Hi Kertesz,

in yesterday build there is a fix that I think will address your issue
with reconnection on Linux.
Can you test it is it working for you.

Thanks
damencho

On Fri, Aug 26, 2011 at 10:08 AM, Kertesz Laszlo > <laszlo.kertesz@gmail.com> wrote:

Hello,

After the recent changes in the connection detection Jitsi doesnt always
reconnect. And even if i manually set the status to "online" it doesnt
reconnect, i have to restart Jitsi. In the previous versions reconnection
worked fine with or without network manager and if i set it to "online" it
was always working.

I use Debian 32-bit and no NetworkManager (nothing on my desktop and wicd on
my laptop).

--
O zi buna,

Kertesz Laszlo

Using Opera's revolutionary email client: http://www.opera.com/mail/

--
O zi buna,

Kertesz Laszlo

Using Opera's revolutionary email client: http://www.opera.com/mail/


#6

Hi,

I'm looking at it

Thanks
damencho

···

On Fri, Aug 26, 2011 at 8:41 PM, Bauersachs Ingo <ingo.bauersachs@fhnw.ch> wrote:

And on Windows (7, x86) it crashes after returning from standby. (In sysactivitynotifications.dll, see the attached JVM Crash Dumps.)

Ingo

-----Original Message-----
From: damencho@damencho.com [mailto:damencho@damencho.com] On Behalf Of
Damian Minkov
Sent: Freitag, 26. August 2011 11:12
To: dev@jitsi.java.net
Subject: [jitsi-dev] Re: Jitsi doesnt reconnect on Linux
Hi,

thanks for the report, I'm currently implementing and option if we
cannot connect to network manager to use the old way of detecting
network changes in order to make it work in situations like yours.
I will inform you when there is something you can test.

Cheers
damencho

On Fri, Aug 26, 2011 at 9:08 AM, Kertesz Laszlo >> <laszlo.kertesz@gmail.com> wrote:

Hello,

After the recent changes in the connection detection Jitsi doesnt
always reconnect. And even if i manually set the status to "online" it
doesnt reconnect, i have to restart Jitsi. In the previous versions
reconnection worked fine with or without network manager and if i set
it to "online" it was always working.

I use Debian 32-bit and no NetworkManager (nothing on my desktop and
wicd on my laptop).

--
O zi buna,

Kertesz Laszlo

Using Opera's revolutionary email client: http://www.opera.com/mail/


#7

Hi,

I've just committed a fix for the crash that was reported on windows
x86. Its latest svn revision or it will be jitsi build 3642.
Can you test and see if everything is ok now?

Thanks
damencho

···

On Fri, Aug 26, 2011 at 11:03 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

I'm looking at it

Thanks
damencho

On Fri, Aug 26, 2011 at 8:41 PM, Bauersachs Ingo > <ingo.bauersachs@fhnw.ch> wrote:

And on Windows (7, x86) it crashes after returning from standby. (In sysactivitynotifications.dll, see the attached JVM Crash Dumps.)

Ingo

-----Original Message-----
From: damencho@damencho.com [mailto:damencho@damencho.com] On Behalf Of
Damian Minkov
Sent: Freitag, 26. August 2011 11:12
To: dev@jitsi.java.net
Subject: [jitsi-dev] Re: Jitsi doesnt reconnect on Linux
Hi,

thanks for the report, I'm currently implementing and option if we
cannot connect to network manager to use the old way of detecting
network changes in order to make it work in situations like yours.
I will inform you when there is something you can test.

Cheers
damencho

On Fri, Aug 26, 2011 at 9:08 AM, Kertesz Laszlo >>> <laszlo.kertesz@gmail.com> wrote:

Hello,

After the recent changes in the connection detection Jitsi doesnt
always reconnect. And even if i manually set the status to "online" it
doesnt reconnect, i have to restart Jitsi. In the previous versions
reconnection worked fine with or without network manager and if i set
it to "online" it was always working.

I use Debian 32-bit and no NetworkManager (nothing on my desktop and
wicd on my laptop).

--
O zi buna,

Kertesz Laszlo

Using Opera's revolutionary email client: http://www.opera.com/mail/


#8

Hey

I've just committed a fix for the crash that was reported on windows
x86. Its latest svn revision or it will be jitsi build 3642.
Can you test and see if everything is ok now?

No more crashes on connecting/disconnecting VPNs, entering standby. Thanks!

But: after disconnecting the VPN Jitsi says "Network connection lost" and sets all accounts to offline. Of course, we detect a ifDown message, but that is only the VPN. LAN and WLAN are still connected, so this shouldn't cause a disconnect. Same goes for moving from LAN to WLAN and vice versa.

(Not that important though)

Ingo


#9

На 29.08.11 15:30, Bauersachs Ingo написа:

Hey

I've just committed a fix for the crash that was reported on
windows x86. Its latest svn revision or it will be jitsi build
3642. Can you test and see if everything is ok now?

No more crashes on connecting/disconnecting VPNs, entering standby.
Thanks!

But: after disconnecting the VPN Jitsi says "Network connection lost"
and sets all accounts to offline. Of course, we detect a ifDown
message, but that is only the VPN. LAN and WLAN are still connected,
so this shouldn't cause a disconnect. Same goes for moving from LAN
to WLAN and vice versa.

Indeed, we should only do this for accounts connected through the
interface that went down. However, determining what interface is being
used by a specific account would be quite tricky and often quite
unreliable. Keeping that in mind, any improvement ideas are most welcome
(and I do mean it, because I absolutely agree that a disconnect for an
VPN ifdown can be quite annoying).

Cheers,
Emil


#10

Indeed, we should only do this for accounts connected through the
interface that went down. However, determining what interface is being
used by a specific account would be quite tricky and often quite
unreliable. Keeping that in mind, any improvement ideas are most welcome
(and I do mean it, because I absolutely agree that a disconnect for an
VPN ifdown can be quite annoying).

Hmm.. the first thing that comes to my mind:
- Inform each protocol service that a network change occurred
- The protocol service sends a "ping" (whatever that means for the specific protocol, e.g. a SIP OPTIONS that we do anyway for keep-alives) to the server
-- if a reply is received the connection manager stops processing this account
-- if no reply is received, the connection manager (or the protocol itself) sets the state to disconnected
- If there are "self-disconnected" accounts and at least one active connection, reconnect after some delay (and increase the delay if the connect failed)

Ingo