From kopete-devel Thu Oct 27 12:12:42 2005 From: Olivier Goffart Date: Thu, 27 Oct 2005 12:12:42 +0000 To: kopete-devel Subject: Re: [kopete-devel] Cannot log on to MSN anymore Message-Id: <200510271412.46999.ogoffart () tiscalinet ! be> X-MARC-Message: https://marc.info/?l=kopete-devel&m=113041520008522 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0447464903==" --===============0447464903== Content-Type: multipart/signed; boundary="nextPart2268549.2vGDODUoj0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2268549.2vGDODUoj0 Content-Type: multipart/mixed; boundary="Boundary-01=_6QMYDsUAzLcxa1j" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_6QMYDsUAzLcxa1j Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Le Jeudi 27 Octobre 2005 12:45, Thomas Beinicke a =E9crit=A0: > Is there any way to debug it a bit further? > So I can see why the socket is closed? > > If my password is refused then MSN would ask me again wouldn't it? > When I am logged on with Gaim and try to connect with Kopete I don't even > get kicked so it stops before actually authenticating? You are been logged off because your ticket was empty. Try this attached patch, it add some debug to understand what hapenned. --Boundary-01=_6QMYDsUAzLcxa1j Content-Type: text/x-diff; charset="iso-8859-1"; name="msndebug.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="msndebug.diff" Index: msnsecureloginhandler.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- msnsecureloginhandler.cpp (revision 474745) +++ msnsecureloginhandler.cpp (working copy) @@ -102,7 +102,7 @@ { QString httpHeaders =3D authJob->queryMetaData("HTTP-Headers"); =20 =2D// kdDebug(14140) << k_funcinfo << "HTTP headers: " << httpHeaders << = endl; + kdDebug(14140) << k_funcinfo << "HTTP headers: " << httpHeaders << endl; =20 // Check if we get "401 Unauthorized", thats means it's a bad password. if(httpHeaders.contains(QString::fromUtf8("401 Unauthorized"))) @@ -116,7 +116,7 @@ rx.search(httpHeaders); QString ticket =3D rx.cap(1); =09 =2D // kdDebug(14140) << k_funcinfo << "Received ticket: " << ticket << en= dl; + kdDebug(14140) << k_funcinfo << "Received ticket: " << ticket << endl; =09 emit loginSuccesful(ticket); } --Boundary-01=_6QMYDsUAzLcxa1j-- --nextPart2268549.2vGDODUoj0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDYMQ+z58lY8jWrL0RAirNAJsHhhvdR9ZjzmbhWBnpjTVrLfqoIQCfXM5K QYffBchkHAZHV1rIUBILiZw= =pWFO -----END PGP SIGNATURE----- --nextPart2268549.2vGDODUoj0-- --===============0447464903== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel --===============0447464903==--