Bug 118760 - kopete still does not connect on MSN
Summary: kopete still does not connect on MSN
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: MSN Plugin (other bugs)
Version First Reported In: 0.11
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 118781 122736 122924 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-21 03:45 UTC by Jarl Gjessing
Modified: 2006-03-11 13:09 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jarl Gjessing 2005-12-21 03:45:49 UTC
Version:           0.11 (using KDE KDE 3.5.0)
Installed from:    SuSE RPMs
OS:                Linux

I have mentioned this before. The only reply was works for me. Problem is, it still does not work for me though :-(
I have now installed OpenSuse version 10.0 - it has not worked since version 9.3 :-( (Also Mandrive 2006 does not work)
My MSN account works fine in Windows.
Any idea of how I can debug it? I tried kopete --nofork, but no debug info appears..
Thanks in advance
Comment 1 Jarl Gjessing 2005-12-21 04:28:49 UTC
I just recompiled it with debug, and this is the result:
libkopete: using X11 MIT Screensaver extension
libkopete: [void Kopete::ContactList::setSelectedItems(QPtrList<Kopete::MetaContact>, QPtrList<Kopete::Group>)] 0 metacontacts, 0 groups selected
kopete: [void KopeteEditGlobalIdentityWidget::setIconSize(int)] Manually changing the icon size.
QImage::smoothScale: Image is a null image
kopete: [Kopete::Global::Properties::Properties()]
libkopete: [Kopete::Plugin* Kopete::PluginManager::loadPluginInternal(const QString&)] Successfully loaded plugin 'kopete_msn'
libkopete: [void Kopete::AccountManager::slotPluginLoaded(Kopete::Plugin*)] Creating account for 'jegjessing@hotmail.com'
libkopete: [void KopetePasswordRequest::begin()]
libkopete: [void Kopete::WalletManager::openWalletInner()]  about to open wallet async
libkopete: [void Kopete::WalletManager::slotWalletChangedStatus()]  isOpen: true
libkopete: [virtual void KopetePasswordRequest::walletReceived(KWallet::Wallet*)]
libkopete: [void KopetePasswordGetRequestPrompt::doPasswordDialog(const QString&)]
libkopete: [void KopetePasswordRequest::begin()]
libkopete: [void Kopete::WalletManager::openWalletInner()]  wallet already open
libkopete: [void Kopete::WalletManager::slotGiveExistingWallet()]  with d->wallet 0x82edca0
libkopete: [virtual void KopetePasswordRequest::walletReceived(KWallet::Wallet*)]
libkopete: [bool KopetePasswordSetRequest::setPassword()]  setting password for Account_MSNProtocol_jegjessing@hotmail.com
libkopete: [virtual KopetePasswordSetRequest::~KopetePasswordSetRequest()] job complete
kopete (msn - raw protocol): [virtual void MSNSocket::slotReadyWrite()] Sending http command: VER 0 MSNP11 MSNP10 CVR0
kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] VER 0 MSNP11 MSNP10 CVR0
kopete (msn - raw protocol): [virtual void MSNSocket::slotReadyWrite()] Sending http command: CVR 1 0x0409 winnt 5.1 i386 MSNMSGR 7.0.0816 MSMSGS jegjessing@hotmail.com
kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] CVR 1 7.0.0816 7.0.0816 7.0.0816 http://msgr.dlservice.microsoft.com/download/9/9/d/99d86260-4765-4666-b3b7-39adfdd60305/Install_MSN_Messenger.exe http://messenger.msn.com
kopete (msn - raw protocol): [virtual void MSNSocket::slotReadyWrite()] Sending http command: USR 2 TWN I jegjessing@hotmail.com
kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] USR 2 TWN S lc=1033,id=507,tw=40,fs=1,ru=http%3A%2F%2Fmessenger%2Emsn%2Ecom,ct=1135135704,kpp=1,kv=7,ver=2.1.6000.1,rn=FSo8gQdg,tpf=398db67145602c4264f369c3d1c47ba1
kopete (msn): [void MSNSecureLoginHandler::slotLoginServerReceived(KIO::Job*)] loginnet.passport.com
kopete (msn): [void MSNAccount::slotNotifySocketClosed()]
libkopete: [void KopetePasswordRequest::begin()]
libkopete: [void Kopete::WalletManager::openWalletInner()]  wallet already open
libkopete: [void Kopete::WalletManager::slotGiveExistingWallet()]  with d->wallet 0x82edca0
libkopete: [virtual void KopetePasswordRequest::walletReceived(KWallet::Wallet*)]
libkopete: [void KopetePasswordGetRequestPrompt::doPasswordDialog(const QString&)]
kopete (msn): [virtual MSNNotifySocket::~MSNNotifySocket()]
Comment 2 Thiago Macieira 2005-12-21 11:39:37 UTC
*** Bug 118781 has been marked as a duplicate of this bug. ***
Comment 3 Matt Rogers 2005-12-21 14:26:24 UTC
*** Bug 118781 has been marked as a duplicate of this bug. ***
Comment 4 xeber 2005-12-21 16:55:11 UTC
*** This is the note with I open a new bug (118781) ***

