[sip-comm-dev] Automatic reconnection in build 2646 Linux doesnt work


#1

Hello,

I saw that there was an automatic reconnection mechanism implemented in Sip Communicator.
First of all, is it active in the Linux builds?

I tried the 2646 build on Debian Squeeze - i disconnected the VPN i use from home for my SIP and Jabber accounts on servers out internal network (there are no means to connect from outside to these accounts).

The Sip contacts dissapeared but the SIP and the Jabber accounts were "on".

The Jabber contacts stayed visible (and some online) as if i were connected still - the account and contacts finally got offline after a few minutes. But the last online contacts still remained on the list in offline state regardless that i set "hide offline contacts" (after toggling hide/unhide these contacts dissapeared).

After that a popup window said that "The Jabber server requested your authentication" asking for the Jabber password - It is not possible since the VPN is down and the server is not reachable from outside.

The SIP account stayed "on" - maybe waits for the 3600 s timeout or something? In older builds it got offline pretty quick after connection loss.
I tried to call a number via SIP and the call window just hang there at "connecting". It did not "fail" as it should have.

I reconnected the VPN and nothing happened. No accounts reconnected automatically. I reconnected manually the Jabber account - the contacts appeared, it was ok.
But the SIP contacts dissapeared from the list altogether - they were not even in the offline list - i disconnected and reconnected manually the SIP account but the contacts never came back, only after i restarted Sip Communicator.

The only real change i saw is that the annoying focus-grabbing notifications are gone - although some notifications should tell the user that a certain account is disconnected - maybe a systray popup or a toaster (the bottom right one) popup?

Regards,

Kertesz Laszlo

···

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hi,

Hello,

I saw that there was an automatic reconnection mechanism implemented in Sip
Communicator.
First of all, is it active in the Linux builds?

I tried the 2646 build on Debian Squeeze - i disconnected the VPN i use from
home for my SIP and Jabber accounts on servers out internal network (there
are no means to connect from outside to these accounts).

The Sip contacts dissapeared but the SIP and the Jabber accounts were "on".

The Jabber contacts stayed visible (and some online) as if i were connected
still - the account and contacts finally got offline after a few minutes.
But the last online contacts still remained on the list in offline state
regardless that i set "hide offline contacts" (after toggling hide/unhide
these contacts dissapeared).

After that a popup window said that "The Jabber server requested your
authentication" asking for the Jabber password - It is not possible since
the VPN is down and the server is not reachable from outside.

Does this mean you don't have saved password for jabber account or
something happened and it asks you for password?

The SIP account stayed "on" - maybe waits for the 3600 s timeout or
something? In older builds it got offline pretty quick after connection
loss.
I tried to call a number via SIP and the call window just hang there at
"connecting". It did not "fail" as it should have.

I'll check again how sip accounts behaves with reconnect I think I
also spotted a problem yesterday.

I reconnected the VPN and nothing happened. No accounts reconnected
automatically. I reconnected manually the Jabber account - the contacts
appeared, it was ok.

Did you wait after the connection come again? It may take time before
it actually reconnects, as I described in my previous mail it can take
more then 35 seconds.

But the SIP contacts dissapeared from the list altogether - they were not
even in the offline list - i disconnected and reconnected manually the SIP
account but the contacts never came back, only after i restarted Sip
Communicator.

They are still some issues with the gui, which we are currently
fixing, which cause this things to happen.

The only real change i saw is that the annoying focus-grabbing notifications
are gone - although some notifications should tell the user that a certain
account is disconnected - maybe a systray popup or a toaster (the bottom
right one) popup?

Thanks for the report
damencho

···

On Wed, May 19, 2010 at 8:22 AM, Kertesz Laszlo <laszlo.kertesz@gmail.com> wrote:

Regards,

Kertesz Laszlo

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi,

Hello,

I saw that there was an automatic reconnection mechanism implemented in Sip
Communicator.
First of all, is it active in the Linux builds?

I tried the 2646 build on Debian Squeeze - i disconnected the VPN i use from
home for my SIP and Jabber accounts on servers out internal network (there
are no means to connect from outside to these accounts).

The Sip contacts dissapeared but the SIP and the Jabber accounts were "on".

The Jabber contacts stayed visible (and some online) as if i were connected
still - the account and contacts finally got offline after a few minutes.
But the last online contacts still remained on the list in offline state
regardless that i set "hide offline contacts" (after toggling hide/unhide
these contacts dissapeared).

