Opened 11 years ago

Closed 11 years ago

#6360 closed defect (fixed)

MSNP14 FindMembership returns: 500 Internal Server Error

Reported by: edwardlost Owned by: khc
Milestone: 2.5.0 Component: MSN
Version: 2.4.3 Keywords: InvalidApplicationHeader
Cc:

Description

(22:44:45) msn: S: NS 000: MSG Hotmail Hotmail 545 (22:44:45) MSNP14: get payload len:545 (22:44:45) MSNP14: Processing MSG... (22:44:45) msg_cmd_post: payload len: 545 MIME-Version: 1.0M Content-Type: text/x-msmsgsprofile; charset=UTF-8M LoginTime?: 1216305890M EmailEnabled?: 0M MemberIdHigh?: 229374M MemberIdLow?: -1917236152M lang_preference: 1033M preferredEmail: M country: USM PostalCode?: M Gender: M Kid: 0M Age: M BDayPre: M Birthday: M Wallet: M Flags: 1073742400M sid: 507M MSPAuth: 9n3ho8WwBCa6EOQbwvWkLTpemkjlLEUznVhuF1q22*YTLjVpWUV98Un0Kk6nuw0qfpYZxunU6CFun1PlOkDi3815EynQQkN3FbaV57cA6gFS7*pl*dE6vKnG7TfCmBP*ie0K9MJr*yTxU$M ClientIP: 202.108.6.138M ClientPort?: 14482M ABCHMigrated: 1M MPOPEnabled: 0M M

