SSL dll's installed incorrectly

Talk about anything about MSN Messenger for mIRC or leave some comments.
Post Reply
Tovenaar

SSL dll's installed incorrectly

Post by Tovenaar »

I have W98SE
I installed msn for mirc 3.63
I updated to the latest mIRC version 6.3
I get this warning after typing /MSN
Warning: You do not have the SSL dll's installed correctly, you may need to restart mIRC. See SSL.txt in the MSN for mIRC directory for information on how to enable SSL support (don't worry, it's very simple!). MSN for mIRC will automatically try to fallback on other connection methods, but these can be unreliable. You are strongly advised to read SSL.txt.
So i did read, and install the DLL's again in system32
Still the same problem
I unchecked menu: Options > lock > decode
during connection i read:
*** Connecting...
*** Authorising via SSL... (this may take a while)
*** OpenSSL connection attempt timed out. Falling back on WinHTTP method...
*** Disconnected
Anybody knows/solved this one
Tovenaar
tovenaar

* No such Com 'auth' open (line 15, msnauth2kxp.mrc)

Post by tovenaar »

i also get this message
* No such Com 'auth' open (line 15, msnauth2kxp.mrc)
thanks[/quote]
andyc
MSN for mIRC Creator
Posts: 243
Joined: Sun Dec 01, 2002 21:26 pm

Post by andyc »

The com 'auth' error is because the fallback method only works on Windows XP/Vista, and not 98SE. Your only chance of getting it working is to get the OpenSSL dll's working.

The fact that they're not working is odd, mIRC doesn't appear to be loading them correctly. A few people have reported this now. I'll take it up through the official mIRC channels, it could be an mIRC 6.3 bug, like the /background errors.
andyc
MSN for mIRC Creator
Posts: 243
Joined: Sun Dec 01, 2002 21:26 pm

Post by andyc »

OK - I've added another dll to the MSN for mIRC package that should fix your problem, msvcr71.dll.

I'd be really grateful if you could redownload version 3.63 and ensure that msvcr71.dll is also in the same place as the ssl dll's, in the mIRC folder. Once doing this give the script another go. It should work then.

Please let me know if this works or not.
Tovenaar

/sockread: socket unavailable (line 49, msnnewauth.mrc)

Post by Tovenaar »

andyc wrote:OK - I've added another dll to the MSN for mIRC package that should fix your problem, msvcr71.dll.

I'd be really grateful if you could redownload version 3.63 and ensure that msvcr71.dll is also in the same place as the ssl dll's, in the mIRC folder. Once doing this give the script another go. It should work then.

Please let me know if this works or not.
Thank you for your quick reply and solution.
This works so far, the warning does not show up anymore
apparently it fixed one problem.
But now an other error message appears in mirc:
/sockread: socket unavailable (line 49, msnnewauth.mrc)
And during connect the same messages
*** Authorising via SSL... (this may take a while)
*** OpenSSL connection attempt timed out. Falling back on WinHTTP method...
*** Disconnected
am i one step closer to MSN ?
andyc
MSN for mIRC Creator
Posts: 243
Joined: Sun Dec 01, 2002 21:26 pm

Post by andyc »

Hurrah! You're one step closer, yep!

What it looks like has happened here is the SSL connection has timed out, but then some data has been received on the SSL connection. Did you get two popup windows that you had to click accept on? You need to accept each one of these within 20 odd seconds.

Ensure you promptly click accept on the windows, perhaps give it another whirl.

Oh, and make sure %msn.oldauth isn't set:

/unset %msn.oldauth
Tovenaar

* /sockread: socket unavailable (line 49, msnnewauth.mrc)

Post by Tovenaar »

andyc wrote:Hurrah! You're one step closer, yep!

What it looks like has happened here is the SSL connection has timed out, but then some data has been received on the SSL connection. Did you get two popup windows that you had to click accept on? You need to accept each one of these within 20 odd seconds.

Ensure you promptly click accept on the windows, perhaps give it another whirl.

Oh, and make sure %msn.oldauth isn't set:

