Ticket #775 (new defect)

Opened 3 years ago

Last modified 14 months ago

MSN Connection Problems with Proxy

Reported by: bcourbage Owned by: khc
Milestone: Component: MSN
Version: 2.0 Keywords:
Cc: neckaros

Description

Note: This is a carry through of a previous version Support Requests item #1546718, was opened at 2006-08-25 11:35

Possibly related to Ticket #485

Attempting to log on to MSN at work behind proxy server gives me an error. Windows Messenger has no problems establishing a connection and Pidgin works fine in locations without this proxy. Please see debug information below:

Pidgin Debug Log : 5/7/2007 8:43:32 AM
account: Connecting to account XXXXXXXXXX
connection: Connecting. gc = XXXXX
msn: new httpconn (XXXXX)
dnsquery: Performing DNS lookup for XXXXX.com
msn: C: NS 000: VER 1 MSNP9 MSNP8 CVR0
dnsquery: IP resolved for XXXXX.com
proxy: Attempting connection to 167.XX.XX.X
proxy: Connecting to gateway.messenger.hotmail.com:80 via XXXXX.com:1080 using SOCKS5
socks5 proxy: Connection in progress
socks5 proxy: Connected.
socks5 proxy: Able to read.
socks5 proxy: Able to read again.
msn: HTTP: Read error
msn: Connection error from Notification server (messenger.hotmail.com): Reading error
msn: C: NS 000: OUT
account: Disconnecting account XXXXX
connection: Disconnecting connection XXXXX
msn: destroy httpconn XXXXX
connection: Destroying connection XXXXX
util: Writing file accounts.xml to directory C:\Documents and Settings\[USERNAME]\Application Data\.purple
util: Writing file blist.xml to directory C:\Documents and Settings\[USERNAME]\Application Data\.purple

Change History

Changed 3 years ago by lschiere

  • owner set to khc
  • component changed from pidgin (gtk) to libpurple
  • milestone set to Merge MSNP14 Branch

Changed 3 years ago by notorioustf

I also have the exact same problem with Pidgin. I'm working from behind my college proxy (Pidgin works perfectly from my home connection). Every 1 in 10 times I try to connect, it will connect, and show my buddy list (even who is online and offline) but after a few seconds it disconnects. I found that if I leave the program it'll keep connecting and disconnecting automatically, sometimes the connection lasting for approx 5 minutes.

Changed 3 years ago by seanegan

  • component changed from libpurple to MSN

Changed 2 years ago by felipec

  • owner changed from khc to felipec
  • status changed from new to assigned

Are you using http method?

Changed 2 years ago by felipec

  • pending changed from 0 to 1

Changed 2 years ago by bcourbage

  • pending changed from 1 to 0

Tested with and without HTTP method. See debug logs below. Using "Global Proxy Settings" and other protocols work fine.

HTTP Method