(22:44:45) profile_msg: called (22:44:45) profile_msg: MSPAuth: 9n3ho8WwBCa6EOQbwvWkLTpemkjlLEUznVhuF1q22*YTLjVpWUV98Un0Kk6nuw0qfpYZxunU6CFun1PlOkDi3815EynQQkN3FbaV57cA6gFS7*pl*dE6vKnG7TfCmBP*ie0K9MJr*yTxU$ (22:44:45) MSNCL: Getting Contact List. (22:44:55) msn_soap_message_send_internal: host: contacts.msn.com, path: /abservice/SharingService.asmx, action: http://www.msn.com/webservices/AddressBook/FindMembership (22:44:55) msn_soap_message_send_internal: event_handle is 0, call msn_soap_connection_run (22:44:55) util: Writing file prefs.xml to directory /usr/home/zhongying/.purple (22:44:55) util: Writing file /usr/home/zhongying/.purple/prefs.xml (22:44:55) account: sync_accounts ... (22:44:55) accounts_to_xmlnode: name: msn7@… (22:44:55) util: Writing file accounts.xml to directory /usr/home/zhongying/.purple (22:44:55) util: Writing file /usr/home/zhongying/.purple/accounts.xml (22:44:55) util: Writing file blist.xml to directory /usr/home/zhongying/.purple (22:44:55) util: Writing file /usr/home/zhongying/.purple/blist.xml (22:44:55) util: Writing file status.xml to directory /usr/home/zhongying/.purple (22:44:55) util: Writing file /usr/home/zhongying/.purple/status.xml (22:44:55) dns: DNS query for 'contacts.msn.com' queued (22:44:55) dns: Created new DNS child 1108, there are now 1 children. (22:44:55) dns: Successfully sent DNS request to child 1108 (22:44:55) glib_input_add: read fd: 3, func: 0xf0d100 (22:44:55) purple_glib_io_invoke: read 3, func: 0xf0d100 (22:44:55) dns: Got response for 'contacts.msn.com' (22:44:55) dnsquery: IP resolved for contacts.msn.com (22:44:55) proxy: Attempting connection to 65.54.170.18 (22:44:55) proxy: Connecting to contacts.msn.com:443 with no proxy (22:44:55) proxy: Connection in progress (22:44:55) glib_input_add: write fd: 5, func: 0xeff7c0 (22:44:56) purple_glib_io_invoke: write 5, func: 0xeff7c0 (22:44:56) proxy: Connected to contacts.msn.com:443. (22:44:56) glib_input_add: read fd: 5, func: 0x943570 (22:44:56) gnutls: Starting handshake with contacts.msn.com (22:44:56) purple_glib_io_invoke: read 5, func: 0x943570 (22:44:56) purple_glib_io_invoke: read 5, func: 0x943570 (22:44:57) purple_glib_io_invoke: read 5, func: 0x943570 (22:44:57) gnutls: Handshake complete (22:44:57) gnutls/x509: Key print: 50:ec:4e:c7:4f:31:fa:5d:7d:d6:37:fa:4b:4e:50:e3:c5:2b:d1:bf (22:44:57) gnutls/x509: Key print: ce:c5:a0:be:0f:fe:79:66:75:91:0f:f0:f7:92:5b:35:98:a8:15:b3 (22:44:57) gnutls/x509: Key print: 30:7f:e7:75:49:c0:22:67:c1:81:93:2b:f3:3b:22:96:9c:73:ec:39 (22:44:57) gnutls: Peer provided 3 certs (22:44:57) gnutls: Lvl 0 SHA1 fingerprint: 50:ec:4e:c7:4f:31:fa:5d:7d:d6:37:fa:4b:4e:50:e3:c5:2b:d1:bf (22:44:57) gnutls: Serial: 5a:3f:c5:c5:00:04:00:00:ab:49 (22:44:57) gnutls: Cert DN: C=US,ST=WA,L=Redmond,O=Microsoft,OU=MSN,CN=contacts.msn.com (22:44:57) gnutls: Cert Issuer DN: DC=com,DC=microsoft,DC=corp,DC=redmond,CN=Microsoft Secure Server Authority (22:44:57) gnutls: Lvl 1 SHA1 fingerprint: ce:c5:a0:be:0f:fe:79:66:75:91:0f:f0:f7:92:5b:35:98:a8:15:b3 (22:44:57) gnutls: Serial: 61:05:4e:01:00:03:00:00:00:1c (22:44:57) gnutls: Cert DN: DC=com,DC=microsoft,DC=corp,DC=redmond,CN=Microsoft Secure Server Authority (22:44:57) gnutls: Cert Issuer DN: CN=Microsoft Internet Authority (22:44:57) gnutls: Lvl 2 SHA1 fingerprint: 30:7f:e7:75:49:c0:22:67:c1:81:93:2b:f3:3b:22:96:9c:73:ec:39 (22:44:57) gnutls: Serial: 04:00:03:fe (22:44:57) gnutls: Cert DN: CN=Microsoft Internet Authority (22:44:57) gnutls: Cert Issuer DN: C=US,O=GTE Corporation,OU=GTE CyberTrust? Solutions\, Inc.,CN=GTE CyberTrust? Global Root (22:44:57) certificate/x509/tls_cached: Starting verify for contacts.msn.com (22:44:57) certificate/x509/tls_cached: Checking for cached cert... (22:44:57) certificate/x509/tls_cached: ...Not in cache (22:44:57) gnutls/x509: Certificate for C=US,ST=WA,L=Redmond,O=Microsoft,OU=MSN,CN=contacts.msn.com claims to be issued by DC=com,DC=microsoft,DC=corp,DC=redmond,CN=Microsoft Secure Server Authority, but the certificate for C=US,ST=WA,L=Redmond,O=Microsoft,OU=MSN,CN=contacts.msn.com does not match. (22:44:57) certificate: Checking signature chain for uid=C=US,ST=WA,L=Redmond,O=Microsoft,OU=MSN,CN=contacts.msn.com (22:44:57) certificate: ...Good signature by DC=com,DC=microsoft,DC=corp,DC=redmond,CN=Microsoft Secure Server Authority (22:44:57) certificate: ...Good signature by CN=Microsoft Internet Authority (22:44:57) certificate: Chain is VALID (22:44:57) certificate/x509/tls_cached: Checking for a CA with DN=C=US,O=GTE Corporation,OU=GTE CyberTrust? Solutions\, Inc.,CN=GTE CyberTrust? Global Root (22:44:57) util: Writing file /usr/home/zhongying/.purple/certificates/x509/tls_peers/contacts.msn.com (22:44:57) certificate: Successfully verified certificate for contacts.msn.com (22:44:57) msn_soap_connected_cb: connect contacts.msn.com ok (22:44:57) msn_soap_connected_cb: event handle is 0, call msn_soap_connection_run (22:44:57) msn_soap: POST /abservice/SharingService.asmx HTTP/1.1M SOAPAction: http://www.msn.com/webservices/AddressBook/FindMembership^M Content-Type:text/xml; charset=utf-8M Cookie: MSPAuth=9n3ho8WwBCa6EOQbwvWkLTpemkjlLEUznVhuF1q22*YTLjVpWUV98Un0Kk6nuw0qfpYZxunU6CFun1PlOkDi3815EynQQkN3FbaV57cA6gFS7*pl*dE6vKnG7TfCmBP*ie0K9MJr*yTxU$M User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)M Accept: */*M Host: contacts.msn.comM Content-Length: 1479M Connection: Keep-AliveM Cache-Control: no-cacheM M <soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soap:Header xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><ABApplicationHeader xmlns='http://www.msn.com/webservices/AddressBook'><ApplicationId? xmlns='http://www.msn.com/webservices/AddressBook'>09607671-1C32-421F-A6A6-CBFAA51AB5F4</ApplicationId?><IsMigration? xmlns='http://www.msn.com/webservices/AddressBook'>false</IsMigration?><PartnerScenario? xmlns='http://www.msn.com/webservices/AddressBook'>Initial</PartnerScenario?></ABApplicationHeader><ABAuthHeader xmlns='http://www.msn.com/webservices/AddressBook'><ManagedGroupRequest? xmlns='http://www.msn.com/webservices/AddressBook'>false</ManagedGroupRequest?></ABAuthHeader></soap:Header><soap:Body xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><FindMembership? xmlns='http://www.msn.com/webservices/AddressBook'><serviceFilter xmlns='http://www.msn.com/webservices/AddressBook'><Types xmlns='http://www.msn.com/webservices/AddressBook'><ServiceType? xmlns='http://www.msn.com/webservices/AddressBook'>Messenger</ServiceType?><ServiceType? xmlns='http://www.msn.com/webservices/AddressBook'>Invitation</ServiceType?><ServiceType? xmlns='http://www.msn.com/webservices/AddressBook'>SocialNetwork?</ServiceType?><ServiceType? xmlns='http://www.msn.com/webservices/AddressBook'>Space</ServiceType?><ServiceType? xmlns='http://www.msn.com/webservices/AddressBook'>Profile</ServiceType?></Types></serviceFilter></FindMembership?></soap:Body></soap:Envelope> (22:44:57) glib_input_add: write fd: 5, func: 0x1362e0 (22:44:57) msn_soap_connection_run: add msn_soap_write_cb, event handle: 34 (22:44:57) purple_glib_io_invoke: write 5, func: 0x1362e0 (22:44:57) ssl_gnutls_write: return 1968 (22:44:57) msn_soap_write_cb: write done, remove event handle: 34 (22:44:57) glib_input_add: read fd: 5, func: 0x1365e0 (22:44:57) msn_soap_write_cb: write done, add msn_soap_read_cb, event_handle: 35 (22:44:57) purple_glib_io_invoke: read 5, func: 0x1365e0 (22:44:57) soap: read 1418 bytes (22:44:57) soap: current HTTP/1.1 500 Internal Server ErrorM Date: Thu, 17 Jul 2008 14:45:01 GMTM Server: Microsoft-IIS/6.0M P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"M X-Powered-By: ASP.NETM X-MSNSERVER: BAYABCHWBB136M X-AspNet?-Version: 2.0.50727M Cache-Control: privateM Content-Type: text/xml; charset=utf-8M Content-Length: 1097M M <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Invalid Application Header Application ID is either not defined in database or blocked from access.</faultstring><faultactor>http://www.msn.com/webservices/AddressBook/FindMembership</faultactor><detail><errorcode xmlns="http://www.msn.com/webservices/AddressBook">InvalidApplicationHeader?</errorcode><errorstring xmlns="http://www.msn.com/webservices/AddressBook">Invalid Application Header Application ID is either not defined in database or blocked from access.</errorstring><machineName xmlns="http://www.msn.com/webservices/AddressBook">BAYABCHWBB136</machineName><additionalDetails><originalExceptionErrorMessage>Invalid Application Header Application ID is either not defined in database or blocked from access.</originalExceptionErrorMessage></additionalDetails></detail></soap:Fault></soap:Body></soap:Envelope> (22:44:57) soap: ignoring malformed line: P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo" (22:44:57) msncl: Got the contact list! (22:44:57) msncl: Retrieving contact list failed: Invalid Application Header Application ID is either not defined in database or blocked from access.

