Gadu gadu broken in SVN version sometime after 6/10/2005

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Locked
ImaSudonim
Muffin
Posts: 33
Joined: Mon May 16, 2005 1:21 am

Gadu gadu broken in SVN version sometime after 6/10/2005

Post by ImaSudonim »

Hi, AdiumX is really nice software. However, sometime after 6/10/2005, gadugadu is not working for me (I use svn version before, last working version 6/10/2005). svn versions after give the following:

(Gadu-Gadu) : Gaim error

Error while reading from socket.

Any idea on how to fix or how to generate log to find problem? Not a gadu-gadu change as the earlier version still works. something broke in recent adium.

Problem happens early on when maybe syncing with gadu gadu, I don't think we are even at login stage yet. Right when adium start up.

Thanks very much!

Ima
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

Well the problem with Gadu-Gadu is that none of the Adium devs speak Polish, and that the libgaim devs probably don’t either. And none (except evands perhaps) use Gadu-Gadu. So no one is aware of bugs or updates in the Gadu-Gadu protocol.
Blog | X(tras)
Communists code without classes.
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

I have a gg account I can test with sometime this week if needed. There is a debug window that may give us more information on this. It's under adium/debug window (I think).

Start your gg connection attempt and paste us what info you get in this thread (make sure no passwords are listed)
User avatar
Newtylicious
Muffin
Posts: 42
Joined: Sun Dec 19, 2004 7:13 pm

Post by Newtylicious »

Wasn't .82 released after 6-10-05? So why haven't we heard about this before? Or is this in the .9 branch?
ImaSudonim
Muffin
Posts: 33
Joined: Mon May 16, 2005 1:21 am

Post by ImaSudonim »

This is with 0.90 svn version.

Thank you!

Adium, Debug Window shows:

Connecting: gc=0x505df50 (Reading server key) 3 / 5
(Libgaim: gg) gg_watch_fd
(Libgaim: gg) ** gg_watch_fd(...);
(Libgaim: gg) == GG_STATE_READING_KEY
(Libgaim: gg) ** gg_recv_packet(...);
(Libgaim: gg) -- header recv(..., 8) = 8
(Libgaim: gg) -- invalid packet length (67108864)
(Libgaim: gg) -- gg_recv_packet() failed. errno = 34 (Result too large)
(Libgaim: gg) checking gg_event
Connection Disconnected: gc=505df50 (Error while reading from socket.)
(Libgaim: gg) Returning from login_callback
(Libgaim: account) Disconnecting account 0x3c30b0
(Libgaim: connection) Disconnecting connection 0x505df50
(Libgaim: gg) ** gg_logoff(...);
Disconnected: gc=505df50
(Libgaim: connection) Destroying connection 0x505df50
5139805 reported disconnecting: Error while reading from socket.
<ESGaimGaduGaduAccount: 0x3b4f00>:1:5139805: Updating status for key: Online
<ESGaimGaduGaduAccount: 0x3b4f00>:1:5139805: Updating status for key: User Icon
Original image of size 64.000000 64.000000
Adium: Connect: 5139805 Connecting with no proxy.
Adium: Connect: 5139805 initiating connection.
Adium: Connect: 5139805 done initiating connection 0.
Gaim thread: <ESGaimGaduGaduAccount: 0x3b4f00>:1:5139805 lookup gave account 3c30b0
(Libgaim: account) Connecting to account 0x3c30b0. gc = 0x357b90
(Libgaim: connection) Connecting. gc = 0x357b90
(Libgaim: connection) Calling serv_login
(Libgaim: server) libgaim 1.2.0 logging in 5139805 using Gadu-Gadu
Connecting: gc=0x357b90 (Looking up GG server) 0 / 5
Gaim thread: gaim_account_connect(3c30b0) gave 357b90 [357b90]
(Libgaim: proxy) Connecting to appmsg.gadu-gadu.pl:80 with no proxy
(Libgaim: proxy) Connect would have blocked.
(Libgaim: proxy) Connected.
(Libgaim: gg) login_callback...
(Libgaim: gg) Found GG connection
(Libgaim: gg) Source is valid.
(Libgaim: gg) login_callback.. checking gc->inpa .. is 0.. setting fd watch
(Libgaim: gg) Adding watch on fd
(Libgaim: gg) Checking State.
(Libgaim: gg) No State found
(Libgaim: gg) gg_watch_fd
(Libgaim: gg) ** gg_watch_fd(...);
(Libgaim: gg) == GG_STATE_CONNECTING
(Libgaim: gg) -- http connection succeded, sending query
(Libgaim: gg) => -----BEGIN-HTTP-QUERY-----
GET /appsvc/appmsg2.asp?fmnumber=5139805&version=6%2c%200%2c%200%2c%20132&lastmsg=0 HTTP/1.0
Host: appmsg.gadu-gadu.pl
User-Agent: Mozilla/4.0 (compatible MSIE 5.0; Windows 98; I)
Pragma: no-cache


