Bug 245794

Summary: Yahoo authentication fails (KDE 4.4.5)
Product: [Unmaintained] kopete Reporter: Testovich <sinoptiki>
Component: Yahoo PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: critical CC: finex, sesh19, tomaskelly87, wstephenson, xenoterracide
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Testovich 2010-07-26 15:53:06 UTC
Yahoo authentication is not working. After entering the password and pressing OK button Kopete asks for the password again. Debug says that the password is incorrect but it is correct 100%.

+++ This bug was initially created as a clone of Bug #233009 +++

Version:           1.0.0 (using 4.4.2 (KDE 4.4.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.31-21-generic

All is in the title :

I can't connect to my Yahoo account, using kopete 1.0.0 in KDE 4.4 and Kubuntu 9.10.
Comment 1 FiNeX 2010-08-17 11:21:43 UTC
Could this bug be related to #200945 ?
Comment 2 Testovich 2010-08-17 22:16:21 UTC
(In reply to comment #1)
> Could this bug be related to #200945 ?

I don't think so.

I compile it on a Gentoo system with the following USE flags:
USE="debug history oscar privacy ssl statistics yahoo -addbookmarks (-aqua) -autoreplace -contactnotes -gadu -groupwise -handbook -highlight -jabber -jingle (-kdeenablefinal) (-kdeprefix) -latex -meanwhile -msn -nowlistening -otr -pipes -qq -skype -sms -testbed -texteffect -translator -urlpicpreview -v4l2 -webpresence -winpopup -zeroconf"

And I get the following errors for the password:
kopete(2078)/libkopete KopetePasswordRequest::begin:
kopete(2078)/libkopete Kopete::WalletManager::openWalletInner:  about to open wallet async
kopete(2078)/libkopete Kopete::WalletManager::slotWalletChangedStatus:  isOpen:  true
kopete(2078)/libkopete Kopete::WalletManager::slotWalletChangedStatus: Successfully opened the wallet !
kopete(2078)/libkopete KopetePasswordRequest::walletReceived:
kopete(2078)/libkopete KopetePasswordRequest::begin:
kopete(2078)/libkopete Kopete::WalletManager::openWalletInner:  wallet already open
kopete(2078)/libkopete KopetePasswordGetRequestPrompt::doPasswordDialog:
kopete(2078)/libkopete Kopete::WalletManager::slotGiveExistingWallet:  with d->wallet  KWallet::Wallet(0x23e03d0)
kopete(2078)/libkopete KopetePasswordRequest::walletReceived:
kopete(2078)/libkopete KopetePasswordSetRequest::setPassword:  setting password for  "Account_YahooProtocol_myaccount@ymail.com"
kopete(2078)/libkopete KopetePasswordSetRequest::~KopetePasswordSetRequest: job complete
kopete(2078)/kopete (yahoo) YahooAccount::connectWithPassword:
kopete(2078)/kopete (yahoo) YahooAccount::connectWithPassword: Attempting to connect to Yahoo on < "scsa.msg.yahoo.com" : 5050 >. user < "myaccount@ymail.com" >
kopete(2078)/kopete (yahoo - raw protocol) Client::connect:
kopete(2078)/kopete (yahoo - raw protocol) KNetworkConnector::KNetworkConnector: New KNetwork connector.
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::KNetworkByteStream: Instantiating new KNetwork byte stream.
kopete(2078)/kopete (yahoo - raw protocol) KNetworkConnector::setOptHostPort: Manually specifying host  "scsa.msg.yahoo.com"  and port  5050
kopete(2078)/kopete (yahoo - raw protocol) ClientStream::ClientStream:
kopete(2078)/kopete (yahoo - raw protocol) ClientStream::connectToServer:
kopete(2078)/kopete (yahoo - raw protocol) ClientStream::reset:
kopete(2078)/kopete (yahoo - raw protocol) KNetworkConnector::done:
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::close: Closing stream.
kopete(2078)/kopete (yahoo - raw protocol) KNetworkConnector::connectToServer: Initiating connection to  "scsa.msg.yahoo.com"
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::connect: Connecting to  "scsa.msg.yahoo.com" , service  "5050"
kopete(2078)/kopete (yahoo - raw protocol) KNetworkConnector::slotConnected: We are connected.
kopete(2078)/kopete (yahoo - raw protocol) ClientStream::cr_connected:
kopete(2078)/kopete (yahoo - raw protocol) KNetworkConnector::stream:
kopete(2078)/kopete (yahoo - raw protocol) Client::cs_connected:
kopete(2078)/kopete (yahoo - raw protocol) Client::cs_connected:  starting login task ...
kopete(2078)/kopete (yahoo - raw protocol) LoginTask::onGo:
kopete(2078)/kopete (yahoo - raw protocol) LoginTask::sendVerify:
kopete(2078)/kopete (yahoo - raw protocol) Client::send: CLIENT::send()
kopete(2078)/kopete (yahoo - raw protocol) ClientStream::write:
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::outgoingTransfer:
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::outgoingTransfer:  got YMSGTransfer
kopete(2078)/kopete (yahoo - raw protocol) YMSGTransfer::serialize:  pos= 0  (packet size) "YMSG
kopete(2078)/kopete (yahoo - raw protocol) ClientStream::cp_outgoingData: [data size:  20 ]
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::tryWrite: [writeData.size() =  20 ]
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::slotBytesWritten: [int bytes]:  20
kopete(2078)/kopete (yahoo - raw protocol) ClientStream::bs_bytesWritten:  written:  20  bytes
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::slotReadyRead:
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::addIncomingData: 20  bytes. already had  0  bytes
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::wireToTransfer:
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse: "YMSG
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:  - parsed packet version  0   0
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:  - parsed packet len  0
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:  Parsed packet service -  This means ServiceVerify  76
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:   Parsed session id:  0x0
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:  Setting incoming transfer basic information.
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::incomingTransfer:
kopete(2078)/kopete (yahoo - raw protocol) Client::distribute:
kopete(2078)/kopete (yahoo - raw protocol) LoginTask::sendAuth:
kopete(2078)/kopete (yahoo - raw protocol) LoginTask::sendAuth:
kopete(2078)/kopete (yahoo - raw protocol) Client::send: CLIENT::send()
kopete(2078)/kopete (yahoo - raw protocol) ClientStream::write:
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::outgoingTransfer:
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::outgoingTransfer:  got YMSGTransfer
kopete(2078)/kopete (yahoo - raw protocol) YMSGTransfer::serialize:  Serializing key  1  value  "myaccount@ymail.com"
kopete(2078)/kopete (yahoo - raw protocol) YMSGTransfer::serialize:  pos= 0  (packet size) "YMSG
kopete(2078)/kopete (yahoo - raw protocol) ClientStream::cp_outgoingData: [data size:  47 ]
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::tryWrite: [writeData.size() =  47 ]
Transfer ACCEPTED by: LoginTask
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::addIncomingData:  parsed transfer  1  in chunk of  20  bytes
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::addIncomingData:  done processing chunk
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::slotBytesWritten: [int bytes]:  47
kopete(2078)/kopete (yahoo - raw protocol) ClientStream::bs_bytesWritten:  written:  47  bytes
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::slotReadyRead:
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::addIncomingData: 124  bytes. already had  0  bytes
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::wireToTransfer:
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse: "YMSG
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:  - parsed packet version  15   0
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:  - parsed packet len  104
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:  Parsed packet service -  This means ServiceAuth  87
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:   Parsed session id:  0x46b26b
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:  Setting incoming transfer basic information.
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:  Key:  "1"  Value:  "myaccount@ymail.com"
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:  Key:  "13"  Value:  "2"
kopete(2078)/kopete (yahoo - raw protocol) YMSGProtocol::parse:  Key:  "94"  Value:  "f^o/c%2/3%x+(q^t%(j-u%p%t-l%(i-x%x-h%b)-(j%(z-i%4-(r%5-(f))))))"
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::incomingTransfer:
kopete(2078)/kopete (yahoo - raw protocol) Client::distribute:
kopete(2078)/kopete (yahoo - raw protocol) LoginTask::sendAuthResp:
kopete(2078)/kopete (yahoo - raw protocol) LoginTask::sendAuthResp: Using version 16 authorization
kopete(2078)/kopete (yahoo - raw protocol) LoginTask::sendAuthSixteenStage1: seed: "f^o/c%2/3%x+(q^t%(j-u%p%t-l%(i-x%x-h%b)-(j%(z-i%4-(r%5-(f))))))"
kopete(2078)/kopete (yahoo - raw protocol) Client::lt_gotSessionID: Got SessionID:  4633195
Transfer ACCEPTED by: LoginTask
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::addIncomingData:  parsed transfer  1  in chunk of  124  bytes
kopete(2078)/kopete (yahoo - raw protocol) CoreProtocol::addIncomingData:  done processing chunk
kopete(2078)/kopete (yahoo - raw protocol) LoginTask::handleAuthSixteenStage1Data: data: "1212"
kopete(2078)/kopete (yahoo - raw protocol) LoginTask::handleAuthSixteenStage1Data: data: ""
kopete(2078)/kopete (yahoo - raw protocol) LoginTask::handleAuthSixteenStage1Result: error: 0
kopete(2078)/kopete (yahoo - raw protocol) Client::close:
kopete(2078)/kopete (yahoo - raw protocol) Client::slotLoginResponse: Emitting loggedIn
kopete(2078)/kopete (yahoo) YahooAccount::slotLoginResponse: 13 ,  "" )]
kopete(2078)/libkopete Kopete::Contact::setStatusMessage: Setting up the status title property with this:  ""
kopete(2078)/libkopete Kopete::Contact::setStatusMessage: Setting up the status message property with this:  ""
kopete(2078)/libkopete Kopete::Account::disconnected: -3
kopete(2078)/kopete (yahoo - raw protocol) LoginTask::handleAuthSixteenStage1Result: password incorrect
kopete(2078)/kopete (yahoo - raw protocol) ClientStream::reset:
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::close: Closing stream.
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::slotConnectionClosed: Socket has been closed.
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::slotConnectionClosed: ..by ourselves!
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::slotConnectionClosed: socket error is  "Unknown error"
kopete(2078)/kopete (yahoo - raw protocol) KNetworkConnector::done:
kopete(2078)/kopete (yahoo - raw protocol) KNetworkByteStream::close: Closing stream.
kopete(2078)/libkopete Kopete::Account::reconnect: account  "myaccount@ymail.com"  restoreStatus  50  restoreTitle  ""  restoreMessage  ""
kopete(2078)/kopete (yahoo) YahooAccount::setOnlineStatus:
kopete(2078)/libkopete KopetePasswordRequest::begin:
kopete(2078)/libkopete Kopete::WalletManager::openWalletInner:  wallet already open
kopete(2078)/libkopete Kopete::WalletManager::slotGiveExistingWallet:  with d->wallet  KWallet::Wallet(0x23e03d0)
kopete(2078)/libkopete KopetePasswordRequest::walletReceived:
kopete(2078)/libkopete KopetePasswordGetRequestPrompt::doPasswordDialog:

P.S. Sorry if I have pasted too many lines but I am not sure what is important and what not.
Comment 3 Will Stephenson 2010-11-18 00:11:48 UTC
Does it work if you use just 'myaccount' without '@ymail.com' as the account ID?
Comment 4 Caleb Cushing 2011-01-27 21:04:15 UTC
I think I might have the same problem, but I note that I can't connect to yahoo right on pidgin either, so perhaps yahoo has changed something... I know my password is correct because I copied it out of last pass, and I can log into yahoo.com with it.
Comment 5 Tom 2011-03-20 17:05:08 UTC
I have the same problem. After a bit of testing I found out that the reason why my password showed as incorrect was because it contains special characters. I changed my password a few times an got this results:

Alpha-numeric only : OK, logged in with no problem
Alpha-numeric ending with %: OK
Alpha-numeric ending with $: OK
Alpha-numeric ending with # : Failed, password invalid
Alpha-numeric combining symbols in any order : Failed, password invalid

The password I'm using containing symbols is valid in pidgin and is also valid in Kopete when using either Gmail or MSN.

I tried using "myaccount" only without the "@ymail.com" and tried changing the servers for yahoo. Neither worked for me.

Hope this helps in finding the cause of this bug.

Tom
Comment 6 Andrew Crouthamel 2018-09-15 23:28:09 UTC
Hello from the KDE Bugsquad!

Unfortunately, Yahoo has discontinued the Yahoo Messenger service, and the code has been removed from Kopete.

Thus, I am closing this bug as "UNMAINTAINED" since it will no longer be fixable, or able to operate due to Yahoo.