Author Topic: MSN protocol  (Read 11034 times)

0 Members and 1 Guest are viewing this topic.

Offline leecherTopic starter

  • Newbie
  • *
  • Posts: 38
  • Country: at
  • Karma: 8
  • Jabber ID
Re: MSN protocol
« Reply #75 on: 04 11 2015, 07:56:10 »
Auth error should hopefully be fixed now in current build, sorry for the inconvenience.
Technical details: Tokens are refreshed correctly, but for contact list fetching, an auth Cookie (WLSSC) is required which cannot be refreshed therefore requiring a complete relogin after it expired.
 

Offline Corak

  • Jr. Member
  • **
  • Posts: 93
  • Country: ru
  • Karma: 8
  • IDDQD
    • Corak's Software Incorporated
  • Jabber ID
  • Version Info
Re: MSN protocol
« Reply #76 on: 06 11 2015, 08:07:29 »
Todays nighly build (Yesterday's commit) of MSN plugin is broken (not connecting) - please fix it. Restored to yesterday's nigthly build - all perfect.

Loops on
[10:25:54 1A28] [MSN_1] (013FDA68:1884) Data sent
CNT 1 CON 116

<connect><ver>2</ver><agent><os>winnt</os><osVer>5.2</osVer><proc>x86</proc><lcid>en-us</lcid></agent></connect>
 

Offline Wishmaster

  • Developer
  • Global Moderator
  • *****
  • Posts: 608
  • Country: de
  • Karma: 31
  • Anti-Hero
  • Version Info
Re: MSN protocol
« Reply #77 on: 06 11 2015, 10:28:17 »
Sorry, my fault :( leecher fixed it
 

Offline Corak

  • Jr. Member
  • **
  • Posts: 93
  • Country: ru
  • Karma: 8
  • IDDQD
    • Corak's Software Incorporated
  • Jabber ID
  • Version Info
Re: MSN protocol
« Reply #78 on: 11 11 2015, 09:23:14 »
Got new crash on MSN when lost connection. On "msn_mime.cpp (184): MimeHeaders::readFromBuffer"

http://trac.miranda-ng.org/ticket/1087


msn_mime.cpp (184): MimeHeaders::readFromBuffer
Code: [Select]
Likely cause of the crash plugin: MSN protocol

Exception: Access Violation at address 16152982. Reading from address 00000000.

Stack Trace:
---------------------------------------------------------------
16152982 (MSN 16140000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_mime.cpp (184): MimeHeaders::readFromBuffer
16159A32 (MSN 16140000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_commands.cpp (1034): CMsnProto::MSN_HandleCommands
1614558B (MSN 16140000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_threads.cpp (255): CMsnProto::MSNServerThread
16144E1C (MSN 16140000): e:\sources\miranda_ng_compilation\protocols\msn\src\msn_threads.cpp (679): CMsnProto::ThreadStub
1224C536 (mir_core 12240000): e:\sources\miranda_ng_compilation\src\mir_core\src\threads.cpp (154): forkthreadex_r
78AFC556 (MSVCR100 78AA0000): (filename not available) (0): endthreadex
78AFC600 (MSVCR100 78AA0000): (filename not available) (0): endthreadex
7C80B729 (kernel32 7C800000): (filename not available) (0): GetModuleFileNameA
 

Offline Wishmaster

  • Developer
  • Global Moderator
  • *****
  • Posts: 608
  • Country: de
  • Karma: 31
  • Anti-Hero
  • Version Info
Re: MSN protocol
« Reply #79 on: 11 11 2015, 12:45:56 »
It should be fixed.
 

Offline andng

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: MSN protocol
« Reply #80 on: 17 03 2016, 11:02:50 »
MSN: After few successful login attempts with latest development version it stopped working. Can't log in anymore. Here is the log:
 

Offline leecherTopic starter

  • Newbie
  • *
  • Posts: 38
  • Country: at
  • Karma: 8
  • Jabber ID
Re: MSN protocol
« Reply #81 on: 17 03 2016, 12:34:57 »
Seems like skypewebexperience.live.com died.
You can try if it helps to add this entry to your windows\system32\drivers\etc\hosts file:

23.97.130.30 skypewebexperience.live.com

(didn't test, though, but the service is still available on the IP at least)
 

Offline andng

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: MSN protocol
« Reply #82 on: 17 03 2016, 18:45:43 »
Quote (selected)
23.97.130.30 skypewebexperience.live.com

didn't help... Attaching the corresponding log
 

Offline leecherTopic starter

  • Newbie
  • *
  • Posts: 38
  • Country: at
  • Karma: 8
  • Jabber ID
Re: MSN protocol
« Reply #83 on: 17 03 2016, 21:13:56 »
Hi,

Seems that they changed logon method so that web-based logon works differently..
Any volunteer to debug that javascript-mess from outlook.com? ;)

In the meantime, use Skylogin (https://github.com/msndevs/skylogin) fallback.
Compiled it for 32bit here: http://dose.0wnz.at/Skype/skylogin_32.zip
I don't have a 64bit machine/compiler, so for 64bit you need to compile it yourself.
Put the DLL into the plugin-folder and it should work again.

Skylogin needs OpenSSL installed (LIBEAY32.DLL).

Regards
« Last Edit: 17 03 2016, 22:08:14 by leecher »
 
The following users thanked this post: Ret, andng, Per Hansson

Offline andng

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: MSN protocol
« Reply #84 on: 18 03 2016, 09:17:57 »
Now it works - thanks a lot for quick help!

Sorry - no java experience at all... :)
 

Offline billf

  • Newbie
  • *
  • Posts: 8
  • Country: aq
  • Karma: 0
Re: MSN protocol
« Reply #85 on: 20 04 2016, 13:11:06 »
So is MSN protocol dev build broken for now without SkyLogin? In the log it seems to get past the live.com login and then:

[6:59:59 1A80] [MSN] Sending Handshake to Login Server 91.190.216.17..
[7:00:21 1A80] [MSN] Connection refused..
[7:00:21 1A80] [MSN] Sending Handshake to Login Server 91.190.218.40..
[7:00:42 1A80] [MSN] Connection refused..
[7:00:42 1A80] [MSN] Login Failed..
[7:00:42 1A80] [MSN] (0000000003DC1E58:1356) Data sent
OUT 2 CON 0

Connection settings:

Direct: s.gateway.messenger.live.com
Gateway: geo.gateway.messenger.live.com
msn.dll v 0.12.11

edit: I tried the TOS link from earlier in the thread but that didn't do anything different afterwards. I already made sure the login worked with live.com manually.
edit2: I have the skypeweb protocol working but just wanted to see if I could get the MSN protocol to work with my live.com login instead of a skype user.

I'm not keen on posting the entire netlog in case I miss editing out my credentials or what-have-you.
« Last Edit: 20 04 2016, 13:19:20 by billf »
 

Offline leecherTopic starter

  • Newbie
  • *
  • Posts: 38
  • Country: at
  • Karma: 8
  • Jabber ID
Re: MSN protocol
« Reply #86 on: 20 04 2016, 15:00:32 »
Seems like Login server cannot be reached from your site?
May be a connectivity-Problem, login code is using direct socket connections, so no Proxy or netlib support, maybe you got blocked by a firewall or something?
 

Offline Per Hansson

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: MSN protocol
« Reply #87 on: 05 03 2017, 12:50:24 »
In the meantime, use Skylogin (https://github.com/msndevs/skylogin) fallback.
Compiled it for 32bit here: http://dose.0wnz.at/Skype/skylogin_32.zip
I don't have a 64bit machine/compiler, so for 64bit you need to compile it yourself.
Put the DLL into the plugin-folder and it should work again.

Skylogin needs OpenSSL installed (LIBEAY32.DLL).

Regards
Hi, new version released on Github...
Could you compile it or give some details about what's needed to compile it?
 

Offline leecherTopic starter

  • Newbie
  • *
  • Posts: 38
  • Country: at
  • Karma: 8
  • Jabber ID
Re: MSN protocol
« Reply #88 on: 05 03 2017, 13:05:07 »
I already committed the changes into the Miranda NG repository before I even updated the github repo for the login library ;)
https://github.com/miranda-ng/miranda-ng/commit/d057552cc40769f6ba988a9c7a55957dea2e7e2a

Btw.: External DLL isn't needed anymore for quite some time now, because library code was linked into MSN.dll (due to the fact that the other web-based login mechanism which was in MSN.dll earlier died).
« Last Edit: 05 03 2017, 13:06:54 by leecher »
 
The following users thanked this post: Per Hansson

Offline yvesson

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: MSN protocol
« Reply #89 on: 02 07 2017, 09:24:56 »
Hej,
What's the point of the MSN protocol nowadays ?
Seems I am logged in, yet I can't see anyone online. Though some contacts should be, since there are on the hotmail Email site ?
Though they would still appear some months ago, but they disappeared from miranda MSN one by one.