=> -----END-HTTP-QUERY-----
(Libgaim: gg) checking gg_event
(Libgaim: gg) Returning from login_callback
(Libgaim: gg) login_callback...
(Libgaim: gg) Found GG connection
(Libgaim: gg) Source is valid.
(Libgaim: gg) Checking State.
Connecting: gc=0x357b90 (Reading data) 1 / 5
(Libgaim: gg) gg_watch_fd
(Libgaim: gg) ** gg_watch_fd(...);
(Libgaim: gg) == GG_STATE_READING_DATA
(Libgaim: gg) ** gg_read_line(...);
(Libgaim: gg) -- got http response (HTTP/1.0 200 OK)
(Libgaim: gg) ** gg_read_line(...);
(Libgaim: gg) ** gg_read_line(...);
(Libgaim: gg) -- received http data (0 217.17.41.85:8074 217.17.41.85)
(Libgaim: gg) checking gg_event
(Libgaim: gg) Returning from login_callback
(Libgaim: proxy) Connecting to 217.17.41.85:8074 with no proxy
(Libgaim: proxy) Connect would have blocked.
(Libgaim: proxy) Connected.
(Libgaim: gg) login_callback...
(Libgaim: gg) Found GG connection
(Libgaim: gg) Source is valid.
(Libgaim: gg) Checking State.
Connecting: gc=0x357b90 (Balancer handshake) 2 / 5
(Libgaim: gg) gg_watch_fd
(Libgaim: gg) ** gg_watch_fd(...);
(Libgaim: gg) == GG_STATE_CONNECTING_GG
(Libgaim: gg) -- connected
(Libgaim: gg) Setting watch on connection with login server.
(Libgaim: gg) checking gg_event
(Libgaim: gg) Returning from login_callback
(Libgaim: gg) login_callback...
(Libgaim: gg) Found GG connection
(Libgaim: gg) Source is valid.
(Libgaim: gg) Checking State.
Connecting: gc=0x357b90 (Reading server key) 3 / 5
(Libgaim: gg) gg_watch_fd
(Libgaim: gg) ** gg_watch_fd(...);
(Libgaim: gg) == GG_STATE_READING_KEY
(Libgaim: gg) ** gg_recv_packet(...);
(Libgaim: gg) -- header recv(..., 8) = 8
(Libgaim: gg) -- invalid packet length (67108864)
(Libgaim: gg) -- gg_recv_packet() failed. errno = 34 (Result too large)
(Libgaim: gg) checking gg_event
Connection Disconnected: gc=357b90 (Error while reading from socket.)
(Libgaim: gg) Returning from login_callback
(Libgaim: account) Disconnecting account 0x3c30b0
(Libgaim: connection) Disconnecting connection 0x357b90
(Libgaim: gg) ** gg_logoff(...);
Disconnected: gc=357b90
(Libgaim: connection) Destroying connection 0x357b90
5139805 reported disconnecting: Error while reading from socket.
(Libgaim: accounts) Writing accounts to disk.
<ESGaimGaduGaduAccount: 0x3b4f00>:1:5139805: Updating status for key: Online
ImaSudonim
Muffin
Posts: 33
Joined: Mon May 16, 2005 1:21 am

Post by ImaSudonim »

Packet size decimal: 67108864 is hex: 4000000
Could be error code of some kind?

thanks you!
User avatar
Newtylicious
Muffin
Posts: 42
Joined: Sun Dec 19, 2004 7:13 pm

Post by Newtylicious »

(Libgaim: gg) -- invalid packet length (67108864)
(Libgaim: gg) -- gg_recv_packet() failed. errno = 34 (Result too large)
(Libgaim: gg) checking gg_event
Connection Disconnected: gc=357b90 (Error while reading from socket.)


Seems more like the error to me, when it's reading the key.
ImaSudonim
Muffin
Posts: 33
Joined: Mon May 16, 2005 1:21 am

Post by ImaSudonim »

This means libgaim issue, not adium?

Not sure...

Who contact for libgaim if so please?

thank you!
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

gaim-devel@lists.sourceforge.net

But I've already posted your issue to the list.
The duck still burns.
--
My company: Saltatory Software. Check it out :)
ImaSudonim
Muffin
Posts: 33
Joined: Mon May 16, 2005 1:21 am

Post by ImaSudonim »

thanks, cool icon, BTW!
User avatar
cajetanus
Harmless
Posts: 4
Joined: Tue Apr 18, 2006 7:11 am
Location: Warszawa, Polska
Contact:

Post by cajetanus »

Using gadu-gadu here on Adium SVN 1.0 developer deployment build, so it seems like it is fixed.

Though the status messages do not appear in gadu accounts like they do in Proteus - is this a bug or a feature?
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

Zombie thread. This thread is really old, which is going to confuse others reading it. Please create a new thread if you want to discuss current issues.
The duck still burns.
--
My company: Saltatory Software. Check it out :)
Locked