[Pidgin] #4375: connect failure/global proxy setup, connect ok/per-account proxy setup

Pidgin trac at pidgin.im
Wed Dec 12 13:10:25 EST 2007


#4375: connect failure/global proxy setup, connect ok/per-account proxy setup
-------------------------+--------------------------------------------------
 Reporter:  emptyspiral  |       Type:  defect
   Status:  new          |   Priority:  minor 
Component:  libpurple    |    Version:  2.3.1 
 Keywords:               |    Pending:  0     
-------------------------+--------------------------------------------------
 Hello.

 I'm currently running Pidgin 2.3.1 on Gentoo 2007.0. The problem i'm
 reporting showed up since 2.2.1. From what i can remember, in 2.1.0 there
 was no problem.

 Problem description:
 We use a SOCKS5 proxy server. If i set it in Tools -> Preferences ->
 Network -> Proxy Server (IP, port - no user/pass specified), then no
 accounts can log in (Yahoo, MSN, ICQ, XMPP). If i set the exactly the same
 data in each account Advanced -> Proxy Options, the logging in works.

 The reported error in the Debug Console is:
 proxy: Connection attempt failed: Received invalid data on connection with
 server.

 I will attach the purple-debug.log pidgin created (stripped).

 Test scenario: I disabled all accounts, yahoo being setup to use Global
 Proxy Settings. Tried to log in -> failure. Changed proxy settings for
 account to the same data (IP, port - no user/pass), retried -> OK.

 From what i can guess from the debug log:

 - it looks like although i have no user/password setup for Global Proxy
 settings, Pidgin tries to auth to the proxy server.

 - also, it looks as if although the account is set to use per-account
 proxy settings, some operations still try to use the global settings
 because they report the same error as when i try to connect with Global
 Proxy set up for account.

 - the only extra line in the debug log when connection fails is: "socks5
 proxy: Got auth response.", although the user and password fields are
 blank

 --- Extract from ~/.purple/prefs.xml ---

                 <pref name='network'>

                         <pref name='auto_ip' type='bool' value='1'/>

                         <pref name='public_ip' type='string'
 value='[snip]'/>

                         <pref name='ports_range_use' type='bool'
 value='0'/>

                         <pref name='ports_range_start' type='int'
 value='1024'/>

                         <pref name='ports_range_end' type='int'
 value='2048'/>

                         <pref name='stun_server' type='string' value=''/>

                 </pref>

                 <pref name='proxy'>

                         <pref name='type' type='string' value='socks5'/>

                         <pref name='host' type='string' value='[snip]'/>

                         <pref name='port' type='int' value='1080'/>

                         <pref name='username' type='string' value=''/>

                         <pref name='password' type='string' value=''/>

                 </pref>

                 <pref name='sound'>

                         <pref name='while_status' type='int' value='1'/>

                 </pref>

 -----------------------------------------

 Thank you for your time.

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


More information about the Tracker mailing list