Bug 105929

Summary: password for MSN Messenger wrong but works in hotmail
Product: [Unmaintained] kopete Reporter: sahale <iltc26>
Component: MSN PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: admin, astro_celine_pub, basur, cute_chiri, dasune, davidswin, dcharvey, ikhnaton2, jnsc, JoelMontes01, jroed, ksritom, lukas, malukinhaholtz, mario.colindres, mhchm, michael.moeller, mmodem00, naiara_barrado_izagirre, pigeonjim, r.wendes, saxgr, seboyoyo, te_estoy_esperando, the.underground.zone, webmaster, whammy_tom, wolfsschanze001, xmach01, yvesm.maurin
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Patch against the 3.3 branch

Description sahale 2005-05-19 08:06:20 UTC
Version:           0.8.3 (using KDE 3.2.3, compiled sources)
Compiler:          gcc version 3.3.3
OS:                Linux (i686) release 2.4.26

when trying to connect within Kopete it asks for login which is my msn email and also asks for password, i type my password and it says ( The password was wrong!  Please re-enter your password for MSN Messenger.  but when i type my password to get into my hotmail it works.  it has always worked until today.
Comment 1 Olivier Goffart 2005-05-19 08:42:58 UTC

*** This bug has been marked as a duplicate of 105920 ***
Comment 2 Olivier Goffart 2005-05-19 08:48:45 UTC
The login.passport.net server has been upgraded.
The way kopete used to authentify the password doesn't work anymore.

we're working on it.
Comment 3 Olivier Goffart 2005-05-19 10:40:16 UTC
*** Bug 105932 has been marked as a duplicate of this bug. ***
Comment 4 Olivier Goffart 2005-05-19 10:40:31 UTC
*** Bug 105936 has been marked as a duplicate of this bug. ***
Comment 5 Gael Beaudoin 2005-05-19 10:44:35 UTC
I have the same problem here I think.
The console output says :

QGArray::find: Index 0 out of range
kopete (msn): WARNING: [void MSNSocket::slotSocketError(int)] Error: 17

each time I try to connect.
It's strange because it seems to work randomly sometimes.
Comment 6 Cyrill Helg 2005-05-19 10:51:46 UTC
is there any workaround for this?
BTW: With gaim, the connection still works fine.
Comment 7 basur 2005-05-19 11:26:01 UTC
As I have described it in my bug report 105936 (sorry for the duplicate report but this one was not listed) kopete does not perform the login as described on the http://www.hypothetic.org/docs/msn/ page which is linked on the kopete homepage. The debug window in gaim shows that gaim follows exactly this description step by step and the login in works.
Kopete on the other hand does it definitely in a different way up to the point I understand the source code.
Comment 8 Rob Kaper 2005-05-19 11:57:18 UTC
Workaround: use a Jabber server such as jabber.org.uk that supports the MSN transport.
Comment 9 David 2005-05-19 12:50:26 UTC
what is the port of the jabber.org.uk the default 1863 is not working?
Comment 10 Olivier Goffart 2005-05-19 13:14:31 UTC
Aujourd'hui 11:57:34
   
SVN commit 415681 by ogoffart:

Repair the broken MSN due to microsoft server update.

The SslLoginHandler classe is imported from KMess code.

Bug: 105929
Bug: 105912



 M  +2 -1      trunk/KDE/kdenetwork/kopete/protocols/msn/Makefile.am  
 M  +24 -87    trunk/KDE/kdenetwork/kopete/protocols/msn/msnnotifysocket.cpp  
 M  +5 -4      trunk/KDE/kdenetwork/kopete/protocols/msn/msnnotifysocket.h  
 M  +1 -1      trunk/KDE/kdenetwork/kopete/protocols/msn/msnsocket.cpp  
 A             trunk/KDE/kdenetwork/kopete/protocols/msn/sslloginhandler.cpp   [License: GPL (v2+)]
 A             trunk/KDE/kdenetwork/kopete/protocols/msn/sslloginhandler.h   [License: GPL (v2+)]
Comment 11 Rob Kaper 2005-05-19 13:31:06 UTC
On Thursday May 19 2005 12:50 pm, David wrote:
> what is the port of the jabber.org.uk the default 1863 is not
> working?


Jabber is a different protocol, but it has a MSN transport on the server side, 
so you'll have to register a Jabber account there and then link your MSN 
account through right-mouse-button on the account icon (lightbulb) -> 
Services -> Query -> MSN Transport [development].
Comment 12 Olivier Goffart 2005-05-19 14:39:23 UTC
*** Bug 105948 has been marked as a duplicate of this bug. ***
Comment 13 Olivier Goffart 2005-05-19 17:53:04 UTC
*** Bug 105965 has been marked as a duplicate of this bug. ***
Comment 14 Olivier Goffart 2005-05-19 17:53:22 UTC
*** Bug 105967 has been marked as a duplicate of this bug. ***
Comment 15 Cyrill Helg 2005-05-19 18:12:06 UTC
Thanks Oliver for the changes is the code... now it works again fine here!

Thanks again for your great work!

Cyrill Helg
Comment 16 Olivier Goffart 2005-05-19 18:54:08 UTC
*** Bug 105972 has been marked as a duplicate of this bug. ***
Comment 17 Olivier Goffart 2005-05-19 18:56:52 UTC
For thoses who can't upgrade kopete, and still want to use MSN with it, I've wrote a document which tell how to use Jabber transports under Kopete.

http://wiki.kde.org/tiki-index.php?page=Kopete+Jabber+Transport
Comment 18 augusto 2005-05-19 19:26:33 UTC
Oliver, please complete your Comment #10 indicating how to make the changes on Kopete. The way it stands now it's useless for most users.

Thanks!
Comment 19 Olivier Goffart 2005-05-19 19:36:23 UTC
To get it working, you have to compile Kopete from the subversion repository
see http://wiki.kde.org/tiki-index.php?page=Kopete+SVN
The stable branch should work

Or wait KDE 3.4.1 which is planed in less than one week.
Comment 20 Conrad Hoffmann 2005-05-19 22:26:13 UTC
*** Bug 105985 has been marked as a duplicate of this bug. ***
Comment 21 Serguei Miridonov 2005-05-20 04:57:35 UTC
Is there any chance to backport these changes to earlier versions? I have Fedora Core 1 and use kopete-0.7.5. Unfortunately I can not upgrade in the nearest future because of need to maintain software compatibility with other computers.
Comment 22 Matt Rogers 2005-05-20 05:03:22 UTC
Unless you can get KDE 3.4.1 when it comes out, it's unlikely you'll be able to get an update.
Comment 23 Matt Rogers 2005-05-20 05:19:14 UTC
*** Bug 105997 has been marked as a duplicate of this bug. ***
Comment 24 Olivier Goffart 2005-05-20 08:50:39 UTC
The change has been backported in the KDE 3.3 branch. (Kopete 0.9)

They could eventually be backported in the 3.2 branch (Kopete 0.8) But
it's not possible to modify Kopete 0.7 because the branch no longer exist (the kdenonbeta tree has been removed)
Comment 25 Olivier Goffart 2005-05-20 08:51:40 UTC
*** Bug 105998 has been marked as a duplicate of this bug. ***
Comment 26 Serguei Miridonov 2005-05-20 16:44:39 UTC
Does ot mean that people running KDE 3.1.4 with Qt 3.1.2, for example, have no chance to use kopete with MSN anymore?
Comment 27 Rob Kaper 2005-05-20 17:38:19 UTC
On Friday May 20 2005 4:44 pm, Serguei Miridonov wrote:
> Does ot mean that people running KDE 3.1.4 with Qt 3.1.2, for example, have
> no chance to use kopete with MSN anymore?


Not without using the Jabber workaround. That's the risk of using a 
proprietary protocol.
Comment 28 Olivier Goffart 2005-05-20 17:49:05 UTC
Created attachment 11117 [details]
Patch against the 3.3 branch

> Does ot mean that people running KDE 3.1.4 with Qt 3.1.2,
> for example, have no chance to use kopete with MSN anymore? 

The patch could be applied to any source.
I've attached the patch (already applied) against the 3.3 branch, which is the
same as the one of the 3.4 branch, and which will probably work fine with
Kopete 0.8.x and the latest 0.7

If distributors want, they can packages an old version of kopete with this
patch.
Comment 29 Iuri Fiedoruk 2005-05-20 19:35:39 UTC
Just a small info:
I've just got kopete from svn, the bug seems to be fixed, but I had to erase my kopete directories in ~/.kde/share/apps, because when msn connected, kopete frooze.
Now most of my contacts simply vanished, just a few of them where returned as kopeted got them from icq and msn servers.
Comment 30 Serguei Miridonov 2005-05-20 21:50:58 UTC
> The patch could be applied to any source. 
> I've attached the patch (already applied) against the 3.3 branch, which is the 
> same as the one of the 3.4 branch, and which will probably work fine with 
> Kopete 0.8.x and the latest 0.7

Thank you Olivier. I have applied it to 0.7.5 version and after manual fixing some failed hunks it compiled well and seems to work now.
Comment 31 Olivier Goffart 2005-05-21 00:18:41 UTC
*** Bug 106026 has been marked as a duplicate of this bug. ***
Comment 32 Matt Rogers 2005-05-21 05:18:52 UTC
*** Bug 106045 has been marked as a duplicate of this bug. ***
Comment 33 Olivier Goffart 2005-05-21 10:42:04 UTC
*** Bug 106051 has been marked as a duplicate of this bug. ***
Comment 34 Roland Bilger 2005-05-21 18:52:10 UTC
To get it working, you have to compile Kopete from the subversion repository
see http://wiki.kde.org/tiki-index.php?page=Kopete+SVN
The stable branch should work 

Sorry to comme back on this matter, but the links to the stable version on the mentionned page starts with svn://... and my mozilla tells that's not a protocole,
I tried to find on my own at the kde web, but no chance.

Thanks for a little help, Roland
Comment 35 Matt Rogers 2005-05-21 18:57:55 UTC
using svn requires the svn client, you can't just use mozilla for this.
Comment 36 Nicolas Blais 2005-05-22 19:29:02 UTC
I get this error when I try to compile kdenetwork with your patch:
then mv -f ".deps/msnnotifysocket.Tpo" ".deps/msnnotifysocket.Plo"; else rm -f ".deps/msnnotifysocket.Tpo"; exit 1; fi
msnnotifysocket.cpp: In constructor `MSNNotifySocket::MSNNotifySocket(MSNAccount*, const QString&, const QString&)':
msnnotifysocket.cpp:52: error: invalid conversion from `int' to `SslLoginHandler*'
gmake[5]: *** [msnnotifysocket.lo] Error 1
gmake[5]: Leaving directory `/usr/ports/net/kdenetwork3/work/kdenetwork-3.4.0/kopete/protocols/msn'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/ports/net/kdenetwork3/work/kdenetwork-3.4.0/kopete/protocols/msn'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/net/kdenetwork3/work/kdenetwork-3.4.0/kopete/protocols'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/net/kdenetwork3/work/kdenetwork-3.4.0/kopete'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/kdenetwork3/work/kdenetwork-3.4.0'
gmake: *** [all] Error 2
*** Error code 2

Any solutions?
Comment 37 Matt Rogers 2005-05-22 21:11:22 UTC
*** Bug 106130 has been marked as a duplicate of this bug. ***
Comment 38 Olivier Goffart 2005-05-22 23:13:27 UTC
I forgot to include the patch against Makefile.in as it is auto generated.

Here is a patch agains KDE 3.4 tarbal which contains it.
http://lists.kde.org/?l=kopete-devel&m=111678480704870&w=2

But I don't think it will work on others version.
Comment 39 Matt Rogers 2005-05-23 05:21:51 UTC
*** Bug 100869 has been marked as a duplicate of this bug. ***
Comment 40 Engin AYDOGAN 2005-05-23 08:58:53 UTC
*** Bug 106144 has been marked as a duplicate of this bug. ***
Comment 41 Don Wu 2005-05-24 15:19:29 UTC
Sorry in bothering you. I am an absolute beginner in all this but I am really eager in getting kopete to work with MSN again. Please, could somebody give me a step-by-step instruction of what to do to fix this? Thanks alot!
Don
Comment 42 Engin AYDOGAN 2005-05-24 15:30:04 UTC
Don,
You can install from tarballs OR svn. Installing from tarballs are easier.

a) Fixed tarballs are here: http://kopete.kde.org/index.php?page=downloads
b) SVN instructions are here: http://kopete.kde.org/index.php?page=cvs

If you need further assistance, plesae drop by #kopete at irc.freenode.org.
Comment 43 Don Wu 2005-05-24 17:23:50 UTC
Thanks a lot for the help. I have downloaded the latest verion of kopete but it seems my system is too old for that release. I am running with mandrake 10.0 and kde 3.2. I coudl get kopete 9.2 running but not 9.3 or 10.0. When I try to install the latter two by running 'configure', I get an error asking for Qt3.3 where I only have Qt3.2...
Is there a way to get kopete 9.2 running again as well?
Again, sorry for the questions, I am just not familiar with all these. Thanks a lot again.
Don
Comment 44 Thanos Kyritsis 2005-05-24 17:41:32 UTC
I just compiled 0.10.1 from http://kopete.kde.org/index.php?page=downloads (which by the way reports 0.10.2 on About Kopete) and I still cannot login to the MSN network.

Watching the messages while running it through the console reports:
QGArray::find: Index 0 out of range
kopete (msn): WARNING: [void MSNSocket::slotSocketError(int)] Error: 17

And then it asks me to type my MSN password (again).
Comment 45 Matt Rogers 2005-05-25 02:37:53 UTC
Don Wu: in the kopete 0.9.3 tarball, you need to open up configure.in.in and make sure the first line reads: "#MIN_CONFIG(3.2)". If you have to change configure.in.in, you'll need to regenerate the configure script, which you can do by running the following command: "make -f admin/Makefile.common"

In order to run the above make command, you'll need to have automake and autoconf installed and perhaps some other development packages for things like libxml and libxslt, etc. The configure script should tell you everything that you're missing.

Hope this helps.
Comment 46 Matt Rogers 2005-05-25 02:39:59 UTC
Thanos Kyritsis: Please try again. :) People have verified that it does indeed work. Hopefully you can get it working.
Comment 47 Matt Rogers 2005-05-26 01:56:49 UTC
*** Bug 106318 has been marked as a duplicate of this bug. ***
Comment 48 Olivier Goffart 2005-05-26 14:41:59 UTC
*** Bug 106335 has been marked as a duplicate of this bug. ***
Comment 49 Rex Dieter 2005-05-26 20:05:53 UTC
*** Bug 106341 has been marked as a duplicate of this bug. ***
Comment 50 Jessica Barrett 2005-06-13 14:00:57 UTC
I have been unable to connect to MSN, and have tried the jabber method. I can now connect to jabber on kopete, but cannot add any of my MSN contacts. I have tried using the add contact then foo%hotmail.com@msn.bar.com method, but the contact I am trying to add still doesn't show up in kopete.
Comment 51 Jessica Barrett 2005-06-13 16:16:08 UTC
I've got it working now. Thanks, Jessica.
Comment 52 Olivier Goffart 2005-06-13 22:52:06 UTC
*** Bug 107353 has been marked as a duplicate of this bug. ***
Comment 53 Olivier Goffart 2005-06-20 23:59:36 UTC
*** Bug 107810 has been marked as a duplicate of this bug. ***
Comment 54 chiri 2005-06-23 18:54:32 UTC
i have the same problem,so what can i do? im a bit confused..
Comment 55 Conrad Hoffmann 2005-06-23 20:00:42 UTC
You need to get a newer version of kopete, because the MSN servers have changed something in the protocol
Comment 56 Thiago Macieira 2005-07-04 03:17:27 UTC
*** Bug 108517 has been marked as a duplicate of this bug. ***
Comment 57 Thiago Macieira 2005-07-09 04:38:34 UTC
*** Bug 108797 has been marked as a duplicate of this bug. ***
Comment 58 Michaël Larouche 2005-07-09 19:05:21 UTC
*** Bug 108817 has been marked as a duplicate of this bug. ***
Comment 59 Simon Yuan 2005-07-10 14:04:50 UTC
This problem is here again  :(
Using KDE 3.4.1 on Gentoo
Yes it worked when I upgraded to KDE 3.4.1, but it's now broken again.

Side comment:
For a lot of people (including myself), it's not that they like using MSN, but quite often because too many of their friends use them, and they are forced to use MSN. Yes we can convince people to avoid using MSN but some people really like MSN, they think some features on MSN are cool, like drawing board/games/emotion icons etc etc. It's not very easy to convince them, and as long as majority of those people staying with MSN, we are stuck with MSN.
Comment 60 Thiago Macieira 2005-07-15 04:23:03 UTC
*** Bug 109113 has been marked as a duplicate of this bug. ***
Comment 61 Michaël Larouche 2005-09-25 15:56:45 UTC
*** Bug 113290 has been marked as a duplicate of this bug. ***
Comment 62 Marcelo 2005-10-13 03:19:02 UTC
KDE 3.4.0
Kopete 0.10

Hi!

I'm facing the same problem, the Kopete tells me that I wrote a wrong password but I can access hotmail without any problems.

How can I fix the problem?

Thanks a lot,

Marcelo
Comment 63 Thomas Beinicke 2005-10-13 10:24:24 UTC
Upgrade your KDE/Kopete the bug has been fixed for a long time already.
Comment 64 81joe81 2005-10-20 14:16:35 UTC
I encountered sometimes this bug with my old kopete 0.9 version..
I worked around this problem in this way: when it asks for the pass, I used to press many times che Canc and Backspace button (as if it had stored a wrong password) and then to put in the password again..
I know, this was very strange.. But it worked every time I tried it!!
Anyway, with a newer version this bug has never happened..
Bye,
Federico
Comment 65 Olivier Goffart 2005-11-03 14:11:12 UTC
*** Bug 115608 has been marked as a duplicate of this bug. ***
Comment 66 Thiago Macieira 2005-11-24 06:52:43 UTC
*** Bug 116977 has been marked as a duplicate of this bug. ***
Comment 67 Jéssica 2010-12-09 16:30:12 UTC
i can't enter in messenger
Comment 68 Alekhs Duarte 2011-12-23 03:22:52 UTC
(In reply to comment #11)
> On Thursday May 19 2005 12:50 pm, David wrote:
> > what is the port of the jabber.org.uk the default 1863 is not
> > working?
> 
> 
> Jabber is a different protocol, but it has a MSN transport on the server side, 
> so you'll have to register a Jabber account there and then link your MSN 
> account through right-mouse-button on the account icon (lightbulb) -> 
> Services -> Query -> MSN Transport [development].
>