Menu

GAIM repeatedly disconnects from Google Talk

2007-01-17
2013-01-14
  • Fred Ferrigno

    Fred Ferrigno - 2007-01-17

    I'm using GAIM to connect to Google Talk through Jabber, and it works pretty well, except I get disconnected about once every two minutes. Has anyone else had this problem? Should I report it as a bug?

    This is the printout from my debug log:

    (20:32:55) account: Disconnecting account 00CC86B0
    (20:32:55) connection: Disconnecting connection 031C7F98
    (20:32:55) connection: Deactivating keepalive.
    (20:32:55) connection: Destroying connection 031C7F98
    (20:33:00) util: Writing file blist.xml to directory C:\Documents and Settings\<<windows logon>>\Application Data\.gaim
    (20:33:00) util: Writing file accounts.xml to directory C:\Documents and Settings\<<windows logon>>\Application Data\.gaim
    (20:33:10) autorecon: do_signon called
    (20:33:10) autorecon: calling gaim_account_connect
    (20:33:10) account: Connecting to account <<gtalk address>>@gmail.com/Gaim

    almost exactly 2 minutes later:

    (20:35:11) account: Disconnecting account 00CC86B0
    (20:35:11) connection: Disconnecting connection 031E2378
    (20:35:11) connection: Deactivating keepalive.
    (20:35:11) connection: Destroying connection 031E2378
    (20:35:16) util: Writing file blist.xml to directory C:\Documents and Settings\<<windows logon>>\Application Data\.gaim
    (20:35:16) util: Writing file accounts.xml to directory C:\Documents and Settings\<<windows logon>>\Application Data\.gaim
    (20:36:05) autorecon: do_signon called
    (20:36:05) autorecon: calling gaim_account_connect
    (20:36:05) account: Connecting to account <<gtalk address>>@gmail.com/Gaim

    Before the "Disconnecting account" line, it's just standard back-and-forth communication with the occaisional disk write, with no indication that I'm going to be disconnected. It doesn't seem to have anything to do with how active I am. This on 2.0b5 under Windows XP, BTW.

     
    • Fred Ferrigno

      Fred Ferrigno - 2007-01-17

      After some more research, I believe this stems from the keepalive "ping" GAIM is using. I traced the communication with Ethereal (Wireshark) and found GAIM sends packets every 30 seconds, whether I'm talking or not. Google replies with an ACK to the first four, but on the fifth (150s after connecting) it responds with a RST.

      Is 30s the proper interval for the keepalive? Perhaps Google is disconnecting me for flooding?

       
    • Sean Egan

      Sean Egan - 2007-01-17

      You aren't getting disconnected as a result of the keepalive, the keepalive is just what realizes you're disconnected (which is why we have them). This happens only with Google Talk, and always within 90 seconds to two minutes?

       
    • Fred Ferrigno

      Fred Ferrigno - 2007-01-28

      I've since tried it with Google's own client and had the same problems. It would seem this has little to do with GAIM but it's still very annoying.

       
    • eapjvi

      eapjvi - 2007-01-28

      Intersting. When I am forced to use Trillian I have this exact same issue--all the time--but I have never once experienced it using Gaim. If you are having problems with the Google Talk client as well I'm more confused than ever. :)