[Pidgin] #9552: Yahoo can't get buddy icons or do file transfers with common corporate proxy setups

Pidgin trac at pidgin.im
Mon Jun 29 04:46:33 EDT 2009


#9552: Yahoo can't get buddy icons or do file transfers with common corporate
proxy setups
----------------------------+-----------------------------------------------
 Reporter:  monsieurrigsby  |     Owner:  rekkanoryo
     Type:  defect          |    Status:  new       
Component:  unclassified    |   Version:  2.5.6     
 Keywords:  yahoo proxy     |  
----------------------------+-----------------------------------------------
 See [https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/164301/ Ubuntu
 bug #164301] (though this applies on Windows as well).

 By default, Yahoo connects on port 5050, but uses HTTP port 80 for buddy
 icons and file transfers (both via filetransfer.msg.yahoo.com it seems).

 A common corporate situation is to be behind a proxy which allows port
 5050, but requires HTTP port 80 to go via the proxy. In this case, one
 should set the Yahoo account preference to be no proxy and then
 (presumably) use the global Tools-->Preferences-->Network-->Configure
 Proxy to set the proxy used for everything else (which should cause this
 "default" setting to be used for access to servers other than the main IM
 connection one--- or so antok.tm in the Ubuntu bug believes, and looks
 like he's been through the source).

 However, this doesn't work. The main 5050 IM connections works fine, but
 all the buddy icon and file transfers are blocked (see annotated debug log
 extract below).

 {{{
 Pidgin Debug Log : Thu 11 Jun 2009 15:57:57 BST

 '''<Main Port 5050 IM connection OK (no proxy)>'''

 (15:57:23) proxy: Attempting connection to 66.163.181.178
 (15:57:23) proxy: Connecting to scs.msg.yahoo.com:5050 with no proxy
 (15:57:23) proxy: Connection in progress
 (15:57:24) proxy: Connected to scs.msg.yahoo.com:5050.

 '''<Address server port 80 proxy connection OK>'''

 (15:57:24) proxy: Attempting connection to 130.159.177.27
 (15:57:24) proxy: Connecting to address.yahoo.com:80 via ist:3128 using
 HTTP
 (15:57:24) proxy: Connection in progress
 (15:57:24) proxy: Connected to address.yahoo.com:80.
 (15:57:24) proxy: HTTP proxy connection established

 '''<Buddy icon (filetransfer) server port 80 connection FAILS
 (uses no proxy when should>'''

 (15:57:24) blist: Updating buddy status for cecia11 (Yahoo)
 (15:57:24) dnsquery: IP resolved for filetransfer.msg.yahoo.com
 (15:57:24) proxy: Attempting connection to 209.191.122.71
 (15:57:24) proxy: Connecting to filetransfer.msg.yahoo.com:80 with no
 proxy
 (15:57:24) proxy: Connection in progress
 (15:57:33) proxy: Connected to filetransfer.msg.yahoo.com:80.
 (15:57:33) proxy: Error connecting to filetransfer.msg.yahoo.com:80 (No
 route to host).
 (15:57:33) proxy: Connection attempt failed: No route to host
 (15:57:33) yahoo: Buddy icon upload failed: No route to host
 }}}

 Strange because it *does* correctly use a port 80 proxy connection for the
 address server... As in the Ubuntu bug, antok.tm believes that the code
 doesn't use the full URL for the filetransfer server access, so
 (presumably) whatever code/library does the connection doesn't know that
 this is HTTP and thus doesn't use the proxy (so presumably it *does* use a
 full HTTP URL for the address server one, which works).

 (Actually, log extract is from Pidgin 2.5.2, but retested on 2.5.6 and
 still fails but you don't get the proxy error messages in the log, just a
 connection with no proxy which never returns. Also noticed that it
 correctly uses HTTP proxy for connections to the Yahoo profile server as
 well).

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


More information about the Tracker mailing list