After that a popup window said that "The Jabber server requested your
authentication" asking for the Jabber password - It is not possible since
the VPN is down and the server is not reachable from outside.

Does this mean you don't have saved password for jabber account or
something happened and it asks you for password?

I had my password saved. That and the fact that there was no way to communicate with the server makes this interesting.

The SIP account stayed "on" - maybe waits for the 3600 s timeout or
something? In older builds it got offline pretty quick after connection
loss.
I tried to call a number via SIP and the call window just hang there at
"connecting". It did not "fail" as it should have.

I'll check again how sip accounts behaves with reconnect I think I
also spotted a problem yesterday.

I reconnected the VPN and nothing happened. No accounts reconnected
automatically. I reconnected manually the Jabber account - the contacts
appeared, it was ok.

Did you wait after the connection come again? It may take time before
it actually reconnects, as I described in my previous mail it can take
more then 35 seconds.

I waited a few minutes (~3-5)

···

On Wed, 19 May 2010 10:23:24 +0300, Damian Minkov <damencho@sip-communicator.org> wrote:

On Wed, May 19, 2010 at 8:22 AM, Kertesz Laszlo > <laszlo.kertesz@gmail.com> wrote:

But the SIP contacts dissapeared from the list altogether - they were not
even in the offline list - i disconnected and reconnected manually the SIP
account but the contacts never came back, only after i restarted Sip
Communicator.

They are still some issues with the gui, which we are currently
fixing, which cause this things to happen

The only real change i saw is that the annoying focus-grabbing notifications
are gone - although some notifications should tell the user that a certain
account is disconnected - maybe a systray popup or a toaster (the bottom
right one) popup?

Thanks for the report
damencho

Regards,

Kertesz Laszlo

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

Hi again,

In my previous test i disconnected only the VPN (tap0 device) - now i made another test from the internal network - i brought down eth0 (the only network interface on my work desktop) and Sip Communicator notified me that the network is down.

But after re-anabling the networking (and waiting a few minutes in which time i was asked for my Gtalk accounts password BEFORE i set back up the default route), although in the account list the accounts were online, no contacts were visibe on the contact list (set to hide offline contacts) - toggling hide/unhide offline contacts didnt help.
I was able to make calls from the SIP account, so i assume the accounts did come online but the gui list had some problems actually showing them.
It would be nice to see when and what accounts come online or offline via the toaster popup that already gives notifications of network status.
Also, the behavior of Sip Communicator was not the same in the 2 cases - in the case when networking was disabled it promptly notified and disconnected the accounts, but in the other case when only a part of the network was down it did not notify and the corresponding accounts were not disabled instantly. I would recommend adjusting/checking the behaviour for this kind of scenario of the reconnecting mechanism.

Regards,

Kertesz Laszlo

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

Hi,

sorry just one more question, what java you use to run sip-communicator ?

Thanks
damencho

···

On Wed, May 19, 2010 at 10:35 AM, Kertesz Laszlo <laszlo.kertesz@gmail.com> wrote:

On Wed, 19 May 2010 10:23:24 +0300, Damian Minkov > <damencho@sip-communicator.org> wrote:

Hi,

On Wed, May 19, 2010 at 8:22 AM, Kertesz Laszlo >> <laszlo.kertesz@gmail.com> wrote:

Hello,

I saw that there was an automatic reconnection mechanism implemented in
Sip
Communicator.
First of all, is it active in the Linux builds?

I tried the 2646 build on Debian Squeeze - i disconnected the VPN i use
from
home for my SIP and Jabber accounts on servers out internal network
(there
are no means to connect from outside to these accounts).

The Sip contacts dissapeared but the SIP and the Jabber accounts were
"on".

The Jabber contacts stayed visible (and some online) as if i were
connected
still - the account and contacts finally got offline after a few minutes.
But the last online contacts still remained on the list in offline state
regardless that i set "hide offline contacts" (after toggling hide/unhide
these contacts dissapeared).

After that a popup window said that "The Jabber server requested your
authentication" asking for the Jabber password - It is not possible since
the VPN is down and the server is not reachable from outside.

Does this mean you don't have saved password for jabber account or
something happened and it asks you for password?

