Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Windows Live > Live Messenger

Vista - MSNP12: disconnecting after UUX or QRY

Reply
 
Old 10-30-2008   #1 (permalink)
mynetx


 
 

MSNP12: disconnecting after UUX or QRY

While working on an implementation of MSNP12 for PHP, I found that the
Notification Server is disconnecting me (signing me out) as soon as I
send a UUX command with the PSM and MachineGuid. It does not sign me out
if I do not try to set my PSM etc, by omitting the UUX.
Quote:
Quote:
Quote:

>>> = Send, <<< = Receive
[ Tweener Authentication etc, then: ]
Quote:
Quote:
Quote:

>>> SYN 7 2008-10-28T19:51:36.0000000+01:00
2008-10-28T19:51:36.0000000+01:00
<<< SYN 7 2008-10-29T11:19:50.61-07:00 2008-10-26T04:41:38.46-07:00 5 2
<<< GTC A
<<< BLP AL
<<< PRP MFN My%20Name
<<< PRP MBE N
<<< PRP WWE 0
<<< LSG Favorites dc12d58c-dee9-44d3-****-0d93e****d50
<<< LST N=mynetx@xxxxxx F=mynetx
C=8418cb1c-e95c-4810-****-49909****213 11 1
3d4ad801-712a-4a0a-****-ed203****655
Quote:
Quote:
Quote:

>>> CHG 8 BSY 1073741856
<<< CHG 8 BSY 1073741856
<<< MSG Hotmail Hotmail 289\r\n
MIME-Version: 1.0\r\nContent-Type: text/x-msmsgsinitialmdatanoti...
<<< ILN 8 NLN mynetx@xxxxxx mynetx 2520567852 %3Cmsnobj%20C...
<<< UBX mynetx@xxxxxx 620\r\n
<Data><PSM>Minor WLMStatus update</PSM><CurrentMedia></CurrentMe...
Quote:
Quote:
Quote:

>>> UUX 9 88\r\n
<Data><PSM>Last test: 30 Oct 2008 21 23 57</PSM><CurrentMedia>
</CurrentMedia><MachineGuid>11EBCC45-6F60-4BBB-****-FCC61****CF7
</MachineGuid></Data>
<<< UUX 9 0
[ Server closes connection ]


I also get disconnected after having received a confirm command of a
successfully completed QRY challenge:


[ Normal protocol connection, including switchboard invites, etc.,
everything just working fine... until now: ]

<<< CHL 0 21078281041487922537
Quote:
Quote:
Quote:

>>> QRY 15 PROD0114ES4Z%Q5W 32\r\n
24ae42ad2504abd89f67997146c293c7
<<< QRY 15
[ Server closes connection ]


Note:
I do calculate the hash correctly, as I am *not* receiving
a 540 error, but a successful "QRY" reply before the notification server
disconnects.

Any ideas why the server is disconnecting me in these 2 cases?
Thanks for your research,
mynetx

My System SpecsSystem Spec
Old 10-30-2008   #2 (permalink)
mynetx


 
 

Re: MSNP12: disconnecting after UUX or QRY

Solved.
Jonathan Kay pointed me to a thread at Fanatic stating that problems
will arise when I add an additional \r\n to a payload command, like UUX
and QRY are.

Thanks mate!
mynetx


mynetx wrote:
Quote:

> While working on an implementation of MSNP12 for PHP, I found that the
> Notification Server is disconnecting me (signing me out) as soon as I
> send a UUX command with the PSM and MachineGuid. It does not sign me out
> if I do not try to set my PSM etc, by omitting the UUX.
>
Quote:
Quote:

> >>> = Send, <<< = Receive
>
> [ Tweener Authentication etc, then: ]
Quote:
Quote:

> >>> SYN 7 2008-10-28T19:51:36.0000000+01:00
> 2008-10-28T19:51:36.0000000+01:00
> <<< SYN 7 2008-10-29T11:19:50.61-07:00 2008-10-26T04:41:38.46-07:00 5 2
> <<< GTC A
> <<< BLP AL
> <<< PRP MFN My%20Name
> <<< PRP MBE N
> <<< PRP WWE 0
> <<< LSG Favorites dc12d58c-dee9-44d3-****-0d93e****d50
> <<< LST N=mynetx@xxxxxx F=mynetx
> C=8418cb1c-e95c-4810-****-49909****213 11 1
> 3d4ad801-712a-4a0a-****-ed203****655
Quote:
Quote:

> >>> CHG 8 BSY 1073741856
> <<< CHG 8 BSY 1073741856
> <<< MSG Hotmail Hotmail 289\r\n
> MIME-Version: 1.0\r\nContent-Type: text/x-msmsgsinitialmdatanoti...
> <<< ILN 8 NLN mynetx@xxxxxx mynetx 2520567852 %3Cmsnobj%20C...
> <<< UBX mynetx@xxxxxx 620\r\n
> <Data><PSM>Minor WLMStatus update</PSM><CurrentMedia></CurrentMe...
Quote:
Quote:

> >>> UUX 9 88\r\n
> <Data><PSM>Last test: 30 Oct 2008 21 23 57</PSM><CurrentMedia>
> </CurrentMedia><MachineGuid>11EBCC45-6F60-4BBB-****-FCC61****CF7
> </MachineGuid></Data>
> <<< UUX 9 0
> [ Server closes connection ]
>
>
> I also get disconnected after having received a confirm command of a
> successfully completed QRY challenge:
>
>
> [ Normal protocol connection, including switchboard invites, etc.,
> everything just working fine... until now: ]
>
> <<< CHL 0 21078281041487922537
Quote:
Quote:

> >>> QRY 15 PROD0114ES4Z%Q5W 32\r\n
> 24ae42ad2504abd89f67997146c293c7
> <<< QRY 15
> [ Server closes connection ]
>
>
> Note:
> I do calculate the hash correctly, as I am *not* receiving
> a 540 error, but a successful "QRY" reply before the notification server
> disconnects.
>
> Any ideas why the server is disconnecting me in these 2 cases?
> Thanks for your research,
> mynetx
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Disconnecting .. and other Vista General
disconnecting Vista General
Msn Messenger Keeps Disconnecting. Live Messenger
Disconnecting Vista General
Ad-hoc keeps disconnecting Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46