/unset %msn.oldauth
I got initially two popup windows, and they kept coming each time i connected, so i checked to accept them always.
I do not get them anymore.
I tried the command on the commandline , no change

started mIRC again and the command again, still the same error:
* /sockread: socket unavailable (line 49, msnnewauth.mrc)

BTW, i deleted the background image, and get an error on that,
This must be no problem i think, or is it ?

PS, the confirmation code is annoying, it feels like i am password guessing
it takes about ten times untill ik have it right
andyc
MSN for mIRC Creator
Posts: 243
Joined: Sun Dec 01, 2002 21:26 pm

Post by andyc »

To avoid the confirmation code you can register with the site (takes 10secs, no email confirmation or anything). When you're registered it doesn't ask for a code when you post. Just saves me deleting 30 spam threads a day.

The two windows you've ticked the "don't ask" boxes on are fine, yes.

The background not being there shouldn't stop this, no.

Can you type:
/set %msn.debug 1

and then try to reconnect, and paste me the contents of the messenger window.

Also, once you've tried to connect can you type:
//echo -a %msnauthurl

and tell me what is shown.

These must just be windows 98 peculiaritys, seems to work fine in XP. I'd really like to get to the bottom of it!
Tovenaar
Posts: 1
Joined: Wed Oct 17, 2007 8:09 am

Post by Tovenaar »

Hey andyc i really appreciate your effort.

thanks fot the tips, i registered.

I cut some numbers and my emailaddres and codes, i hope i did not cut relevant information.
andyc wrote:Can you type:
/set %msn.debug 1

and then try to reconnect, and paste me the contents of the messenger window.
Start of @Messenger buffer: Wed Oct 17 10:13:07 2007
v3.63
---- Message of the Day ----
New Version! Version 3.63 has been released. http://www.burningimage.net/msn for info.
*** Connecting...
*** Connected
VER 0 MSNP8 CVR0
VER 0 MSNP8 CVR0
CVR 1 0x0409 win 5.10 i386 MSNMSGR 7.0.0816 MSMSGS [cut--emailaddres]
CVR 1 7.0.0820 7.0.0820 7.0.0820 http://msgruser.dlservice.microsoft.com/download/9/7/6/[cut--code-numbers]/Install_MSN_Messenger_DL.exe http://messenger.msn.com
USR 2 TWN I [cut--emailaddres]
XFR 2 NS 207.46.110.20:1863 0 65.54.239.20:1863
Switching to server 207.46.107.91 ...
*** Connected
VER 3 MSNP8 CVR0
VER 3 MSNP8 CVR0
CVR 4 0x0409 win 5.10 i386 MSNMSGR 7.0.0816 MSMSGS [cut--emailaddres]
CVR 4 7.0.0820 7.0.0820 7.0.0820 http://msgruser.dlservice.microsoft.com/download/9/7/6/[cut--code-numbers]/Install_MSN_Messenger_DL.exe http://messenger.msn.com
USR 5 TWN I [emailaddres]
USR 5 TWN S lc=1033,id=507,tw=40,ru=http://messenger.msn.com,ct=[cut],kpp=1,kv=9,ver=2.1.6000.1,rn=3*S8Ljhe,tpf=[cut-code]
*** Authorising via SSL... (this may take a while)
~~~ HTTP/1.1 200 OK
~~~ Connection: close
~~~ Date: Wed, 17 Oct 2007 08:06:16 GMT
~~~ Server: Microsoft-IIS/6.0
~~~ PPServer: PPV: 30 H: BAYPPPRTS2B01 V: 0
~~~ P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"
~~~ X-Powered-By: ASP.NET
~~~ PassportURLs: DARealm=Passport.Net,DALogin=login.live.com/login2.srf,DAReg=https://accountservices.passport.net/UI ... Version=14
~~~ Content-Length: 0
~~~ Content-Type: text/html
~~~ Cache-control: private
~~~ -
~~~ HTTP/1.1 302 Object moved
~~~ Connection: close
~~~ Date: Wed, 17 Oct 2007 08:06:17 GMT
~~~ Server: Microsoft-IIS/6.0
~~~ PPServer: PPV: 30 H: BAYPPLOGN2A26 V: 0
~~~ P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"
~~~ X-Powered-By: ASP.NET
~~~ Content-Type: text/html
~~~ Location: http://login.live.com/login.srf?lc=0&id ... 500.0&tpf=[cut-code]
~~~ HTTP/1.1 200 OK
~~~ Connection: close
~~~ Date: Wed, 17 Oct 2007 08:06:19 GMT
~~~ Server: Microsoft-IIS/6.0
~~~ PPServer: PPV: 30 H: BAYPPLOGN2A29 V: 0
~~~ P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"
~~~ X-Powered-By: ASP.NET
~~~ Content-Type: text/html; charset=iso-8859-1
~~~ Expires: Wed, 17 Oct 2007 08:05:19 GMT
~~~ Cache-Control: no-cache
~~~ Pragma: no-cache
~~~ P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
~~~ Set-Cookie: MSPRequ=lt=[cut]; path=/;version=1
~~~ Set-Cookie: MSPOK=[cut]; domain=login.live.com;path=/;version=1
~~~ Content-Length: 9291
~~~ -
~~~ <!-- ServerInfo: BAYPPLOGN2A29 2007.07.10.00.04.54 Live1 Unknown LocVer:0 -->
~~~ <!-- PreprocessInfo: ppbuild:PASSBLD01, Wed 10:03:2007-11:28:13.58 -- Version: 5,0,7855,0 -->
*** OpenSSL connection attempt timed out. Falling back on WinHTTP method...
*** Disconnected
Also, once you've tried to connect can you type:
//echo -a %msnauthurl