*** and someone close my bug, and say is duplicate of this bug. ***
*** In this bug I ca not found what the problem, only tell that exists a problem with Kopete in OpenSUSE. ***

My english isn't very good.

I create passport.net acount with my yahoo e-mail account (...@yahoo.es). I am connect with this account in very differents plataforms without problems: Win98+MSN, WinXP+MSN, Fedora2+gaim, ubuntu+gaim, ubuntu+kopete.
But now, in working on a new office, when we are configuring the new instalation of SuSE 10. All of others can connect to MSN, but with my account no. The other workers of office have ...@hotmail.com passport.net account.

This is the error log:
$ kopete
kopete (msn): WARNING: [void MSNSocket::slotSocketError(int)] Error: 17 (el servidor remoto cerró la conexión)
 > (connection closed by remote server) <

NOTE: in other times, I use equal nickname to MSN account (...@yahoo.es), one day WinXP+MSN do not connect if the nickname is not changed. MSN server do not accept @. This is changed. 

Comment 5 xeber 2005-12-21 17:14:37 UTC
I'm connect to MSN with ...@yahoo.es using Gaim.
The problems only haves kopete.

Is possible resolve this problem. Now I can use gaim, but I prefere use kopete.
Comment 6 Thomas Beinicke 2005-12-22 13:10:37 UTC
Are you sure you updated to the most recent available version of Kopete?
What version of KDE does opensuse use and also the Kopete version.
Comment 7 Jarl Gjessing 2005-12-22 13:16:28 UTC
Hi, I use KDE 3.5 and the kopete version therein. It was OpenSUSE distributed packages located at one of the mirrors service supplementary packages.
I downloaded and compiled kdelibs-3.5 from ftp.kde.org and compiled kopete to get debug info. Suse compiles without. And this failed too.
Comment 8 xeber 2005-12-26 17:02:08 UTC
The version of my Kopete are in my initial bug, 0.10.3

I suppose that the problem was the implementation of MSN protocol. The conection was closed by remote server, probably because hotmail was changing there system and their change the comunication protocol or ....

Can any confirm this?