Attachments (1)

out.txt (54.7 KB) - added by edwardlost 11 years ago.
run log

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by edwardlost

run log

comment:1 Changed 11 years ago by edwardlost

i wrote a msn client with libpurple, it worked well for days, but today it suddenly can not retrieving contact list and address book vip soap request when login

the response is always 500 Internal Server Error, and error msg: Invalid Application Header Application ID is either not defined in database or blocked from access.

i had tried to run the client on another machine with different ip, but fail again

i also tried to modify MSPAuth, surprisingly the error msg is the same, is there something wrong with the cookie?

need some tips, thanks very much!

comment:2 Changed 11 years ago by QuLogic

  • pending changed from 0 to 1

You will need to update the line that specifies the ApplicationId in contact.h:

<ApplicationId xmlns='http://www.msn.com/webservices/AddressBook'>09607671-1C32-421F-A6A6-CBFAA51AB5F4</ApplicationId>

Unfortunately, there are many copies of this line in MSNP14. If you were using MSNP15, in im.pidgin.pidgin, it would be easier to change. MSNP15 is currently using "CFE80F9D-180F-4399-82AB-413F33A1FA11" instead.

comment:3 Changed 11 years ago by edwardlost

  • pending changed from 1 to 0

thanks very much! the problem was solved after changing the Application ID!

comment:4 Changed 11 years ago by QuLogic

  • Milestone set to 2.5.0
  • Resolution set to fixed
  • Status changed from new to closed

OK, this will definitely be fixed in 2.5.0 then.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!