[Pidgin] #7325: Error 601 when connection to MSN using HTTP method

Pidgin trac at pidgin.im
Tue Oct 21 10:48:36 EDT 2008


#7325: Error 601 when connection to MSN using HTTP method
----------------------+-----------------------------------------------------
Reporter:  joschkopf  |        Type:  defect   
  Status:  new        |   Component:  libpurple
 Version:  2.5.2      |    Keywords:           
----------------------+-----------------------------------------------------
 I can't connect to MSN using HTTP method through my company's http proxy,
 because the gateway server always returns status 601 (server unavailable).

 Pidgin's debug output is as follows:

 (16:39:31) account: Connecting to account XXXXXX[[BR]]
 (16:39:31) connection: Connecting. gc = 0x11acc170[[BR]]
 (16:39:31) msn: new httpconn (0x11acedf0)[[BR]]
 (16:39:32) dns: DNS query for 'XXXXX' queued[[BR]]
 (16:39:32) msn: C: NS 000: VER 1 MSNP15 CVR0[[BR]]
 (16:39:32) dns: Successfully sent DNS request to child 29035[[BR]]
 (16:39:32) dns: Got response for 'XXXXX'[[BR]]
 (16:39:32) dnsquery: IP resolved for XXXXX[[BR]]
 (16:39:32) proxy: Attempting connection to XXXXX[[BR]]
 (16:39:32) proxy: Connecting to gateway.messenger.hotmail.com:80 via
 XXXXX:80 using HTTP[[BR]]
 (16:39:32) proxy: Connection in progress[[BR]]
 (16:39:32) proxy: Connected to gateway.messenger.hotmail.com:80.[[BR]]
 (16:39:32) proxy: HTTP proxy connection established[[BR]]
 (16:39:32) msn: S: NS 000: 601 1[[BR]]
 (16:39:35) account: Disconnecting account 0x11469080[[BR]]
 (16:39:35) connection: Disconnecting connection 0x11acc170[[BR]]
 (16:39:35) msn: C: NS 000: OUT[[BR]]
 (16:39:35) msn: Attempted HTTP write before session is established[[BR]]
 (16:39:35) msn: Connection error from Notification server
 [[BR]](gateway.messenger.hotmail.com): Writing error[[BR]]
 (16:39:35) msn: destroy the OIM 0x11af58e0[[BR]]
 (16:39:35) msn: destroy httpconn (0x11acedf0)[[BR]]
 (16:39:35) connection: Destroying connection 0x11acc170[[BR]]
 ----------
 I made a TCP dump of relevant HTTP request:

 Request:[[BR]]
 POST
 http://gateway.messenger.hotmail.com/gateway/gateway.dll?Action=open&Server=NS&IP=gateway.messenger.hotmail.com
 HTTP/1.1[[BR]]
 Accept: */*[[BR]]
 Accept-Language: en-us[[BR]]
 User-Agent: MSMSGS[[BR]]
 Host: gateway.messenger.hotmail.com[[BR]]
 Proxy-Connection: Keep-Alive[[BR]]
 Proxy-Authorization: Basic Og==[[BR]]
 Connection: Keep-Alive[[BR]]
 Pragma: no-cache[[BR]]
 Content-Type: application/x-msn-messenger[[BR]]
 Content-Length: 19[[BR]]
 VER 1 MSNP15 CVR0[[BR]]


 Answer:[[BR]]
 HTTP/1.1 200 OK[[BR]]
 Server: Microsoft-IIS/6.0[[BR]]
 P3P:CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo"[[BR]]
 X-Powered-By: ASP.NET[[BR]]
 Date: Tue, 21 Oct 2008 14:39:32 GMT[[BR]]
 Connection: close[[BR]]
 X-MSN-Messenger: SessionID=.1; GW-IP=10.17.24.6; Session=close[[BR]]
 Content-Type: application/x-msn-messenger[[BR]]
 Content-Length: 7[[BR]]
 601 1[[BR]]

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


More information about the Tracker mailing list