Is possible resolve this problem? And in affirmative case, who many time estimate it? (I want know that I can use kopete in few time or in the meantime I will find another solution like use Gaim)
Comment 9 Tais P. Hansen 2005-12-27 12:06:17 UTC
Just a note: I've had some weirdness around Kopete account passwords and kwallet when upgrading the last couple of times. I've solved most of the issues I had by deleting all accounts and re-adding them in the newest release of Kopete. Don't know if it'll work for you though.
Comment 10 Jarl Gjessing 2005-12-27 12:09:20 UTC
Nope, not for me. I've reinstalled several times and also removing the home folder so I really start from scratch. But still..
Comment 11 Tais P. Hansen 2005-12-27 12:16:41 UTC
Did you also try logging on manually? Don't enter your password in the account config and ask Kopete not to store the password. Restart Kopete and try to connect to MSN. Just an attempt to rule out the possibility of kwallet being the culprit.
Comment 12 Jarl Gjessing 2005-12-27 12:18:33 UTC
I tried both :-( And as I wrote before, this has lasted from SuSE version 9.3 I think I have had this problem for the past year or so. :-( And it is not only SuSE, also Mandrake. I think there is some setting or something with my account that provokes this problem.
Comment 13 Tais P. Hansen 2005-12-27 13:08:36 UTC
Could you provide me with a network dump of Kopete logging into MSN? I would like to compare it to my own and to the unofficial MSN protocol specs on the net (http://msnpiki.msnfanatic.com/). Maybe I could pinpoint something going wrong. Don't worry about your password. It's encrypted. You could also change your password right after making the network dump to be sure.

I'm unaware of you level of skills so here's a quick step by step if you have tcpdump installed:

* Shutdown Kopete.
* As root, run the command "tcpdump -i <interface> -pnes0 -w kopetedump.pcap port 1863", where <interface> is your network interface through which you're connected to the internet, i.e. eth0.
* Start Kopete and make sure it tries to log in to MSN. Give it a minute.
* Shutdown Kopete.
* Stop tcpdump (ctrl-c) and attach the file "kopetedump.pcap" to this bug; maybe one of the Kopete developers might also be interested in seeing the dump.

The pcap-file should be around 60 kb or so.
Comment 14 xeber 2006-01-24 11:12:17 UTC
Hi,

What happen with my bug. I post my problem, but I was not receive any answer.

Can I use kopete to connect to MSN with my ...@yahoo.es .Passport account?

Thanks to any answerer,
Comment 15 Chani 2006-01-24 18:32:17 UTC
> ------- Additional Comments From xeberlm yahoo es  2006-01-24 11:12 -------
> Hi,
>
> What happen with my bug. I post my problem, but I was not receive any answer.
>
> Can I use kopete to connect to MSN with my ... yahoo es .Passport account?
>


I use a yahoo.co.uk and it works fine.
I have no idea why you're having problems... have you tried upgrading?
deleting and re-adding accounts?
nobody can fix it if they don't know what's causing the problem...


--
This insane ranting was brought to you by evyl bananas, and the number 3.
www.chani3.com
Comment 16 xeber 2006-01-25 11:33:01 UTC
>------- Additional Comment #15 From Chani  2006-01-24 18:32 -------
>> ------- Additional Comments From xeberlm yahoo es  2006-01-24 11:12 -------
>> Hi,
>>
>> What happen with my bug. I post my problem, but I was not receive any answer.
>>
>> Can I use kopete to connect to MSN with my ... yahoo es .Passport account?
>>
>
>
>I use a yahoo.co.uk and it works fine.
>I have no idea why you're having problems... have you tried upgrading?

Yes, I upgrade the SuSE10 instaled in my computer.

>deleting and re-adding accounts?

Yes, I delete and re-add the account. And I delete config files, ~/.kde/share/config/kopeterc and ~/.kde/share/apps/kopete/

>nobody can fix it if they don't know what's causing the problem...
>

Thanks anyways
Comment 17 Sigbert Scheb-Bünner 2006-02-07 20:26:23 UTC
I use Mandriva Linux and I have a problem with Kopete, too. Yahoo.de account works at windows and Linux. To add Yahoo there is only a need for the ID without an password. 

MSN requires mail address and passwort. The msn mail address with password who works at Windows deliver the message "wrong password" 

Why is that problem. 





Second. at meetic. de the chat didnṫ work for html and ??? There is a need for plugin at Browser. I use mozilla compatible bowser (konquerer) The automatic installation for plugins didnṫ work and the mechanical copy has no result, too. 

How can I solve these problem. 

Would be nice to get help You can send a message at scheb-buenner@gmx.de
Comment 18 Matt Rogers 2006-03-03 16:54:16 UTC
does your password have a comma or some otherwise weird character in it?
Comment 19 Sigbert Scheb-Bünner 2006-03-04 09:11:38 UTC
Thanks Mr Rogers,  
 
For password I only use charcters and numbers. At PC's with window 
operating systems it works always.  
 
 
 --- Urspr
Comment 20 Jarl Gjessing 2006-03-04 10:35:19 UTC
Yes it does !?
Comment 21 Sigbert Scheb-Bünner 2006-03-04 10:53:39 UTC
I need help!!!  
 
 
 
 
--- Urspr
Comment 22 Jarl Gjessing 2006-03-05 07:00:46 UTC
In my case. It actually worked removing "," and "."
Comment 23 Sigbert Scheb-Bünner 2006-03-05 07:32:32 UTC
Thanks for information I have none in my passwort and none in my ID 
 
 --- Urspr
Comment 24 xeber 2006-03-07 12:41:07 UTC
> 
> ------- Additional Comment #18 From Matt Rogers 2006-03-03 16:54 -------
> does your password have a comma or some otherwise weird character in it?
> 

yes my password have comma and otherwise weired characters
Comment 25 Sigbert Scheb-Bünner 2006-03-07 16:10:53 UTC
it didn
Comment 26 xeber 2006-03-07 16:23:43 UTC
how you mean,
PassPort account?
 or
the password of the PassPort account?
Comment 27 Sigbert Scheb-Bünner 2006-03-07 19:28:16 UTC
The account is in form  abcde_123@hotmail.de and the password is abcd12ef
format. But thank for all your time, so I don
Comment 28 Olivier Goffart 2006-03-10 23:26:55 UTC
*** Bug 122924 has been marked as a duplicate of this bug. ***
Comment 29 Olivier Goffart 2006-03-10 23:44:46 UTC
SVN commit 517414 by ogoffart:

Attempt to fix Bug 118760
CCBUG: 118760

Does this fix the problem ?




 M  +1 -1      msnsecureloginhandler.cpp  


--- branches/kopete/0.12/kopete/protocols/msn/msnsecureloginhandler.cpp #517413:517414
@@ -74,7 +74,7 @@
 								"OrgVerb=GET,"
 								"OrgURL=http%3A%2F%2Fmessenger%2Emsn%2Ecom,"
 								"sign-in=" + KURL::encode_string(m_accountId) +
-								",pwd=" + KURL::encode_string( m_password ) +
+								",pwd=" + KURL::encode_string( m_password ).replace(',',"%2C") +
 								"," + m_authentification + "\r\n";
 
 //   warning, this debug contains the password
Comment 30 Olivier Goffart 2006-03-11 10:32:01 UTC
*** Bug 122736 has been marked as a duplicate of this bug. ***
Comment 31 Olivier Goffart 2006-03-11 11:48:58 UTC
I'd like someone which try the latest svn of 0.12 and tell me if it works with password with commas. 
If it work i can backport to 3.5 and close this report
Comment 32 Bartosz Fabianowski 2006-03-11 12:40:43 UTC
I just changed my password to "kopete,test" (without the quotes). Using my two week old checkout of 0.12, I then could not log into MSN anymore. After a svn up and recompile, login works as expected.

So I can confirm that yes, the patch fixes the problem.
Comment 33 Olivier Goffart 2006-03-11 13:09:21 UTC
SVN commit 517546 by ogoffart:

Backport fix for bug 118760 (problem to login with commas in password)

BUG: 118760




 M  +1 -1      msnsecureloginhandler.cpp  


--- branches/KDE/3.5/kdenetwork/kopete/protocols/msn/msnsecureloginhandler.cpp #517545:517546
@@ -74,7 +74,7 @@
 								"OrgVerb=GET,"
 								"OrgURL=http%3A%2F%2Fmessenger%2Emsn%2Ecom,"
 								"sign-in=" + KURL::encode_string(m_accountId) +
-								",pwd=" + KURL::encode_string( m_password ) +
+								",pwd=" + KURL::encode_string( m_password ).replace(',',"%2C") +
 								"," + m_authentification + "\r\n";
 
 //   warning, this debug contains the password