Bug 72219 - yahoo doesn't connect: keeps asking for password repeatedly
Summary: yahoo doesn't connect: keeps asking for password repeatedly
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Yahoo Plugin (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR major
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-09 07:23 UTC by Amit Shah
Modified: 2005-09-06 21:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
the patch needed (6.67 KB, patch)
2004-01-13 15:34 UTC, Matt Rogers
Details
first of two new files needed (207.41 KB, text/x-csrc)
2004-01-13 15:36 UTC, Matt Rogers
Details
the second of two new files (1.11 KB, text/x-chdr)
2004-01-13 15:37 UTC, Matt Rogers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amit Shah 2004-01-09 07:23:32 UTC
Version:           0.7.94 (using KDE 3.1.94 (3.2 Beta 2), compiled sources)
Compiler:          gcc version 3.3.2 (Debian)
OS:          Linux (i686) release 2.6.0

Yahoo's suddenly stopped working today. It keeps asking for the password repeatedly. I tried connecting through ymessenger, and it worked. Have they updated their protocol again?
Comment 1 Mike W 2004-01-09 16:02:28 UTC
I'm having the same issue.. updated to latest CVS this morning, and it still happens.
Comment 2 Thomas Vollmer 2004-01-09 16:51:11 UTC
I can confirm this also.
Comment 3 Andy Goossens 2004-01-09 17:41:04 UTC
It looks like Yahoo started blocking accounts today.

Gaim seems to have the same issue: http://sourceforge.net/tracker/index.php?func=detail&aid=873547&group_id=235&atid=100235


As a work-around, you might need to login at http://login.yahoo.com/config/login before you can re-login with Kopete's Yahoo plugin.
Comment 4 Thomas Vollmer 2004-01-09 18:16:48 UTC
For me, a login at the yahoo site didn't help.
Comment 5 Andy Goossens 2004-01-09 18:27:32 UTC
Yeah, I tried it too after seeing it mentioned on the Gaim forum but it didn't work for me :-(

In related news: Trillian has released a patch for their Yahoo plugin today. We're not the only one having this issue.
Comment 6 Andy Goossens 2004-01-10 00:45:33 UTC
Found on the libyahoo2 forum:
"the auth was modified to only send challenges that we can't handle"

We will have to wait till a newer version of libyahoo2 is released which can handle this. Until then the Yahoo plugin stays broken :-(


Developers: Is this a showstopper?
Comment 7 Matt Rogers 2004-01-10 00:47:27 UTC
unfortunately, yes.
Comment 8 Jason Keirstead 2004-01-10 00:53:33 UTC
I don't understand, if you have the code that works ( from Gaim, they patched today ), why can't we update the Kopete libyahoo2 source directly and mail them a patch?
Comment 9 Matt Rogers 2004-01-10 01:00:35 UTC
It would be helpful to know what files they patches so i know where to look. Also don't think it's trickled through to anoncvs yet.
Comment 10 Andy Goossens 2004-01-10 01:11:21 UTC
Arghhh... the hideous sourceforge.net forums tricked us. The "Sean fixed this in Gaim CVS" message was dated "2003-09-28".
Comment 11 Amit Shah 2004-01-10 06:40:52 UTC
Subject: Re:  yahoo doesn't connect: keeps asking for password repeatedly

On Friday 09 Jan 2004 22:11, Andy Goossens wrote:
> As a work-around, you might need to login at
> http://login.yahoo.com/config/login before you can re-login with Kopete's
> Yahoo plugin.

This suggested workaround didn't work for me...

Comment 12 Dale Weber 2004-01-10 19:40:23 UTC
Subject: Re: [Kopete-devel]  yahoo doesn't connect: keeps asking for password repeatedly

On Friday 09 January 2004 08:41 am, Andy Goossens wrote:
> ------- Additional Comments From andygoossens@pandora.be  2004-01-09 17:41
> ------- It looks like Yahoo started blocking accounts today.
>
> Gaim seems to have the same issue:
> http://sourceforge.net/tracker/index.php?func=detail&aid=873547&group_id=23
>5&atid=100235
>
>
> As a work-around, you might need to login at
> http://login.yahoo.com/config/login before you can re-login with Kopete's

	I can no longer get my Yahoo accounts to work with Kopete either, but GAIM 
works perfectly with all of them.  This started happening right around 
Thursday.  I updated everything from KDE CVS and rebuilt it ALL from scratch 
last night.  No change - still can not get Yahoo working with Kopete at all.

	8-Dale
Comment 13 Dale Weber 2004-01-10 19:46:32 UTC
Subject: Re: [Kopete-devel]  yahoo doesn't connect: keeps asking for password repeatedly

On Friday 09 January 2004 03:45 pm, Andy Goossens wrote:

> "the auth was modified to only send challenges that we can't handle"
>
> We will have to wait till a newer version of libyahoo2 is released which
> can handle this. Until then the Yahoo plugin stays broken :-(
>
>
> Developers: Is this a showstopper?

	If true, this means I have to stop using Kopete for now.  Most of my IMing is 
done in Yahoo.

	8-Dale
Comment 14 cjacker 2004-01-11 05:37:33 UTC
change the server string "scs.msg.yahoo.com" to "scs.yahoo.com"
in kyahoo.c, yahooaccount.cpp, libyahoo2.c.

these changes can let you log in.
Comment 15 Matt Rogers 2004-01-11 06:05:12 UTC
Subject: kdenetwork/kopete/protocols/yahoo

CVS commit by mattr: 

Fix yahoo with the last suggestion from the bug report. Thanks for the info.
I had done this earlier, but i don't guess I modified enough files. :(

A kopete 0.7.5 release, as well as another 0.8 Beta release is planned so that
we can get the fix out to people without them having to checkout cvs.

CCMAIL: 72219-done@bugs.kde.org


  M +1 -1      kyahoo.cpp   1.52
  M +1 -1      yahooaccount.cpp   1.62
  M +1 -1      libyahoo2/libyahoo2.c   1.17


--- kdenetwork/kopete/protocols/yahoo/kyahoo.cpp  #1.51:1.52
@@ -37,5 +37,5 @@
 /* exported to libyahoo */
 #define MAX_PREF_LEN 255
-char pager_host[MAX_PREF_LEN] = "scs.msg.yahoo.com";
+char pager_host[MAX_PREF_LEN] = "scs.yahoo.com";
 char pager_port[MAX_PREF_LEN] = "5050";
 char filetransfer_host[MAX_PREF_LEN] = "filetransfer.msg.yahoo.com";

--- kdenetwork/kopete/protocols/yahoo/yahooaccount.cpp  #1.61:1.62
@@ -161,5 +161,5 @@ QColor YahooAccount::getMsgColor(const Q
 void YahooAccount::connect()
 {
-        QString server = "scs.msg.yahoo.com";
+        QString server = "scs.yahoo.com";
         int port = 5050;
 

--- kdenetwork/kopete/protocols/yahoo/libyahoo2/libyahoo2.c  #1.16:1.17
@@ -127,5 +127,5 @@ int yahoo_set_log_level(enum yahoo_log_l
 
 /* default values for servers */
-static char pager_host[] = "scs.msg.yahoo.com";
+static char pager_host[] = "scs.yahoo.com";
 static int pager_port = 5050;
 static int fallback_ports[]={23, 25, 80, 20, 119, 8001, 8002, 5050, 0};


Comment 16 cjacker 2004-01-11 11:26:44 UTC
I do not think it is  an effective solution in the long run.
may be it will work temporarily.

the webmessesenger login need to be added, maybe libyahoo2 will do it.
Comment 17 Andy Goossens 2004-01-11 12:08:04 UTC
Subject: kopete_0_7_branch: kdenonbeta/kopete/protocols/yahoo

CVS commit by goossens: 

Matt: you missed a spot :-p

I can't see how this fixes Yahoo though. The login may seem to work, but
seeing no online buddies and being unable to communicate is still a major bug.

CCMAIL: 72219@bugs.kde.org


  M +1 -1      yahooprefs.cpp   1.11.2.3


--- kdenonbeta/kopete/protocols/yahoo/yahooprefs.cpp  #1.11.2.2:1.11.2.3
@@ -50,5 +50,5 @@ YahooPreferences::YahooPreferences(const
 
         m_config->setGroup("Yahoo");
-        m_yahooPrefsDialog->mServer->setText(m_config->readEntry("Server", "scs.msg.yahoo.com"));
+        m_yahooPrefsDialog->mServer->setText(m_config->readEntry("Server", "scs.yahoo.com"));
         m_yahooPrefsDialog->mPort->setValue(m_config->readNumEntry("Port", 5050));
         m_yahooPrefsDialog->mImportContacts->setChecked(m_config->readBoolEntry("ImportContacts", true));


Comment 18 Matt Rogers 2004-01-11 16:23:21 UTC
ehh, that spot doesn't matter, but it's probably better to be through anyways. Also, I made sure i could do everything when i tested it. I see buddies online, and i can send messages back and forth. Although i'm quite skeptical as to how long this will work...
Comment 19 Andy Goossens 2004-01-11 16:47:32 UTC
Sorry Matt. It doesn't work for me and several others. You must have hit a server which wasn't updated or just had incredible luck. Reopening...

Even the Gaim guys didn't found out how the new authorization works, they're (ab)using Yahoo WebMessenger instead:
http://sourceforge.net/forum/forum.php?forum_id=665

But, there seems to be a break-through by the libyahoo2 guys:
http://sourceforge.net/mailarchive/forum.php?thread_id=3728082&forum_id=12121
Comment 20 Matt Rogers 2004-01-11 16:58:59 UTC
no wonder it worked for me when i tested it. all my accounts were using the same host. 
Comment 21 Matt Rogers 2004-01-11 20:01:20 UTC
I'm going to hack the webmessenger stuff into the plugin and make the yahoo plugin use that. This is how gaim got around it.
Comment 22 Matt Rogers 2004-01-13 07:54:07 UTC
Patch posted for review. I didn't need the web messenger stuff after all.
Comment 23 Amit Shah 2004-01-13 08:22:33 UTC
where's the patch?
Comment 24 cjacker 2004-01-13 11:35:56 UTC
sorry, It does not work.
Comment 25 cjacker 2004-01-13 11:41:24 UTC
OK, I had fixed it.
there is some compilation problem in yahoo_fn.c and yahoo_fn.h.

great, yahoo run again:-D
Comment 26 Matt Rogers 2004-01-13 15:34:57 UTC
Created attachment 4141 [details]
the patch needed

Here's the patch you'll need. There's also two new files. I'll attach them
shortly
Comment 27 Matt Rogers 2004-01-13 15:36:12 UTC
Created attachment 4142 [details]
first of two new files needed

put this file in the libyahoo2 directory of the yahoo plugin
Comment 28 Matt Rogers 2004-01-13 15:37:06 UTC
Created attachment 4143 [details]
the second of two new files

put this file in the libyahoo2 directory of the yahoo plugin
Comment 29 Mike W 2004-01-13 15:57:12 UTC
anyone else have a problem getting the filenames of the attachments from bugzilla when downloading?.. anyways the large attachment is yahoo_fn.c and smaller one is yahoo_fn.h

anyways i applied the patch and added the two files, and everything appears to be working
Comment 30 Charles Love 2004-01-13 20:40:12 UTC
could someone clue me in on how to apply the patch? I have and renamed the 2 files.. Or should I just wait till the official patch is out?
Comment 31 Mike W 2004-01-13 21:13:36 UTC
inside
$SRC/kdenetwork/kopete/protocols/yahoo

patch -p0 <yahoo_fix.patch
Comment 32 Matt Rogers 2004-01-14 03:07:59 UTC
Subject: kdenetwork/kopete/protocols/yahoo

CVS commit by mattr: 

Fix the yahoo connection problems by adding the additional support necessary
for the new authentication methods. Takes care of bug 72219

CCMAIL: 72219-done@bugs.kde.org


  A            libyahoo2/yahoo_fn.c   1.1 [GPL (v2+)]
  A            libyahoo2/yahoo_fn.h   1.1 [GPL (v2+)]
  M +3 -3      kyahoo.cpp   1.53
  M +8 -6      yahooaccount.cpp   1.63
  M +2 -2      libyahoo2/Makefile.am   1.9
  M +62 -50    libyahoo2/libyahoo2.c   1.18



Comment 33 Matt Rogers 2004-01-14 03:35:05 UTC
Subject: kopete_0_7_branch: kdenonbeta/kopete/protocols/yahoo

CVS commit by mattr: 

Backport of the yahoo fix for the Kopete 0.7.4 users.

CCMAIL: 72219@bugs.kde.org


  A            libyahoo2/yahoo_fn.c   1.1.2.1 [GPL (v2+)]
  A            libyahoo2/yahoo_fn.h   1.1.2.1 [GPL (v2+)]
  M +1 -1      kyahoo.cpp   1.33.2.5
  M +2 -2      yahooprotocol.cpp   1.60.2.4
  M +2 -2      libyahoo2/Makefile.am   1.6.6.2
  M +62 -50    libyahoo2/libyahoo2.c   1.11.2.5



Comment 34 Charles Love 2004-01-14 14:06:10 UTC
SO how does me a joe user get this? I am not up on CVS yet.. Will there be a release with this in it?

thanks for fixing it :)
Comment 35 Matt Rogers 2004-01-14 14:20:21 UTC
there will be a release later today. :) 
Comment 36 Charles Love 2004-01-14 15:00:15 UTC
Awsome.. Thanks for getting it to us in a jiff :)
Comment 37 Andy 2004-01-15 11:26:19 UTC
I patched the sources and put the two files in $SRC/kdenetwork/kopete/protocols/yahoo/libyahoo2 
I compiled and installed but when I try to connect to yahoo kopete crash with this message:

kopete: relocation error: /opt/kde/lib/kde3/kopete_yahoo.so: undefined symbol: yahoo_xfrm

:-(
Comment 38 Charles Love 2004-01-15 14:23:28 UTC
Any chance on the patch today perhaps?
Comment 39 Charles Love 2004-01-15 14:24:55 UTC
Im sorry.. Not the patch, I mean the new release.. (im not quite sure how to patch it myself)
Comment 40 Jason Keirstead 2004-01-15 16:37:05 UTC
Kopete 0.8 will be released alongside KDE 3.1 on Feb 2, assuming nothing drastic happens.
Comment 41 Jason Keirstead 2004-01-15 16:37:30 UTC
Er, alongside kde 3.2 :P
Comment 42 Charles Love 2004-01-15 17:45:18 UTC
Ok.. Matt had said "there will be a release later today" thats why I asked..

well its been fun.. Thanks anyway..
Comment 43 Matt Rogers 2004-01-15 20:54:01 UTC
rc1 tarballs will be released later today. Please give me time to make them. 
Comment 44 Daniel Lyddy 2004-07-01 23:20:56 UTC
I have kopete version 0.8.0, installed as part of Mandrake RPM kdenetwork-kopete-3.2-17.1.100mdk.

I still have this problem.  Has Yahoo changed their protocol yet again?
Comment 45 Mike Anderson 2004-07-03 09:48:14 UTC
rcvd 0.8.3 with Slackware 10.0 distro, Yahoo bug prevents password from being accepted.
Downloaded 0.8.2 from kopete site, bz2, configure, make, install.
Still no Yahoo login, bummer. None of the Yahoo apps will install correctly.
Hope this gets fixed.
Comment 46 Paul Hoepfner-Homme 2004-07-04 04:25:12 UTC
Why is this bug marked as fixed?  I'm running Kopete from KDE 3.2.3 (Gentoo) and the Yahoo plugin still won't let me log in when I enter my correct password, complaining that the password is wrong.
Comment 47 Brendon Lucas 2004-07-11 04:26:28 UTC
yeh whats goin on ladsand lasses, i use Kopete 0.8.0 under Mandrake, yahoo worked fine in January but packed up 2 weeks ago?, i'm back to using the crude lookin Unix version of Yahoo!Messenger for now :(
Comment 48 Will Stephenson 2004-07-11 11:52:34 UTC
To everyone from #44 downwards:
The bug report you're commenting on relates to a protocol change in January that prevented a login and was fixed at the time.  There has been another protocol change at the end of June that also prevents login and was fixed shortly thereafter.  The bug report for this change is #83291.  Packagers and distributions have been notified of the fix and Gentoo and SUSE at least have picked it up.  There will also be a 0.8.4 source release available on our website shortly.  If you can't wait that long, follow the instructions for obtaining Kopete (stable or HEAD) from our CVS, on our website.
Comment 49 Tom Zimmermann 2004-07-27 21:40:28 UTC
and a newbie like me is suppose to understand all these cryptic files and where to put them. Isn't there an rpm to just install so that darn kopete runs with yahoo?If there is one let me know please. I did not yet get an tar.gz archive to install, could not find any simple explanation what to do step by step.
Comment 50 Doug Lane 2004-08-31 16:06:56 UTC
Still a problem in KDE 3.2.3
Comment 51 Mark Huddleston 2004-10-12 05:00:00 UTC
I have the new free Mandrake 10.0 and Kopete still has the same problem, as of 11th October, 2004; KDE 3.2
Comment 52 Raicheal 2005-09-06 21:04:35 UTC
I just signed up the other day and Yahoo nor MSN works. Only my AIM account works.