Detect disconnects (Psi+ v0.16-dev-20130321)

160 views
Skip to first unread message

GDR!

unread,
Mar 23, 2013, 6:49:08 AM3/23/13
to psi-...@googlegroups.com
Hi,

I'm often connecting to VPNs when working and Psi doesn't notice that it's disconnected from the server.

It looks like this:
- I'm connected to an XMPP account
- I connect to a VPN
- Psi shows that the connection is still active (yellow star)
- I'm not able to receive messages when someone writes to me
- I'm able to send messages but they never reach the server or recipient 

The situation would be OK within a few minutes after connecting but it can last for many hours when I'm unaware that I'm not able to receive messages even though Psi shows me it's connected.

Is there some setting I can enable so Psi xmpp-pings the server  to see if it's still connected and reconnect if necessary? Or something similar that would help me solve this problem?

-- 
GDR!

GDR!

unread,
Mar 23, 2013, 6:54:15 AM3/23/13
to psi-...@googlegroups.com
I should probably mention one more thing: I have to go offline and online again. Not even changing status makes Psi notice it's disconnected - it happily changes status to Away without any errors.

Jupp@Gmail

unread,
Mar 24, 2013, 10:56:40 PM3/24/13
to psi-...@googlegroups.com
Hello,

On Sat, Mar 23, 2013 at 6:49 PM, GDR! <gje...@gmail.com> wrote:
Is there some setting I can enable so Psi xmpp-pings the server  to see if it's still connected and reconnect if necessary? Or something similar that would help me solve this problem?

 

There is.
Navigate from menu: General->Account Setup->Modify->Connection
Option box to tick : Send 'keep-alive' packets (to prevent timeouts)

Justin Karneges

unread,
Mar 25, 2013, 12:11:50 AM3/25/13
to psi-...@googlegroups.com

This is enabled by default, and it is dependent on the operating system's TCP timeout which is usually something like 20 minutes.

 

It should definitely not take hours to timeout, unless something fishy is going on with the OS or VPN.

 

Justin

GDR!

unread,
Mar 25, 2013, 4:03:45 PM3/25/13
to psi-...@googlegroups.com
>> There is.
>
>> Navigate from menu: General->Account Setup->Modify->Connection
>
>> Option box to tick : Send 'keep-alive' packets (to prevent timeouts)
>
>
>
> This is enabled by default, and it is dependent on the operating system's
> TCP timeout which is usually something like 20 minutes.
>
>
>
> It should definitely not take hours to timeout, unless something fishy is
> going on with the OS or VPN.

I have that option enabled.

Everything else works good. Thunderbird shows new IMAP PUSH emails
almost immediately after enabling the VPN. It's just Psi that doesn't
work.

Petr Gregor

unread,
Mar 27, 2013, 7:29:08 AM3/27/13
to psi-...@googlegroups.com
I have the same issue. After changing network psi just hangs there...doesn't reconnect.

My version: Psi+ v0.16.105 (2013-03-17)
> --
> You received this message because you are subscribed to the Google Groups "Psi-Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to psi-users+...@googlegroups.com.
> To post to this group, send email to psi-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/psi-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

GDR!

unread,
Apr 4, 2013, 8:59:48 AM4/4/13
to psi-...@googlegroups.com
Any ideas how we can gather debug data for developers?

Rion

unread,
Apr 5, 2013, 12:59:29 AM4/5/13
to psi-...@googlegroups.com
probably QNetworkSession may be somehow useful for detecting disconnects.


2013/4/4 GDR! <gje...@gmail.com>
Any ideas how we can gather debug data for developers?

henri leroy

unread,
May 12, 2013, 1:01:02 PM5/12/13
to psi-...@googlegroups.com
bonjour je recherche harcker pour prendre des cc vbv avec lui si possible merci de mettre en contact

alba...@ubuntu-jabber.de

henri leroy

unread,
May 12, 2013, 1:02:06 PM5/12/13
to psi-...@googlegroups.com
merci de me donner un forum pour Harcker
  
alba...@ubuntu-jabber.de
Reply all
Reply to author
Forward
0 new messages