Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85894 - Gaim 1.2.0 can't connect to ICQ
Summary: Gaim 1.2.0 can't connect to ICQ
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gaim Bugs Crew
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
: 86282 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-19 05:46 UTC by Martin Wienold
Modified: 2005-04-05 19:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gaim-1.2.0-r1.ebuild (gaim-1.2.0-r1.ebuild,4.14 KB, text/plain)
2005-03-19 05:47 UTC, Martin Wienold
Details
1.2.0-icq_connect.patch (1.2.0-icq_connect.patch,646 bytes, text/plain)
2005-03-19 05:48 UTC, Martin Wienold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Wienold 2005-03-19 05:46:55 UTC
Yesterday I updated from gaim 1.1.4 to 1.2.0 and could not connect to ICQ.

Today searched the bugtracker on sourceforge and found a bug with the same problem.
It also included a patch that reverted the auth.c for ICQ to the version used in 1.1.4

original bugreport: http://sourceforge.net/tracker/index.php?func=detail&aid=1166027&group_id=235&atid=100235

Attached the proposed patch and -r1 ebuild.

Reproducible: Always
Steps to Reproduce:
1. emerge gaim-1.2.0
2. try to connect to ICQ
3.
Actual Results:  
Can't connect to ICQ

Expected Results:  
Should connect to ICQ
Comment 1 Martin Wienold 2005-03-19 05:47:22 UTC
Created attachment 53859 [details]
gaim-1.2.0-r1.ebuild
Comment 2 Martin Wienold 2005-03-19 05:48:02 UTC
Created attachment 53860 [details]
1.2.0-icq_connect.patch

reverts auth.c to version used in gaim-1.1.4
Comment 3 Don Seiler (RETIRED) gentoo-dev 2005-03-21 08:34:32 UTC
Proper fix in upstream seems to be this:

http://cvs.sourceforge.net/viewcvs.py/gaim/gaim/src/protocols/oscar/auth.c?sortby=date&r1=1.21.2.3&r2=1.21.2.4&only_with_tag=oldstatus&diff_format=u

Can you test this out and verify?
Comment 4 Don Seiler (RETIRED) gentoo-dev 2005-03-21 11:38:39 UTC
I've committed the upstream patch in gaim-1.2.0-r1
Comment 5 Martin Wienold 2005-03-21 11:42:05 UTC
Compiled gaim with the proposed upstream fix.
Compiles fine, but does not solve my problem, still can't connect to ICQ network
I'm getting authentification error.

The patch i posted works for me.
Comment 6 Byeong-taek Lee 2005-03-21 13:32:49 UTC
gaim 1.2.0-r1 still cannot connect in icq.
Comment 7 Martin Scherer 2005-03-21 16:40:43 UTC
i got the same error in here.. i started gaim with -d to see the actual error code
and gaim tells me that the password is incorrect..
my pw was saved in the account preferences, after deleting it and reinput it the login works for me
Comment 8 Don Seiler (RETIRED) gentoo-dev 2005-03-21 18:18:21 UTC
Yes you will need to re-enter your password so it can get truncated (which was missing before) and then re-hashed and then sent to the ICQ server.
Comment 9 Martin Wienold 2005-03-21 23:37:52 UTC
gaim-1.2.0-r1 still does not work for me.
I deleted my ~/.gaim dir and recreated my account. Can't log in.
Installed 1.1.4, recreated my account, loged in and changed my PW from a 5char to a 8char one.
deleted .gaim again, installed 1.2.0-r1 again and recreated my account using the new password, still no luck and i can't log in.

starting gaim-1.2.0-r1 with '-d' printed out the following

...
account: Connecting to account 0x81df3a0. gc = 0x83333f8
connection: Connecting. gc = 0x83333f8
connection: Calling serv_login
server: gaim 1.2.0 logging in 101452668 using AIM/ICQ
oscar: oscar_login: gc = 0x83333f8
dns: Created new DNS child 26656, there are now 1 children.
dns: Host 'login.oscar.aol.com' resolved
proxy: Connecting to login.oscar.aol.com:5190 with no proxy
proxy: Connect would have blocked.
proxy: Connected.
oscar: Screen name sent, waiting for response
oscar: inside auth_resp (Screen name: 101452668)
oscar: Login Error Code 0x000c
oscar: Error URL: http://www.aim.aol.com/errors/INVALID_DB_FIELDS.html?ccode=us&lang=en
oscar: Waiting to be destroyed
oscar: Waiting to be destroyed
account: Disconnecting account 0x81df3a0
connection: Disconnecting connection 0x83333f8
oscar: Signed off.
...

my emerge info

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Unknow CPU Type
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 12:35:52)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.gentoo.skynet.be/pub/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE"
LC_ALL="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aac alsa avi berkdb bitmap-fonts bmp cdr chroot crypt cups curl divx4linux dvd dvdr emboss encode erandom fam flac font-server foomatic foomaticdb freetype gcj gdbm gif gimpprint glitz gnome gpm gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imlib ipv6 java javascript joystick jpeg junit libg++ libwww mad matroska mikmod mmx mmx2 mmxext motif mozsvg mp3 mpeg ncurses nls nptl nptlonly nvidia offensive oggvorbis opengl pam pdflib pic png ppds python quicktime readline real rtc samba sox spell sqlite sse ssl tcpd tetex theora truetype truetype-fonts type1-fonts usb userlocales xface xml2 xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS

my emerge -pv gaim

[ebuild   R   ] net-im/gaim-1.2.0-r1  -cjk -debug -eds -gnutls -krb4 -nas +nls -perl -silc +spell -tcltk -xscreensaver 0 kB  (which does not login to icq)
Comment 10 Daniel Kenzelmann 2005-03-22 00:13:42 UTC
I have the same problems...
Login Error Code 0x000c
with
gaim-1.2.0-r1

PLEASE REOPEN bug...
Comment 11 Don Seiler (RETIRED) gentoo-dev 2005-03-23 07:39:54 UTC
Reopening
Comment 12 Don Seiler (RETIRED) gentoo-dev 2005-03-23 07:40:06 UTC
*** Bug 86282 has been marked as a duplicate of this bug. ***
Comment 13 Don Seiler (RETIRED) gentoo-dev 2005-03-23 07:51:00 UTC
I'm just full of not-thinking lately.  You don't need to re-enter your password, as the hashed passwords are not saved anyway.
Comment 14 Marco Squarcina 2005-03-23 14:26:04 UTC
I can confirm.. I have the same problem here (~amd64) with net-im/gaim-1.2.0-r2


$ gaim -d
...
account: Connecting to account 0x6d5f60. gc = 0x98a8b0
connection: Connecting. gc = 0x98a8b0
connection: Calling serv_login
server: gaim 1.2.0 logging in 107426470 using AIM/ICQ
oscar: oscar_login: gc = 0x98a8b0
dns: Successfully sent DNS request to child 32550
dns: Host 'login.oscar.aol.com' resolved
proxy: Connecting to login.oscar.aol.com:5190 with no proxy
proxy: Connect would have blocked.
proxy: Connected.
oscar: Screen name sent, waiting for response
msn: S: NS 000: CHL 0 14791108418396218088
msn: C: NS 000: QRY 11 PROD0038W!61ZTF9 32
msn: S: NS 000: QRY 11
oscar: inside auth_resp (Screen name: 107426470)
oscar: Login Error Code 0x000c
oscar: Error URL: http://www.aim.aol.com/errors/INVALID_DB_FIELDS.html?ccode=us&lang=en
oscar: Waiting to be destroyed
oscar: Waiting to be destroyed
account: Disconnecting account 0x6d5f60
connection: Disconnecting connection 0x98a8b0
oscar: Signed off.
connection: Destroying connection 0x98a8b0
Comment 15 Daniel Kenzelmann 2005-03-24 04:51:15 UTC
I registered a new number, the new one works, my old number doesn't.
Changed them to be the same password, still the same problems with the old number.
Comment 16 René Marten 2005-03-24 04:56:21 UTC
same here. The patch in -r1 works but -r2 now doesn't.
So I re-emerged -r1 but that also doesn't work.

@ #15: Could it be that your new password is shorter that your old one?
Comment 17 Daniel Kenzelmann 2005-03-24 06:20:54 UTC
@ #16
Password for new ID was 5 char long, it worked, i changed the pw from old and new ID to the same 6 char pw (windows ICQ client (in wine) won't allow < 6 char), new ID worked, old ID didn't (with gaim).
Comment 18 René Marten 2005-03-24 07:54:37 UTC
 @ 17: yes. Back with -r2 but .. reentering the password didn't help ..
Comment 19 Martin Wienold 2005-03-24 10:59:25 UTC
Sorry to spoil the fun about the -r2, but it wasn't related to this patch.
Changelog reads:
*gaim-1.2.0-r2 (23 Mar 2005)

  23 Mar 2005; Don Seiler <rizzo@gentoo.org> +gaim-1.2.0-r2.ebuild:
  Removing the stupid, uninformed xscreensaver change I made. Adding full-time
  dep on startup-notification to avoid confusion.
Comment 20 Don Seiler (RETIRED) gentoo-dev 2005-03-24 11:18:41 UTC
Yeah -r2 had nothing to do with ICQ.  I removed the xscreensaver dependency and added startup-notification.

The debian package maintainer is also seeing some reports like you guys are.  Unfortunately none of us are able to personally duplicate it.  Hold tight.
Comment 21 Mikhail Markin 2005-04-01 07:26:09 UTC
I would like to point out that that the comment made by ozzl (2005-04-01 03:10) at https://sourceforge.net/tracker/?func=detail&atid=100235&aid=1167621&group_id=235 may be going somewhere. The consequent comment by gorbulas (2005-04-01 05:04) confirms the fix and references a Debian package.
Comment 22 Martin Wienold 2005-04-01 23:51:15 UTC
Yes, what ozzl posted works.
It is the same solution I posted as a patch on 2005-03-19!
(I didn't wrote it the patch myself and do not take credit for it.)

If you want the patch, it's attached already. 
This backport is -- by no means -- the official fix. It's a temp workaround and nothing more.
Comment 23 Don Seiler (RETIRED) gentoo-dev 2005-04-04 07:31:58 UTC
Looks like gaim-1.2.1 reverted the changes back to the XOR method.  Please try this version and confirm that it works for you once again.
Comment 24 Marco Squarcina 2005-04-04 08:34:06 UTC
GREAT! gaim-1.2.1 works fine with ICQ too now!
Comment 25 Don Seiler (RETIRED) gentoo-dev 2005-04-05 19:24:19 UTC
Alright I'll mark this as fixed then since I've not heard any complaints yet.