![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 Quote: Quote: Quote: >>> SYN 7 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 <<< 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 </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 <<< 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 Specs![]() |
| | #2 (permalink) |
| | 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 > <<< 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 > <<< 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 > </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 > <<< 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 Specs![]() |
![]() |
| 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 | |||