Bug 175522 - kopete does not connect to qq, reports status unknown
Summary: kopete does not connect to qq, reports status unknown
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: QQ Plugin (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-18 23:31 UTC by fcardone
Modified: 2021-03-10 07:32 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch for the QQ protocol (6.25 KB, patch)
2009-02-16 17:32 UTC, Frank Niethardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fcardone 2008-11-18 23:31:30 UTC
Version:           0.60.3 (using KDE 4.1.2)
OS:                Linux
Installed from:    Fedora RPMs

If I try to connect to a QQ (*not* ICQ) account, immediately after creating the account on kopete I get status "unknown" (not online), and it is impossible to connect. Starting kopete from the console gives the output below.

One of the lines reports "password is wrong" - which it is not, the same login and password work with pidgin.

Among the output, I noticed the line

"kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: text =  "×ð¾´µÄÓû§£¬ÄúµÄQQ°æ±¾ÒѾ­Í£Ö¹Ê¹Óã¬
Çëµ½http://im.qq.com/qq/dlqq.shtml"

That link point to a page where one can download a client made by qq.com.

Once again, qq works fine with pidgin.






kopete(30489)/kopete (gadu) GaduAccount::fillActionMenu:
kopete(30489)/kopete (msn) QQAccount::setOnlineStatus: start connecting !!
kopete(30489)/kopete (testbed) QQAccount::connect:                        
Object::connect: No such slot QQNotifySocket::heartbeat()                 
kopete(30489)/kopete (msn) QQSocket::setOnlineStatus: : status =  0       
kopete(30489)/kopete (msn) QQSocket::connect: connecting to : "tcpconn.tencent.com" : 80
kopete(30489)/kopete (msn) QQSocket::slotConnectionSuccess: slotConnectionSuccess: calling doneConnect()
kopete(30489)/kopete (msn) QQSocket::setOnlineStatus: : status =  1                                     
kopete(30489)/kopete (msn) QQNotifySocket::doneConnect: Negotiating server protocol version             
kopete(30489)/kopete (msn) QQSocket::sendPacket: "                                                      
kopete(30489)/kopete (msn) QQSocket::slotReadyWrite:                                                    
kopete(30489)/kopete (msn) QQSocket::slotDataReceived: DATA RECEIVED!                                   
kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: "                                      
kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: command =  98                          
kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: text =  "NT¨@ÆÏ«¼®~kõü66ñ)J"           
kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: command =  98 : token =  "NT¨@ÆÏ«¼®~kõü66ñ)J"
kopete(30489)/kopete (msn) QQSocket::sendPacket: "Î                                                           
kopete(30489)/kopete (msn) QQSocket::slotReadyWrite:                                                          
kopete(30489)/kopete (msn) QQSocket::slotDataReceived: DATA RECEIVED!                                         
kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: "                                            
kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: command =  34
kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: text =  "3)±´y`2                             
kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: Redirect to  "121.14.96.50"  :  80           
kopete(30489)/kopete (msn) QQNotifySocket::disconnect: online status = 1                                      
kopete(30489)/kopete (msn) QQSocket::disconnect:                                                              
QObject: Do not delete object, 'unnamed', during its event handler!                                           
kopete(30489)/kopete (msn) QQSocket::slotSocketClosed: Socket closed.                                         
kopete(30489)/kopete (msn) QQSocket::doneDisconnect: disconnected done                                        
kopete(30489)/kopete (msn) QQSocket::setOnlineStatus: : status =  3                                           
kopete(30489)/kopete (msn) QQSocket::setOnlineStatus: : status =  2                                           
kopete(30489)/kopete (msn) QQSocket::connect: We're still disconnecting! Deleting socket the hard way first.  
kopete(30489)/kopete (msn) QQSocket::setOnlineStatus: : status =  0                                           
kopete(30489)/kopete (msn) QQSocket::connect: connecting to : "121.14.96.50" : 80                             
kopete(30489)/kopete (msn) QQSocket::slotConnectionSuccess: slotConnectionSuccess: calling doneConnect()      
kopete(30489)/kopete (msn) QQSocket::setOnlineStatus: : status =  1                                           
kopete(30489)/kopete (msn) QQNotifySocket::doneConnect: Negotiating server protocol version                   
kopete(30489)/kopete (msn) QQSocket::sendPacket: "Î                                                           
kopete(30489)/kopete (msn) QQSocket::slotReadyWrite:                                                          
kopete(30489)/kopete (msn) QQSocket::slotDataReceived: DATA RECEIVED!                                         
kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: "                                            
kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: command =  34                                
kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: text =  "×ð¾´µÄÓû§£¬ÄúµÄQQ°æ±¾ÒѾ­Í£Ö¹Ê¹Óã¬
Çëµ½http://im.qq.com/qq/dlqq.shtml                                                                            
ÏÂÔز¢°²×°×îеÄQQ°æ±¾¡£                                                                                      
¸øÄú´øÀ´²»±ã£¬¾´ÇëÁ½⣡"                                                                                     
kopete(30489)/kopete (msn) QQNotifySocket::handleIncomingPacket: password is wrong.                           
kopete(30489) OscarStatusManager::onlineStatusOf: Kopete::OnlineStatus doesn't exists for internal status  4278190592  Using basic status for type  0
Comment 1 Frank Niethardt 2009-01-28 23:26:25 UTC
I can confirm this on archlinux, using Kopete Version 0.70.0, Using KDE 4.2.00 (KDE 4.2.0) (KDEmod).

kopete(30525)/kopete (msn) QQAccount::setOnlineStatus: start connecting !!
kopete(30525)/kopete (testbed) QQAccount::connect:
Object::connect: No such slot QQNotifySocket::heartbeat()
kopete(30525)/kopete (msn) QQSocket::setOnlineStatus: : status =  0
kopete(30525)/kopete (msn) QQSocket::connect: connecting to : "tcpconn.tencent.com" : 80
kopete(30525)/kopete (msn) QQSocket::slotConnectionSuccess: slotConnectionSuccess: calling doneConnect()
kopete(30525)/kopete (msn) QQSocket::setOnlineStatus: : status =  1
kopete(30525)/kopete (msn) QQNotifySocket::doneConnect: Negotiating server protocol version
kopete(30525)/kopete (msn) QQSocket::sendPacket: "
kopete(30525)/kopete (msn) QQSocket::slotReadyWrite:
kopete(30525)/kopete (msn) QQSocket::slotDataReceived: DATA RECEIVED!
kopete(30525)/kopete (msn) QQNotifySocket::handleIncomingPacket: "
kopete(30525)/kopete (msn) QQNotifySocket::handleIncomingPacket: command =  98
kopete(30525)/kopete (msn) QQNotifySocket::handleIncomingPacket: text =  "Rwá6¤8^RÍ.úª·ýf^Qg^?^U¾^YÂWÉß"
kopete(30525)/kopete (msn) QQNotifySocket::handleIncomingPacket: command =  98 : token =  "Rwá6¤8^RÍ.úª·ýf^Qg^?^U¾^YÂWÉß"
kopete(30525)/kopete (msn) QQSocket::sendPacket: "^AÎ^B^O^U
kopete(30525)/kopete (msn) QQSocket::slotReadyWrite:
kopete(30525)/kopete (msn) QQSocket::slotDataReceived: DATA RECEIVED!
kopete(30525)/kopete (msn) QQNotifySocket::handleIncomingPacket: "
kopete(30525)/kopete (msn) QQNotifySocket::handleIncomingPacket: command =  34
kopete(30525)/kopete (msn) QQNotifySocket::handleIncomingPacket: text =  "^A3ëÿhw<U+0093>^SÖ
kopete(30525)/kopete (msn) QQNotifySocket::handleIncomingPacket: Redirect to  "119.147.19.214"  :  80
kopete(30525)/kopete (msn) QQNotifySocket::disconnect: online status = 1
kopete(30525)/kopete (msn) QQSocket::disconnect:
QObject: Do not delete object, 'unnamed', during its event handler!
kopete(30525)/kopete (msn) QQSocket::slotSocketClosed: Socket closed.
kopete(30525)/kopete (msn) QQSocket::doneDisconnect: disconnected done
kopete(30525)/kopete (msn) QQSocket::setOnlineStatus: : status =  3
kopete(30525)/kopete (msn) QQSocket::setOnlineStatus: : status =  2
kopete(30525)/kopete (msn) QQSocket::connect: We're still disconnecting! Deleting socket the hard way first.
kopete(30525)/kopete (msn) QQSocket::setOnlineStatus: : status =  0
kopete(30525)/kopete (msn) QQSocket::connect: connecting to : "119.147.19.214" : 80
kopete(30525)/kopete (msn) QQSocket::slotConnectionSuccess: slotConnectionSuccess: calling doneConnect()
kopete(30525)/kopete (msn) QQSocket::setOnlineStatus: : status =  1
kopete(30525)/kopete (msn) QQNotifySocket::doneConnect: Negotiating server protocol version
kopete(30525)/kopete (msn) QQSocket::sendPacket: "^AÎ^B^O^U
kopete(30525)/kopete (msn) QQSocket::slotReadyWrite:
kopete(30525)/kopete (msn) QQSocket::slotDataReceived: DATA RECEIVED!
kopete(30525)/kopete (msn) QQNotifySocket::handleIncomingPacket: "
kopete(30525)/kopete (msn) QQNotifySocket::handleIncomingPacket: command =  34
kopete(30525)/kopete (msn) QQNotifySocket::handleIncomingPacket: text =  "^E×ð¾´µÄÓû§£¬ÄúµÄQQ°æ±¾ÒѾ­Í£Ö¹Ê¹Óã¬
Çëµ½http://im.qq.com/qq/dlqq.shtml
ÏÂÔز¢°²×°×îеÄQQ°æ±¾¡£
¸øÄú´øÀ´²»±ã£¬¾´ÇëÁ½⣡"
kopete(30525)/kopete (msn) QQNotifySocket::handleIncomingPacket: password is wrong.
Comment 2 David 2009-01-29 18:02:05 UTC
I can confirm too in a KDE 4.2.0 from gentoo. It is weird, since status is 'unknown' not offline nor online..
Comment 3 Dushyanth 2009-02-06 21:16:25 UTC
I can confirm it too. I am using Kde 4.2 on Kubuntu. This bug is really annoying. I don't want to use something like Pidgin in Kde 4.2. Please fix this when you all find time. Thank you.
Comment 4 Frank Niethardt 2009-02-15 22:11:01 UTC
I think bug 163939 is a duplicate of this...
Comment 5 Frank Niethardt 2009-02-16 17:32:41 UTC
Created attachment 31363 [details]
Patch for the QQ protocol

I played a bit around with the QQ protocol plugin and the latest evaq source where it has been ported from.
This patch makes use of newer login code. It's far from being perfect and I actually cannot login in QQ for some reason. But at least I don't get a "your client is outdated" message anymore.
Some volunteers for the rest? ;)
Comment 6 Aladdin 2009-08-19 16:42:53 UTC
I also find this bug is too bothering.
please, somebody find a solution for it.

I am so new to Linux, so I don't know how to use patch.
please somebody help me in some direction.
Comment 7 Andrey 2009-12-16 21:39:19 UTC
*** This bug has been confirmed by popular vote. ***
Comment 8 Andrey 2009-12-16 21:44:28 UTC
So QQ protocol is actually broken in Kopete.
I do not not how to use patches either.

The only real workaround I have found is using another messenger.
For example, QQ for Linux: http://im.qq.com/qq/linux/

Though, no English version available at the moment, only Chinese.
Comment 9 Justin Zobel 2021-03-09 22:41:30 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 10 Frank Niethardt 2021-03-10 07:32:40 UTC
I'm not using Kopete or QQ anymore. Can't say anything about the bug..