[Pidgin] #5212: MSNP14 hangs on connection to login.live.com

Pidgin trac at pidgin.im
Fri Mar 14 09:43:55 EDT 2008


#5212: MSNP14 hangs on connection to login.live.com
-------------------------+--------------------------------------------------
 Reporter:  NTAuthority  |       Type:  defect
   Status:  new          |   Priority:  minor 
Component:  libpurple    |    Version:  2.4.0 
 Keywords:               |    Pending:  0     
-------------------------+--------------------------------------------------
 I reported this bug before on [http://trac.adiumx.com/ticket/9460 Adium's
 Trac], and they referred me to here.

 I compiled Libpurple from Pidgin 2.4.0 with Adium's default configure
 options, but first setting enable_msnp14 to yes. According to the debug
 log in Adium, libpurple seems to hang on a SOAP request to login.live.com.
 My debug log (from Adium) is as follows:


 {{{
 09:15:53: (Libpurple: dns) DNS query for 'messenger.hotmail.com' queued
 09:15:53: (Libpurple: account) Connecting to account wlm at dotbas.net
 09:15:53: ************ wlm at dotbas.net --step-- 0
 09:15:53: Performing DNS resolve: messenger.hotmail.com:1863
 09:15:53: DNS resolve complete for messenger.hotmail.com:1863
 09:15:53: (Libpurple: dnsquery) IP resolved for messenger.hotmail.com
 09:15:53: (Libpurple: proxy) Attempting connection to 65.54.239.20
 09:15:53: (Libpurple: proxy) Connecting to messenger.hotmail.com:1863 with
 no proxy
 09:15:53: (Libpurple: proxy) Connection in progress
 09:15:53: (Libpurple: proxy) Connected to messenger.hotmail.com:1863.
 09:15:53: Connecting: gc=0x10e5f860 (Verbinding opzetten) 1 / 9
 09:15:53: (Libpurple: msn) C: NS 000: VER 1 MSNP14 MSNP13 CVR0
 09:15:53: ************ wlm at dotbas.net --step-- 1
 09:15:53: (Libpurple: msn) S: NS 000: VER 1 MSNP14 MSNP13 CVR0
 09:15:53: (Libpurple: MSNP14) get payload len:0
 09:15:53: (Libpurple: msn) C: NS 000: CVR 2 0x0804 winnt 5.1 i386 MSNMSGR
 8.0.0792 msmsgs wlm at dotbas.net
 09:15:53: (Libpurple: msn) S: NS 000: CVR 2 8.5.1302 8.5.1302 8.1.0178
 http://msgr.dlservice.microsoft.com/download/5/6/4/5646481F-33EF-
 4B08-AF00-4904F7677B89/ZH-CHS/Install_WLMessenger.exe
 http://get.live.com/cn
 09:15:53: (Libpurple: MSNP14) get payload len:0
 09:15:53: (Libpurple: msn) C: NS 000: USR 3 TWN I wlm at dotbas.net
 09:15:53: (Libpurple: msn) S: NS 000: XFR 3 NS 207.46.106.22:1863 U D
 09:15:53: (Libpurple: MSNP14) get payload len:0
 09:15:53: Connecting: gc=0x10e5f860 (Bezig met transport) 2 / 9
 09:15:53: (Libpurple: dns) DNS query for '207.46.106.22' queued
 09:15:53: ************ wlm at dotbas.net --step-- 2
 09:15:53: Performing DNS resolve: 207.46.106.22:1863
 09:15:53: DNS resolve complete for 207.46.106.22:1863
 09:15:53: (Libpurple: dnsquery) IP resolved for 207.46.106.22
 09:15:53: (Libpurple: proxy) Attempting connection to 207.46.106.22
 09:15:53: (Libpurple: proxy) Connecting to 207.46.106.22:1863 with no
 proxy
 09:15:53: (Libpurple: proxy) Connection in progress
 09:15:54: (Libpurple: proxy) Connected to 207.46.106.22:1863.
 09:15:54: Connecting: gc=0x10e5f860 (Verbinding opzetten) 3 / 9
 09:15:54: (Libpurple: msn) C: NS 000: VER 4 MSNP14 MSNP13 CVR0
 09:15:54: ************ wlm at dotbas.net --step-- 3
 09:15:54: (Libpurple: msn) S: NS 000: VER 4 MSNP14 MSNP13 CVR0
 09:15:54: (Libpurple: MSNP14) get payload len:0
 09:15:54: (Libpurple: msn) C: NS 000: CVR 5 0x0804 winnt 5.1 i386 MSNMSGR
 8.0.0792 msmsgs wlm at dotbas.net
 09:15:54: (Libpurple: msn) S: NS 000: CVR 5 8.5.1302 8.5.1302 8.1.0178
 http://msgr.dlservice.microsoft.com/download/5/6/4/5646481F-33EF-
 4B08-AF00-4904F7677B89/ZH-CHS/Install_WLMessenger.exe
 http://get.live.com/cn
 09:15:54: (Libpurple: MSNP14) get payload len:0
 09:15:54: (Libpurple: msn) C: NS 000: USR 6 TWN I wlm at dotbas.net
 09:15:54: (Libpurple: msn) S: NS 000: GCF 0 5220
 09:15:54: (Libpurple: MSNP14) get payload len:5220
 09:15:54: (Libpurple: MSNP14) Processing GCF command
 09:15:54: (Libpurple: MSNP14) GCF command payload:
 <?xml version='1.0' encoding='UTF-8' ?>

 <Policies>
         <Policy type='ABCH'>
                 <policy>   <set id='push' service='ABCH' priority='200'>
 <r id='pushstorage' threshold='240000'/>   </set></policy>
         </Policy>
         <Policy type='SHIELDS'>
                 <config>  <shield>    <cli maj='7' min='0' minbld='0'
 maxbld='9999' deny=''/>  </shield>  <block>    <hashes>    </hashes>
 <regexp>      <imtext value='XC5waWY='/>      <imtext
 value='aW1wXC5leGU='/>      <imtext value='YnVzaC1ncmFjaW9zb1wuZXhl'/>
 <imtext value='YWxidW1cLnppcA=='/>      <imtext value='cGhvdG9zXC56aXA='/>
 <imtext value='aW1hZ2VzXC56aXA='/>      <imtext
 value='bXlhbGJ1bTIwMDdcLnppcA=='/>      <imtext value='aW1nMzAxXC56aXA='/>
 <imtext value='aW1nMTc1Nlwuemlw'/>      <imtext value='aG90bzIzNFwuemlw'/>
 <imtext value='cGljXC56aXA='/>      <imtext value='ZzAzOF9qcGdcLnppcA=='/>
 <imtext value='c2VjcmV0aW1hZ2VzNTZcLnppcA=='/>      <imtext
 value='bG92ZTMzXC56aXA='/>      <imtext value='bW9uaWNhXC56aXA='/>
 <imtext value='aW1nLTAwMTJcLnppcA=='/>      <imtext
 value='aW1hZzA5MTMwN1wuemlw'/>      <imtext value='cGljMTI3M1wuemlw'/>
 <imtext value='aW1nLTM3NzNcLnppcA=='/>      <imtext
 value='aW1nLTY0MzRcLnppcA=='/>      <imtext value='aW1nLTgxOTdcLnppcA=='/>
 <imtext value='aW1nLTA5NTBcLnppcA=='/>      <imtext
 value='cGljdHMtNzA1M1wuemlw'/>      <imtext value='bXlwaWN0dXJlc1wuemlw'/>
 <imtext value='aW1hZ2UyNVwuemlw'/>      <imtext value='cGljc1wuemlw'/>
 <imtext value='Zm90b1wuZXhl'/>      <imtext value='ZmFudGFzbWFcLnppcA=='/>
 <imtext value='aW1wbHVzZVwuZXhl'/>      <imtext
 value='ZG93bmdyZHJcLmV4ZQ=='/>      <imtext value='cGhvdG82NTZcLmpwZw=='/>
 <imtext value='cGhvdG8yMzRcLnppcA=='/>      <imtext
 value='aW1nMDIxXC56aXA='/>      <imtext value='dGFueWFiYWJlXC56aXA='/>
 <imtext value='c3R1ZmZcLnppcA=='/>      <imtext value='Zm90b3NcLnppcA=='/>
 <imtext value='dHVmb3Rv'/>      <imtext value='Z2V0LW1lc3Nlbmdlcg=='/>
 <imtext value='Mm5udmM3'/>      <imtext value='YmxvY2tpbnJpbw=='/>
 <imtext value='bWVzc2FnaW5nLW5hbWVz'/>      <imtext
 value='cGljdHVyYTAwMg=='/>      <imtext value='bWVzc2VuZ2VyLXNjYW4='/>
 <imtext value='c3VtbWVyMjAwOA=='/>      <imtext
 value='bWVzc2VuZ2VyZGVsZXRlY2hlY2tlcg=='/>      <imtext
 value='cGhvdG9hbGJ1bTIwMDc='/>      <imtext value='aW1hZ2UwMjlcLnppcA=='/>
 <imtext value='Zm90b183ODFcLnppcA=='/>      <imtext
 value='Y2hpcnN0bWFzLTIwMDdcLnppcA=='/>      <imtext
 value='cGhvdG8yMDA3LTEyXC56aXA='/>      <imtext
 value='aW1nNS0yMDA3XC56aXA='/>      <imtext
 value='bXlwaWN0dXJlcy0wMTA4XC56aXA='/>      <imtext
 value='d3d3XC5la2FzdGFtb251XC5pbmZv'/>      <imtext
 value='d3d3XC5tc24tZnJpZW5kXC5jb20='/>      <imtext
 value='bXNuLWZyaWVuZFwuY29t'/>      <imtext
 value='d3d3XC5zb250YXJpaFwuaW5mbw=='/>      <imtext
 value='cGhvdG9zMS0yMDA4XC56aXA='/>      <imtext
 value='aGFwcHkyMDA4XC5leGU='/>      <imtext value='aGFwcHlfMjAwOFwuZXhl'/>
 <imtext value='aGFwcHktMjAwOFwuZXhl'/>      <imtext
 value='bmV3X3llYXJzX2xldHRlcl9mbGFzaFwuZXhl'/>      <imtext
 value='d3d3XC5tc25saXN0c3RhdHVzXC5jb20='/>      <imtext
 value='d3d3XC5nb2xkd2luZG9zMjAwMFwuY29t'/>      <imtext
 value='d3d3XC5tc253ZWJpbWFnZXNcLmNvbQ=='/>      <imtext
 value='d3d3XC5tYWlubXNuXC5jb20='/>      <imtext
 value='d3d3XC5idXJhc2lzZW5pbnllcmluXC5pbmZv'/>      <imtext
 value='bWFpbm1zblwuY29t'/>      <imtext value='d3d3XC5lbXJldFwuaW5mbw=='/>
 <imtext value='d3d3XC5tc25zcHlcLmV1'/>      <imtext
 value='bWFpbm1zblwubmV0'/>      <imtext
 value='aW1hZ2VzXC5pZG9ob3N0XC5jb20='/>      <imtext
 value='Zm1jb25zdWx0aW5n'/>      <imtext
 value='bXNuZ2FsbGVyeVwubXNcLmZ1bnBpY1wuZGU='/>      <imtext
 value='ZS1hZnlvbmthcmFoaXNhclwuaW5mbw=='/>      <imtext
 value='YWNpc2FsYXZhbnNcLmluZm8='/>      <imtext
 value='YWNpbGFzdGlyXC5pbmZv'/>      <imtext
 value='YW1hem9uaGFsa2lcLmluZm8='/>      <imtext value='ZWthcnNcLmluZm8='/>
 <imtext value='YmlyZXljaVwuaW5mbw=='/>      <imtext
 value='cmV1dHlcLmluZm8='/>      <imtext
 value='cG9ydGFrYWxsaWRhdmV0XC5pbmZv'/>      <imtext
 value='YW1hem9uZGFrYXlib2xkdW1cLmluZm8='/>      <imtext
 value='ZGFuc2FkaW1pXC5pbmZv'/>      <imtext value='dXlzYWxsaWtcLmluZm8='/>
 <imtext value='YmV6Z2lcLmluZm8='/>      <imtext value='c3VsYW5kaXJtYQ=='/>
 <imtext value='dHVuYWJhbGlnaQ=='/>      <imtext value='eW9ydW5nZXNlbA=='/>
 <imtext value='dHVoYWZraW1zZQ=='/>      <imtext
 value='YWNpc2FsY2FwXC5pbmZv'/>      <imtext value='Ym95YW1hZ3VjdQ=='/>
 <imtext value='dHV0dXNrYW5saWs='/>      <imtext value='YWNpc2FsY2Fw'/>
 <imtext value='bXNucHJvZmlsZXNcLm1zXC5mdW5waWNcLmRl'/>      <imtext
 value='aW1hZ2VzXC5nZXRlbmpveW1lbnRcLm5ldA=='/>      <imtext
 value='bXltc25nYWxsZXJ5'/>      <imtext value='ZnVucGljXC5kZQ=='/>
 <imtext value='aW1hZ2UwMzFcLnppcA=='/>      <imtext value='Zm90bzcyMmE2'/>
 <imtext value='cGhvdG8yMVwuemlw'/>      <imtext
 value='cGljdHVyZTIyXC56aXA='/>      <imtext
 value='cGljdHVyZXo5MjNcLnppcA=='/>      <imtext
 value='cGhvdG9fNjg4LWpwZ1wuemlw'/>      <imtext
 value='bXlwaG90bzk0XC56aXA='/>      <imtext value='dmlkZW9cLmV4ZQ=='/>
 <imtext value='a3V6ZW5cLmV4ZQ=='/>      <imtext value='bWlyY1wuZXhl'/>
 </regexp>  </block></config>
         </Policy>
 </Policies>

 09:15:54: (Libpurple: msn) S: NS 000: USR 6 TWN S
 ct=1205482554,rver=5.0.3270.0,wp=FS_40SEC_0_COMPACT,lc=1033,id=507,ru=http:%2F%2Fmessenger.msn.com,tw=0,kpp=1,kv=4,ver=2.1.6000.1,rn=1lgjBfIL,tpf=b0735e3a873dfb5e75054465196398e0
 09:15:54: (Libpurple: MSNP14) get payload len:0
 09:15:54: (Libpurple: MSNP14) challenge 0x11238ca0,key:ct,value:1205482554
 09:15:54: (Libpurple: MSNP14) challenge
 0x11238ca0,key:rver,value:5.0.3270.0
 09:15:54: (Libpurple: MSNP14) challenge
 0x11238ca0,key:wp,value:FS_40SEC_0_COMPACT
 09:15:54: (Libpurple: MSNP14) challenge 0x11238ca0,key:lc,value:1033
 09:15:54: (Libpurple: MSNP14) challenge 0x11238ca0,key:id,value:507
 09:15:54: (Libpurple: MSNP14) challenge
 0x11238ca0,key:ru,value:http:%2F%2Fmessenger.msn.com
 09:15:54: (Libpurple: MSNP14) challenge 0x11238ca0,key:tw,value:0
 09:15:54: (Libpurple: MSNP14) challenge 0x11238ca0,key:kpp,value:1
 09:15:54: (Libpurple: MSNP14) challenge 0x11238ca0,key:kv,value:4
 09:15:54: (Libpurple: MSNP14) challenge
 0x11238ca0,key:ver,value:2.1.6000.1
 09:15:54: (Libpurple: MSNP14) challenge 0x11238ca0,key:rn,value:1lgjBfIL
 09:15:54: (Libpurple: MSNP14) challenge
 0x11238ca0,key:tpf,value:b0735e3a873dfb5e75054465196398e0
 09:15:54: Connecting: gc=0x10e5f860 (Starten van authentificatie) 4 / 9
 09:15:54: (Libpurple: MSN Nexus) Starting Windows Live ID authentication
 09:15:54: Connecting: gc=0x10e5f860 (Naam en wachtwoord worden
 gecontroleerd) 6 / 9
 09:15:54: ************ wlm at dotbas.net --step-- 4
 09:15:54: ************ wlm at dotbas.net --step-- 6
 09:15:54: (Libpurple: dns) DNS query for 'login.live.com' queued
 09:15:54: Performing DNS resolve: login.live.com:443
 09:15:54: DNS resolve complete for login.live.com:443
 09:15:54: (Libpurple: dnsquery) IP resolved for login.live.com
 09:15:54: (Libpurple: proxy) Attempting connection to 65.54.183.203
 09:15:54: (Libpurple: proxy) Connecting to login.live.com:443 with no
 proxy
 09:15:54: (Libpurple: proxy) Connection in progress
 09:15:54: (Libpurple: proxy) Connected to login.live.com:443.
 09:15:54: (Libpurple: cdsa) Connecting
 09:15:54: Called write with no write_tag (read_tag 53 write_tag 0) for
 10e6b720
 09:15:55: (Libpurple: cdsa) Connecting
 09:15:55: (Libpurple: jabber) Recv (ssl)(1):
 09:15:55: (Libpurple: cdsa) Connecting
 09:15:55: (Libpurple: cdsa) Connecting
 09:15:55: (Libpurple: cdsa) SSL_connect: verifying certificate
 09:15:55: (Libpurple: cdsa) SSL_connect complete
 09:15:55: (Libpurple: soap) POST /RST.srf HTTP/1.1

 SOAPAction:

 Content-Type:text/xml; charset=utf-8

 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

 Accept: */*

 Host: login.live.com

 Content-Length: 3397

 Connection: Keep-Alive

 Cache-Control: no-cache



 <Envelope xmlns='http://schemas.xmlsoap.org/soap/envelope/'
 xmlns:wsu='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-
 wssecurity-utility-1.0.xsd'
 xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/03/addressing'
 xmlns:wssc='http://schemas.xmlsoap.org/ws/2004/04/sc'
 xmlns:wsse='http://schemas.xmlsoap.org/ws/2003/06/secext'
 xmlns:wsp='http://schemas.xmlsoap.org/ws/2002/12/policy'
 xmlns:saml='urn:oasis:names:tc:SAML:1.0:assertion'
 xmlns:wst='http://schemas.xmlsoap.org/ws/2004/04/trust'><Header><ps:AuthInfo
 xmlns:ps='http://schemas.microsoft.com/Passport/SoapServices/PPCRL'
 Id='PPAuthInfo'><ps:HostingApp>{7108E71A-9926-4FCB-
 BCC9-9A9D3F32E423}</ps:HostingApp><ps:BinaryVersion>4</ps:BinaryVersion><ps:UIVersion>1</ps:UIVersion><ps:Cookies/><ps:RequestParams>AQAAAAIAAABsYwQAAAAyMDUy</ps:RequestParams></ps:AuthInfo><wsse:Security
 xmlns='http://schemas.xmlsoap.org/ws/2003/06/secext'><wsse:UsernameToken
 Id='user'><wsse:Username>wlm at dotbas.net</wsse:Username><wsse:Password>XXXXXXXX</wsse:Password></wsse:UsernameToken></wsse:Security></Header><Body><ps:RequestMultipleSecurityTokens
 xmlns:ps='http://schemas.microsoft.com/Passport/SoapServices/PPCRL'
 Id='RSTS'><wst:RequestSecurityToken
 xmlns='http://schemas.xmlsoap.org/ws/2004/04/trust'
 Id='RST0'><wst:RequestType>http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue</wst:RequestType><wsp:AppliesTo
 xmlns='http://schemas.xmlsoap.org/ws/2002/12/policy'><wsa:EndpointReference
 xmlns='http://schemas.xmlsoap.org/ws/2004/03/addressing'><wsa:Address>http://Passport.NET/tb</wsa:Address></wsa:EndpointReference></wsp:AppliesTo></wst:RequestSecurityToken><wst:RequestSecurityToken
 xmlns='http://schemas.xmlsoap.org/ws/2004/04/trust'
 Id='RST1'><wst:RequestType>http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue</wst:RequestType><wsp:AppliesTo
 xmlns='http://schemas.xmlsoap.org/ws/2002/12/policy'><wsa:EndpointReference
 xmlns='http://schemas.xmlsoap.org/ws/2004/03/addressing'><wsa:Address>messenger.msn.com</wsa:Address></wsa:EndpointReference></wsp:AppliesTo><wsse:PolicyReference
 xmlns='http://schemas.xmlsoap.org/ws/2003/06/secext'
 URI='?id=507&tw=0&fs=1&kpp=1&kv=4&ver=2.1.6000.1&rn=1lgjBfIL'/></wst:RequestSecurityToken><wst:RequestSecurityToken
 xmlns='http://schemas.xmlsoap.org/ws/2004/04/trust'
 Id='RST2'><wst:RequestType>http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue</wst:RequestType><wsp:AppliesTo
 xmlns='http://schemas.xmlsoap.org/ws/2002/12/policy'><wsa:EndpointReference
 xmlns='http://schemas.xmlsoap.org/ws/2004/03/addressing'><wsa:Address>contacts.msn.com</wsa:Address></wsa:EndpointReference></wsp:AppliesTo><wsse:PolicyReference
 xmlns='http://schemas.xmlsoap.org/ws/2003/06/secext'
 URI='?fs=1&id=507&kv=4&rn=1lgjBfIL&tw=0&ver=2.1.6000.1'/>
 </wst:RequestSecurityToken><wst:RequestSecurityToken
 xmlns='http://schemas.xmlsoap.org/ws/2004/04/trust'
 Id='RST3'><wst:RequestType>http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue</wst:RequestType><wsp:AppliesTo
 xmlns='http://schemas.xmlsoap.org/ws/2002/12/policy'><wsa:EndpointReference
 xmlns='http://schemas.xmlsoap.org/ws/2004/03/addressing'><wsa:Address>voice.messenger.msn.com</wsa:Address></wsa:EndpointReference>
 </wsp:AppliesTo><wsse:PolicyReference
 xmlns='http://schemas.xmlsoap.org/ws/2003/06/secext'
 URI='?id=507'/></wst:RequestSecurityToken></ps:RequestMultipleSecurityTokens></Body></Envelope>
 09:15:55: Called write with no write_tag (read_tag 56 write_tag 0) for
 10e9d420
 09:15:56: (Libpurple: soap) read 411 bytes
 09:15:56: (Libpurple: soap) current HTTP/1.1 200 OK

 Connection: close

 Date: Fri, 14 Mar 2008 08:15:55 GMT

 Server: Microsoft-IIS/6.0

 PPServer: PPV: 30 H: BAYPPLOGN3A01 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: Fri, 14 Mar 2008 08:14:55 GMT

 Cache-Control: no-cache

 Pragma: no-cache

 P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"

 Content-Length: 7375




 09:15:56: (Libpurple: soap) ignoring malformed line: P3P:CP="BUS CUR CONo
 FIN IVDo ONL OUR PHY SAMo TELo"
 09:15:56: (Libpurple: soap) read 7375 bytes
 09:15:56: (Libpurple: cdsa) receive failed (-9802): Unknown error: 0
 09:15:56: (Libpurple: soap) read: Invalid argument
 }}}

 Strangely, someone else, on Linux, with Pidgin, didn't have this same
 problem. I guess it's related to some SSL library differences?

-- 
Ticket URL: <http://developer.pidgin.im/ticket/5212>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list