and tell me what is shown.
login.live.com/login.srf?lc=0&id=10&ru=https:/login.live.com/pp500/login2.srf&tw=200&kv=7&ct=[cut-number]&cb=&ver=5.0.7500.0&tpf=[cut-code-number]

These must just be windows 98 peculiaritys, seems to work fine in XP. I'd really like to get to the bottom of it!
in debug mode i see also new errors in the mIRC status window:

* /sockread: socket unavailable (line 49, msnnewauth.mrc)
-
* /aline: line too long (line 52, msnnewauth.mrc)
-
* /aline: line too long (line 52, msnnewauth.mrc)
-
* /aline: line too long (line 52, msnnewauth.mrc)
-
* /aline: line too long (line 52, msnnewauth.mrc)
-
* /aline: line too long (line 52, msnnewauth.mrc)
-
* /aline: line too long (line 52, msnnewauth.mrc)

Maybe this can be helpfull too.
That's all i can do for now.
Looking out for plane text MSN ( without "curls and pearls and diamonds ;-)"

Tovenaar
andyc
MSN for mIRC Creator
Posts: 243
Joined: Sun Dec 01, 2002 21:26 pm

Post by andyc »

For some reason the server isn't coming back with an authentication string. Unusually it's coming back with about 9kb of data, which mIRC can't display because it's too long.

This data is more than likely an http error message of some sort, have you tried another email address, and does this email address you're trying work in the official client?
andyc
MSN for mIRC Creator
Posts: 243
Joined: Sun Dec 01, 2002 21:26 pm

Post by andyc »

Tovenaar, I think I've found the problem.

Can you find:

Code: Select all

    else {
      if ( %msn.oldauth == 1) { 
        set %vknc $gettok(%msn.data,5-,32)
        openssl
      }
      else { msnnewauth }
in msn.mrc and replace it with:

Code: Select all

    else {
      if ( %msn.oldauth == 1) { 
        set %vknc $gettok(%msn.data,5-,32)
        openssl
      }
      else { 
        hadd -m msnauth info Passport1.4 OrgVerb=GET,OrgURL=http%3A%2F%2Fmessenger%2Emsn%2Ecom,sign-in= $+ $replace(%msn.user,@,$(%40,0)) $+ ,pwd= $+ %msn.pass $+ , $+ $gettok(%msn.data,5-,32) 
        msnnewauth 
      }
I'm convinced this will fix your problem - a silly error on my part.
Post Reply