(12:52:02) account: Connecting to account XXX@YYY.com
(12:52:02) connection: Connecting. gc = 0100AAE0
(12:52:02) msn: new httpconn (0100B428)
(12:52:02) dnsquery: Performing DNS lookup for [proxy.server.address]
(12:52:02) msn: C: NS 000: VER 1 MSNP9 MSNP8 CVR0
(12:52:02) dnsquery: IP resolved for [proxy.server.address]
(12:52:02) proxy: Attempting connection to 167.107.66.4
(12:52:02) proxy: Connecting to gateway.messenger.hotmail.com:80 via [proxy.server.address]:1080 using SOCKS5
(12:52:02) socks5 proxy: Connection in progress
(12:52:02) socks5 proxy: Connected.
(12:52:02) socks5 proxy: Able to read.
(12:52:02) s5: reallocing from 4 to 8
(12:52:02) s5: reallocing from 8 to 10
(12:52:02) msn: HTTP: Read error
(12:52:02) msn: Connection error from Notification server (gateway.messenger.hotmail.com): Reading error
(12:52:02) msn: C: NS 000: OUT
(12:52:02) msn: HTTP: Read error
(12:52:02) msn: Connection error from Notification server (gateway.messenger.hotmail.com): Reading error
(12:52:02) msn_session_disconnect: assertion `session->connected' failed
(12:52:02) account: Disconnecting account 00CA09F0
(12:52:02) connection: Disconnecting connection 0100AAE0
(12:52:02) msn: destroy httpconn (0100B428)
(12:52:02) connection: Destroying connection 0100AAE0

Not HTTP Method

(12:52:44) account: Connecting to account XXX@YYY.com
(12:52:44) connection: Connecting. gc = 00EE02A0
(12:52:44) msn: new httpconn (01010298)
(12:52:44) dnsquery: Performing DNS lookup for [proxy.server.address]
(12:52:44) dnsquery: IP resolved for [proxy.server.address]
(12:52:44) proxy: Attempting connection to 167.107.66.4
(12:52:44) proxy: Connecting to messenger.hotmail.com:1863 via [proxy.server.address]:1080 using SOCKS5
(12:52:44) socks5 proxy: Connection in progress
(12:52:44) socks5 proxy: Connected.
(12:52:44) socks5 proxy: Able to read.
(12:52:44) s5: reallocing from 4 to 8
(12:52:44) s5: reallocing from 8 to 10
(12:52:44) msn: C: NS 000: VER 1 MSNP9 MSNP8 CVR0
(12:52:44) msn: S: NS 000: VER 1 MSNP9 MSNP8 CVR0
(12:52:44) msn: C: NS 000: CVR 2 0x0409 winnt 5.1 i386 MSNMSGR 6.0.0602 MSMSGS XXX@YYY.com
(12:52:44) 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/EN/Install_WLMessenger.exe http://messenger.msn.com
(12:52:44) msn: C: NS 000: USR 3 TWN I XXX@YYY.com
(12:52:44) msn: S: NS 000: USR 3 TWN S ct=1212083612,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
(12:52:44) dnsquery: Performing DNS lookup for [proxy.server.address]
(12:52:44) dnsquery: IP resolved for [proxy.server.address]
(12:52:44) proxy: Attempting connection to 167.107.66.4
(12:52:44) proxy: Connecting to nexus.passport.com:443 via [proxy.server.address]:1080 using SOCKS5
(12:52:44) socks5 proxy: Connection in progress
(12:52:44) socks5 proxy: Connected.
(12:52:44) socks5 proxy: Able to read.
(12:52:44) s5: reallocing from 4 to 8
(12:52:44) s5: reallocing from 8 to 10
(12:52:44) nss: Handshake failed (-5938)
(12:52:44) msn: C: NS 000: OUT
(12:52:44) account: Disconnecting account 00CA09F0
(12:52:44) connection: Disconnecting connection 00EE02A0
(12:52:44) msn: destroy httpconn (01010298)
(12:52:44) connection: Destroying connection 00EE02A0

Changed 2 years ago by felipec

Aha, that nss: Handshake failed (-5938).

I'll have to check, but there seems to be an error in proxy stuff.

Changed 2 years ago by bernmeister

Does this still exist in 2.5.0, given it now uses MSNP15?

Changed 2 years ago by bcourbage

I tested with Pidgin 2.5.1. The UI reports "Our protocol is not supported by the server." Here are the logs with and without HTTP Method.

Without HTTP Method:

(09:45:54) account: Connecting to account [Account_Name]
(09:45:54) connection: Connecting. gc = 0188D578
(09:45:54) msn: new httpconn (018E85B8)
(09:45:54) dnsquery: Performing DNS lookup for proxyname.domain.com
(09:45:54) dnsquery: IP resolved for proxyname.domain.com
(09:45:54) proxy: Attempting connection to [IP_Address]
(09:45:54) proxy: Connecting to messenger.hotmail.com:1863 via proxyname.domain.com:1080 using SOCKS5
(09:45:54) socks5 proxy: Connection in progress
(09:45:54) socks5 proxy: Connected.
(09:45:54) socks5 proxy: Able to read.
(09:45:54) s5: reallocing from 5 to 8
(09:45:54) s5: reallocing from 8 to 10
(09:45:54) msn: C: NS 000: VER 1 MSNP15 CVR0
(09:45:54) msn: S: NS 000: VER 1 CVR0
(09:45:54) msn: C: NS 000: OUT
(09:45:54) account: Disconnecting account 00CA1BB0
(09:45:54) connection: Disconnecting connection 0188D578
(09:45:54) msn: destroy the OIM 018EC1E8
(09:45:54) msn: destroy httpconn (018E85B8)
(09:45:54) connection: Destroying connection 0188D578

With HTTP Method:

(09:46:50) account: Connecting to account [Account_Name]
(09:46:50) connection: Connecting. gc = 018EC1C8
(09:46:50) msn: new httpconn (01892240)
(09:46:50) dnsquery: Performing DNS lookup for proxyname.domain.com
(09:46:50) msn: C: NS 000: VER 1 MSNP15 CVR0
(09:46:50) dnsquery: IP resolved for proxyname.domain.com
(09:46:50) proxy: Attempting connection to [IP_Address]
(09:46:50) proxy: Connecting to gateway.messenger.hotmail.com:80 via proxyname.domain.com:1080 using SOCKS5
(09:46:50) socks5 proxy: Connection in progress
(09:46:50) socks5 proxy: Connected.
(09:46:50) socks5 proxy: Able to read.
(09:46:50) s5: reallocing from 5 to 8
(09:46:50) s5: reallocing from 8 to 10
(09:46:50) msn: HTTP: Read error
(09:46:50) msn: Connection error from Notification server (gateway.messenger.hotmail.com): Reading error
(09:46:50) msn: C: NS 000: OUT
(09:46:50) account: Disconnecting account 00CA1BB0
(09:46:50) connection: Disconnecting connection 018EC1C8
(09:46:50) msn: destroy the OIM 01868928
(09:46:50) msn: destroy httpconn (01892240)
(09:46:50) connection: Destroying connection 018EC1C8

Changed 2 years ago by felipec

  • owner changed from felipec to khc

Changed 22 months ago by neckaros

I have the same problem using Adium 1.3.2 under OSX (same error log) behind my school proxy. Reading error from the notification server (09:46:50) msn: Connection error from Notification server (gateway.messenger.hotmail.com): Reading error

I just want to add that i can only connect to MSN (HTTP) without error when there is only a few people at school. So maybe it's a problem with timeout?

Changed 14 months ago by gi4mmyz

Hi all, I'm having the same problem (reading error) with Pidgin 2.5.7 from behind an http squid proxy: it connects, but after few minutes or as I start typing, the connection goes down. The problem does not occur all times, but, as stated from neckaros, it's more likely to occour at central hours of the day. (I suspect the problem is related with the presence of more than one pidgin running simultaneously in the network behind the proxy).

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!