I had my password saved. That and the fact that there was no way to
communicate with the server makes this interesting.

The SIP account stayed "on" - maybe waits for the 3600 s timeout or
something? In older builds it got offline pretty quick after connection
loss.
I tried to call a number via SIP and the call window just hang there at
"connecting". It did not "fail" as it should have.

I'll check again how sip accounts behaves with reconnect I think I
also spotted a problem yesterday.

I reconnected the VPN and nothing happened. No accounts reconnected
automatically. I reconnected manually the Jabber account - the contacts
appeared, it was ok.

Did you wait after the connection come again? It may take time before
it actually reconnects, as I described in my previous mail it can take
more then 35 seconds.

I waited a few minutes (~3-5)

But the SIP contacts dissapeared from the list altogether - they were not
even in the offline list - i disconnected and reconnected manually the
SIP
account but the contacts never came back, only after i restarted Sip
Communicator.

They are still some issues with the gui, which we are currently
fixing, which cause this things to happen

The only real change i saw is that the annoying focus-grabbing
notifications
are gone - although some notifications should tell the user that a
certain
account is disconnected - maybe a systray popup or a toaster (the bottom
right one) popup?

Thanks for the report
damencho

Regards,

Kertesz Laszlo

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#6

Hi again,

actually the behaviour you described is considered and implemented.
But I test it with wired and wireless connection. For example I got
turned on wired and wireless connection(like you have eth0 and tap0)
and I run with a jabber account online. Then I disconnect one of those
interfaces and the jabber account goes offline and schedules a
reconnection, cause there is still one connection up.
I will try testing now with a vpn connection, cause this seems to me
the trouble in your scenario.

Thanks
damencho

···

On Wed, May 19, 2010 at 11:09 AM, Kertesz Laszlo <laszlo.kertesz@gmail.com> wrote:

Hi again,

In my previous test i disconnected only the VPN (tap0 device) - now i made
another test from the internal network - i brought down eth0 (the only
network interface on my work desktop) and Sip Communicator notified me that
the network is down.

But after re-anabling the networking (and waiting a few minutes in which
time i was asked for my Gtalk accounts password BEFORE i set back up the
default route), although in the account list the accounts were online, no
contacts were visibe on the contact list (set to hide offline contacts) -
toggling hide/unhide offline contacts didnt help.
I was able to make calls from the SIP account, so i assume the accounts did
come online but the gui list had some problems actually showing them.
It would be nice to see when and what accounts come online or offline via
the toaster popup that already gives notifications of network status.
Also, the behavior of Sip Communicator was not the same in the 2 cases - in
the case when networking was disabled it promptly notified and disconnected
the accounts, but in the other case when only a part of the network was down
it did not notify and the corresponding accounts were not disabled
instantly. I would recommend adjusting/checking the behaviour for this kind
of scenario of the reconnecting mechanism.

Regards,

Kertesz Laszlo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#7

The automatic reconnections works in 2647. The contacts appear back in a few seconds.
I tested it with the computer with 1 network interface.

BTW i use Java 1.6.20 from the Debian Squeeze repos:

java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)

Regards,

Kertesz Laszlo

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

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#8

Hi,

I tested build 2650 on my home desktop. Here i have a VPN connection to my work network on tap0 and the eth0 is the main interface.
I have 4 accounts - 1 Yahoo, 1 GTalk, 1 SIP and 1 Jabber (the SIP and Jabber works only through the VPN interface).
If i disconnected the VPN, only the Yahoo account logged out and then back in (naturally this wasnt supposed to happen).
Exactly the same happened if i brought down the eth0 interface - in both cases the other accounts remained "online" for a few minutes.

Regards,

Kertesz Laszlo

···

On Wed, 19 May 2010 11:25:43 +0300, Damian Minkov <damencho@sip-communicator.org> wrote:

Hi again,

actually the behaviour you described is considered and implemented.
But I test it with wired and wireless connection. For example I got
turned on wired and wireless connection(like you have eth0 and tap0)
and I run with a jabber account online. Then I disconnect one of those
interfaces and the jabber account goes offline and schedules a
reconnection, cause there is still one connection up.
I will try testing now with a vpn connection, cause this seems to me
the trouble in your scenario.

Thanks
damencho

On Wed, May 19, 2010 at 11:09 AM, Kertesz Laszlo > <laszlo.kertesz@gmail.com> wrote:

Hi again,

In my previous test i disconnected only the VPN (tap0 device) - now i made
another test from the internal network - i brought down eth0 (the only
network interface on my work desktop) and Sip Communicator notified me that
the network is down.

But after re-anabling the networking (and waiting a few minutes in which
time i was asked for my Gtalk accounts password BEFORE i set back up the
default route), although in the account list the accounts were online, no
contacts were visibe on the contact list (set to hide offline contacts) -
toggling hide/unhide offline contacts didnt help.
I was able to make calls from the SIP account, so i assume the accounts did
come online but the gui list had some problems actually showing them.
It would be nice to see when and what accounts come online or offline via
the toaster popup that already gives notifications of network status.
Also, the behavior of Sip Communicator was not the same in the 2 cases - in
the case when networking was disabled it promptly notified and disconnected
the accounts, but in the other case when only a part of the network was down
it did not notify and the corresponding accounts were not disabled
instantly. I would recommend adjusting/checking the behaviour for this kind
of scenario of the reconnecting mechanism.

Regards,

Kertesz Laszlo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#9

something what happens with ippi account only:

some contacts stay green in my contact list even the other partner went offline.

even after SC-restart the same contact is green again (although still offline) (?)

iptel "behaves" normal

···

--
Mit freundlichen Grüßen
Mr Smith
mailto:mr.smith476@googlemail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#10

Hi,

yesterday I was testing and with vpn connection which was using tun
device and everything works as expected. I have a question about those
tap devices, can you send the output of ifconfig before connecting the
vpn and after it gets connected (if you want send it to private so you
don't reveal any sensitive information:) ). When you disconnected the
vpn and yahoo gets disconnected and then back connected, it is normal
and expected behaviour if the vpn was online when yahoo was connected.
Also If you can send me and the log file will be great.

Thanks
damencho

···

On Wed, May 19, 2010 at 10:16 PM, Kertesz Laszlo <laszlo.kertesz@gmail.com> wrote:

Hi,

I tested build 2650 on my home desktop. Here i have a VPN connection to my
work network on tap0 and the eth0 is the main interface.
I have 4 accounts - 1 Yahoo, 1 GTalk, 1 SIP and 1 Jabber (the SIP and Jabber
works only through the VPN interface).
If i disconnected the VPN, only the Yahoo account logged out and then back
in (naturally this wasnt supposed to happen).
Exactly the same happened if i brought down the eth0 interface - in both
cases the other accounts remained "online" for a few minutes.

Regards,

Kertesz Laszlo

On Wed, 19 May 2010 11:25:43 +0300, Damian Minkov > <damencho@sip-communicator.org> wrote:

Hi again,

actually the behaviour you described is considered and implemented.
But I test it with wired and wireless connection. For example I got
turned on wired and wireless connection(like you have eth0 and tap0)
and I run with a jabber account online. Then I disconnect one of those
interfaces and the jabber account goes offline and schedules a
reconnection, cause there is still one connection up.
I will try testing now with a vpn connection, cause this seems to me
the trouble in your scenario.

Thanks
damencho

On Wed, May 19, 2010 at 11:09 AM, Kertesz Laszlo >> <laszlo.kertesz@gmail.com> wrote:

Hi again,

In my previous test i disconnected only the VPN (tap0 device) - now i
made
another test from the internal network - i brought down eth0 (the only
network interface on my work desktop) and Sip Communicator notified me
that
the network is down.

But after re-anabling the networking (and waiting a few minutes in which
time i was asked for my Gtalk accounts password BEFORE i set back up the
default route), although in the account list the accounts were online, no
contacts were visibe on the contact list (set to hide offline contacts) -
toggling hide/unhide offline contacts didnt help.
I was able to make calls from the SIP account, so i assume the accounts
did
come online but the gui list had some problems actually showing them.
It would be nice to see when and what accounts come online or offline via
the toaster popup that already gives notifications of network status.
Also, the behavior of Sip Communicator was not the same in the 2 cases -
in
the case when networking was disabled it promptly notified and
disconnected
the accounts, but in the other case when only a part of the network was
down
it did not notify and the corresponding accounts were not disabled
instantly. I would recommend adjusting/checking the behaviour for this
kind
of scenario of the reconnecting mechanism.

Regards,

Kertesz Laszlo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net