Results 1 to 6 of 6

Thread: Proxy problem in Pidgin

  1. #1
    Join Date
    Aug 2011
    Location
    Chennai, India
    Posts
    12

    Default Proxy problem in Pidgin

    Hi Friends,

    Am using Pidgin 2.7.10, not able to connect in proxy, but its working good with out proxy. Even though i have configure pidgin in preference by adding http proxy address and username and password. But still its not connecting.

    Error Message: Unable to connect: Connection refused.

    Am using Gmail, Yahoo, Facebook in that pidgin.

    OS : Opensuse 11.4

    Note: Am using this proxy in office, they are using rainmail server [Am zero in this]

  2. #2

    Default Re: Proxy problem in Pidgin

    as you may be aware of, the global proxy setup for pidgin is Tools>Preferences>Proxy(Tab) which has a simple form to fill out..... lan ip addressort ... selection of type of proxy socks4/5/http and the username/password to access that proxy (Not any Yahoo/MSN/ICQ/Gmail validations..... That would be IF the proxy requires validation, if not leave those spaces blank.

    i've had my best luck using socks4 and enabling the checkbox for remote DNS (this is actually socks4a) which pushes the DNS lookup onto the server machine.

    then close the Preferences window and call up Accounts>ManagingAccounts to get a list of all connections. Highlight each and press Modify to go through the info on the Proxy tab which needs to set to "Global Proxy Settings"..... which you just did previously.


    it should work perfectly a the next start of pidgin, if not you will need to capture the pidgin=proxy handshake to get an idea of what's wrong.

    good luck

  3. #3
    Join Date
    Aug 2011
    Location
    Chennai, India
    Posts
    12

    Default Re: Proxy problem in Pidgin

    Quote Originally Posted by j_xavier View Post
    as you may be aware of, the global proxy setup for pidgin is Tools>Preferences>Proxy(Tab) which has a simple form to fill out..... lan ip addressort ... selection of type of proxy socks4/5/http and the username/password to access that proxy (Not any Yahoo/MSN/ICQ/Gmail validations..... That would be IF the proxy requires validation, if not leave those spaces blank.

    i've had my best luck using socks4 and enabling the checkbox for remote DNS (this is actually socks4a) which pushes the DNS lookup onto the server machine.

    then close the Preferences window and call up Accounts>ManagingAccounts to get a list of all connections. Highlight each and press Modify to go through the info on the Proxy tab which needs to set to "Global Proxy Settings"..... which you just did previously.


    it should work perfectly a the next start of pidgin, if not you will need to capture the pidgin=proxy handshake to get an idea of what's wrong.

    good luck
    Hi Xavier,

    Thanks for your reply. I have done all the steps as you said, but still am not able to connect. Kindly tell me how identify whether the pidgin in using that proxy information and how to capture the pidgin proxy details.

  4. #4

    Default Re: Proxy problem in Pidgin

    next thing i would do would be to start pidgin in debug mode, then search through the output for references to the proxy connection.... easiest way would be to start a terminal(console) window, then type:

    pidgin -d >~/Documents/pidgin_debug.txt

    this will direct the information into a file you can open in a text editor (feel free to change the location if needed).

    after pidgin starts completely you can close it normally, then locate the file created in your preferred text editor. Using the search function of the text editor you can quickly scroll through every occurrence of "proxy". This file will be pretty long even though it was only starting up, which is why it's not feasible to scrollback in terminal window.

    Hopefully some of the first few listings will have the information you need to pursue this further.

    also, if you are not aware of it, there is support for pidgin on freenode (irc.freenode.net #pidgin).

  5. #5
    Join Date
    Aug 2011
    Location
    Chennai, India
    Posts
    12

    Default Re: Proxy problem in Pidgin

    Hi Xavier,

    I did pidgin -d, i got

    ** After the pidgin plugins loaded **
    (14:08:38) Session Management: Connected to manager (KDE) with client ID 101bc17e166158000131668071800000024310049
    (14:08:38) Session Management: Using pidgin as command
    (14:08:38) GLib-GObject: value "-1216293461" of type `gint' is invalid or out of range for property `weight' of type `gint'
    (14:08:38) account: Connecting to account xxxxx@chat.facebook.com/.
    (14:08:38) connection: Connecting. gc = 0xb7def948
    (14:08:38) dnssrv: querying SRV record for chat.facebook.com: _xmpp-client._tcp.chat.facebook.com
    (14:08:38) account: Connecting to account xxxxx@gmail.com/.
    (14:08:38) connection: Connecting. gc = 0xb7df1860
    (14:08:38) dns: DNS query for '192.168.11.1' queued
    (14:08:38) account: Connecting to account xxxxx.
    (14:08:38) connection: Connecting. gc = 0xb7df2d38
    (14:08:38) util: requesting to fetch a URL
    (14:08:38) dns: DNS query for 'vcs1.msg.yahoo.com' queued
    (14:08:38) account: Connecting to account xxxxx.
    (14:08:38) connection: Connecting. gc = 0xb7df32f0
    (14:08:38) util: requesting to fetch a URL
    (14:08:38) dns: DNS query for 'vcs1.msg.yahoo.com' queued
    (14:08:38) Session Management: Received first save_yourself
    (14:08:38) dnsquery: IP resolved for 192.168.11.1
    (14:08:38) proxy: Attempting connection to 192.168.11.1
    (14:08:38) proxy: Connecting to talk.google.com:5222 via 192.168.11.1:8080 using HTTP
    (14:08:38) proxy: Connection in progress
    (14:08:38) dns: Created new DNS child 25515, there are now 1 children.
    (14:08:38) dns: Successfully sent DNS request to child 25515
    (14:08:38) dns: Created new DNS child 25516, there are now 2 children.
    (14:08:38) dns: Successfully sent DNS request to child 25516
    (14:08:38) Session Management: Received save_complete
    (14:08:38) proxy: Connected to talk.google.com:5222.
    (14:08:38) proxy: Connection attempt failed: Connection refused
    (14:08:38) jabber: Couldn't connect directly to gmail.com. Trying to find alternative connection methods, like BOSH.
    (14:08:38) dnssrv: querying TXT record for gmail.com: _xmppconnect.gmail.com
    (14:08:38) dns: Got response for 'vcs1.msg.yahoo.com'
    (14:08:38) dnsquery: IP resolved for vcs1.msg.yahoo.com
    (14:08:38) proxy: Attempting connection to 98.136.48.32
    (14:08:38) proxy: Connecting to vcs1.msg.yahoo.com:80 with no proxy
    (14:08:38) proxy: Connection in progress
    (14:08:38) dns: Got response for 'vcs1.msg.yahoo.com'
    (14:08:38) dnsquery: IP resolved for vcs1.msg.yahoo.com
    (14:08:38) proxy: Attempting connection to 98.136.48.32
    (14:08:38) proxy: Connecting to vcs1.msg.yahoo.com:80 with no proxy
    (14:08:38) proxy: Connection in progress
    (14:08:38) proxy: Connecting to vcs1.msg.yahoo.com:80.
    (14:08:38) proxy: Error connecting to vcs1.msg.yahoo.com:80 (Connection refused).
    (14:08:38) proxy: Connection attempt failed: Connection refused
    (14:08:38) yahoo: Unable to retrieve server info. 0 bytes retrieved with error message: Unable to connect to vcs1.msg.yahoo.com: Connection refused
    (14:08:38) dns: DNS query for 'scsa.msg.yahoo.com' queued
    (14:08:38) proxy: Connecting to vcs1.msg.yahoo.com:80.
    (14:08:38) proxy: Error connecting to vcs1.msg.yahoo.com:80 (Connection refused).
    (14:08:38) proxy: Connection attempt failed: Connection refused
    (14:08:38) yahoo: Unable to retrieve server info. 0 bytes retrieved with error message: Unable to connect to vcs1.msg.yahoo.com: Connection refused
    (14:08:38) dns: DNS query for '192.168.11.1' queued
    (14:08:38) dns: Successfully sent DNS request to child 25516
    (14:08:38) dnsquery: IP resolved for 192.168.11.1
    (14:08:38) proxy: Attempting connection to 192.168.11.1
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:5050 via 192.168.11.1:8080 using HTTP
    (14:08:38) proxy: Connection in progress
    (14:08:38) dns: Got response for 'scsa.msg.yahoo.com'
    (14:08:38) dnsquery: IP resolved for scsa.msg.yahoo.com
    (14:08:38) proxy: Attempting connection to 67.195.186.81
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002 with no proxy
    (14:08:38) proxy: Connection in progress
    (14:08:38) proxy: Connected to scsa.msg.yahoo.com:5050.
    (14:08:38) proxy: Connection attempt failed: Connection refused
    (14:08:38) connection: Connection error on 0xb7df32f0 (reason: 0 description: Unable to connect: Connection refused)
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002.
    (14:08:38) proxy: Error connecting to scsa.msg.yahoo.com:8002 (Connection refused).
    (14:08:38) proxy: Connection attempt failed: Connection refused
    (14:08:38) proxy: Attempting connection to 67.195.186.85
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002 with no proxy
    (14:08:38) proxy: Connection in progress
    (14:08:38) account: Disconnecting account xxxxx (0xb78e8968)
    (14:08:38) connection: Disconnecting connection 0xb7df32f0
    (14:08:38) connection: Destroying connection 0xb7df32f0
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002.
    (14:08:38) proxy: Error connecting to scsa.msg.yahoo.com:8002 (Connection refused).
    (14:08:38) proxy: Connection attempt failed: Connection refused
    (14:08:38) proxy: Attempting connection to 67.195.186.169
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002 with no proxy
    (14:08:38) proxy: Connection in progress
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002.
    (14:08:38) proxy: Error connecting to scsa.msg.yahoo.com:8002 (Connection refused).
    (14:08:38) proxy: Connection attempt failed: Connection refused
    (14:08:38) proxy: Attempting connection to 67.195.186.249
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002 with no proxy
    (14:08:38) proxy: Connection in progress
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002.
    (14:08:38) proxy: Error connecting to scsa.msg.yahoo.com:8002 (Connection refused).
    (14:08:38) proxy: Connection attempt failed: Connection refused
    (14:08:38) proxy: Attempting connection to 67.195.187.149
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002 with no proxy
    (14:08:38) proxy: Connection in progress
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002.
    (14:08:38) proxy: Error connecting to scsa.msg.yahoo.com:8002 (Connection refused).
    (14:08:38) proxy: Connection attempt failed: Connection refused
    (14:08:38) proxy: Attempting connection to 67.195.187.233
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002 with no proxy
    (14:08:38) proxy: Connection in progress
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002.
    (14:08:38) proxy: Error connecting to scsa.msg.yahoo.com:8002 (Connection refused).
    (14:08:38) proxy: Connection attempt failed: Connection refused
    (14:08:38) proxy: Attempting connection to 67.195.187.240
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002 with no proxy
    (14:08:38) proxy: Connection in progress
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002.
    (14:08:38) proxy: Error connecting to scsa.msg.yahoo.com:8002 (Connection refused).
    (14:08:38) proxy: Connection attempt failed: Connection refused
    (14:08:38) proxy: Attempting connection to 67.195.187.241
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002 with no proxy
    (14:08:38) proxy: Connection in progress
    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:8002.
    (14:08:38) proxy: Error connecting to scsa.msg.yahoo.com:8002 (Connection refused).
    (14:08:38) proxy: Connection attempt failed: Connection refused
    (14:08:38) connection: Connection error on 0xb7df2d38 (reason: 0 description: Unable to connect: Connection refused)
    (14:08:38) account: Disconnecting account xxxxx (0xb78e74f0)
    (14:08:38) connection: Disconnecting connection 0xb7df2d38
    (14:08:39) connection: Destroying connection 0xb7df2d38
    (14:08:39) dnssrv: res_query returned an error
    (14:08:39) jabber: Unable to find alternative XMPP connection methods after failing to connect directly.
    (14:08:39) connection: Connection error on 0xb7df1860 (reason: 0 description: Unable to connect)
    (14:08:39) account: Disconnecting account xxxxxx@gmail.com/ (0xb78c4340)
    (14:08:39) connection: Disconnecting connection 0xb7df1860
    (14:08:39) connection: Destroying connection 0xb7df1860
    (14:08:39) docklet: embedded
    (14:08:39) dnssrv: Found 0 entries, errno is 11
    (14:08:39) dns: DNS query for 'http://192.168.11.1' queued
    (14:08:39) dns: Successfully sent DNS request to child 25516
    dns[25516] Error: getaddrinfo returned -2
    (14:08:39) dns: Got response for 'http://192.168.11.1'
    (14:08:39) dnsquery: Error resolving http://192.168.11.1:
    Name or service not known
    (14:08:39) proxy: Connection attempt failed: Error resolving http://192.168.11.1:
    Name or service not known
    (14:08:39) jabber: Couldn't connect directly to chat.facebook.com. Trying to find alternative connection methods, like BOSH.
    (14:08:39) dnssrv: querying TXT record for chat.facebook.com: _xmppconnect.chat.facebook.com
    (14:08:39) dnssrv: res_query returned an error
    (14:08:39) jabber: Unable to find alternative XMPP connection methods after failing to connect directly.
    (14:08:39) connection: Connection error on 0xb7def948 (reason: 0 description: Unable to connect)
    (14:08:39) account: Disconnecting account xxxxxxx@chat.facebook.com/ (0xb78c8ab8)
    (14:08:39) connection: Disconnecting connection 0xb7def948
    (14:08:39) connection: Destroying connection 0xb7def948
    (14:08:42) prefs: /pidgin/blist/list_visible changed, scheduling save.
    (14:08:43) util: Writing file prefs.xml to directory /home/xxxx/.purple
    (14:08:43) util: Writing file /home/xxxxx/.purple/prefs.xml
    (14:08:43) util: Writing file accounts.xml to directory /home/xxxxx/.purple
    (14:08:43) util: Writing file /home/xxxxx/.purple/accounts.xml
    (14:08:44) util: Writing file blist.xml to directory /home/xxxxx/.purple
    (14:08:44) util: Writing file /home/xxxxx/.purple/blist.xml
    (14:08:46) autorecon: do_signon called
    (14:08:46) autorecon: calling purple_account_connect
    (14:08:46) account: Connecting to account xxxxx
    (14:08:46) connection: Connecting. gc = 0xb7aeff08
    (14:08:46) util: requesting to fetch a URL
    (14:08:46) dns: DNS query for 'vcs1.msg.yahoo.com' queued
    (14:08:46) autorecon: done calling purple_account_connect
    (14:08:46) dns: Successfully sent DNS request to child 25515
    (14:08:46) dns: Got response for 'vcs1.msg.yahoo.com'
    (14:08:46) dnsquery: IP resolved for vcs1.msg.yahoo.com
    (14:08:46) proxy: Attempting connection to 98.136.48.32
    (14:08:46) proxy: Connecting to vcs1.msg.yahoo.com:80 with no proxy
    (14:08:46) proxy: Connection in progress
    (14:08:47) proxy: Connecting to vcs1.msg.yahoo.com:80.
    (14:08:47) proxy: Error connecting to vcs1.msg.yahoo.com:80 (Connection refused).
    (14:08:47) proxy: Connection attempt failed: Connection refused
    (14:08:47) yahoo: Unable to retrieve server info. 0 bytes retrieved with error message: Unable to connect to vcs1.msg.yahoo.com: Connection refused
    (14:08:47) dns: DNS query for '192.168.11.1' queued
    (14:08:47) dnsquery: IP resolved for 192.168.11.1
    (14:08:47) proxy: Attempting connection to 192.168.11.1
    (14:08:47) proxy: Connecting to scsa.msg.yahoo.com:5050 via 192.168.11.1:8080 using HTTP
    (14:08:47) proxy: Connection in progress
    (14:08:47) proxy: Connected to scsa.msg.yahoo.com:5050.
    (14:08:47) proxy: Connection attempt failed: Connection refused
    (14:08:47) connection: Connection error on 0xb7aeff08 (reason: 0 description: Unable to connect: Connection refused)
    (14:08:47) account: Disconnecting account xxxxx (0xb78e8968)
    (14:08:47) connection: Disconnecting connection 0xb7aeff08
    (14:08:47) connection: Destroying connection 0xb7aeff08
    (14:08:52) util: Writing file accounts.xml to directory /home/xxxxx.purple
    (14:08:52) util: Writing file /home/xxxxx/.purple/accounts.xml
    (14:08:58) autorecon: do_signon called
    (14:08:58) autorecon: calling purple_account_connect
    (14:08:58) account: Connecting to account xxxxx@chat.facebook.com/.
    (14:08:58) connection: Connecting. gc = 0xb7e9edc8
    (14:08:58) dnssrv: querying SRV record for chat.facebook.com: _xmpp-client._tcp.chat.facebook.com
    (14:08:58) autorecon: done calling purple_account_connect
    (14:08:58) dnssrv: Found 0 entries, errno is 11
    (14:08:58) dns: DNS query for 'http://192.168.11.1' queued
    (14:08:58) dns: Successfully sent DNS request to child 25515
    dns[25515] Error: getaddrinfo returned -2
    (14:08:58) dns: Got response for 'http://192.168.11.1'
    (14:08:58) dnsquery: Error resolving http://192.168.11.1:
    Name or service not known
    (14:08:58) proxy: Connection attempt failed: Error resolving http://192.168.11.1:
    Name or service not known
    (14:08:58) jabber: Couldn't connect directly to chat.facebook.com. Trying to find alternative connection methods, like BOSH.
    (14:08:58) dnssrv: querying TXT record for chat.facebook.com: _xmppconnect.chat.facebook.com
    (14:08:58) dnssrv: res_query returned an error
    (14:08:58) jabber: Unable to find alternative XMPP connection methods after failing to connect directly.
    (14:08:58) connection: Connection error on 0xb7e9edc8 (reason: 0 description: Unable to connect)
    (14:08:58) account: Disconnecting account xxxxx@chat.facebook.com/ (0xb78c8ab8)
    (14:08:58) connection: Disconnecting connection 0xb7e9edc8
    (14:08:58) connection: Destroying connection 0xb7e9edc8
    (14:09:03) autorecon: do_signon called
    (14:09:03) autorecon: calling purple_account_connect
    (14:09:03) account: Connecting to account xxxxx
    (14:09:03) connection: Connecting. gc = 0xb7e17748
    (14:09:03) util: requesting to fetch a URL
    (14:09:03) dns: DNS query for 'vcs1.msg.yahoo.com' queued
    (14:09:03) autorecon: done calling purple_account_connect
    (14:09:03) dns: Created new DNS child 25674, there are now 1 children.
    (14:09:03) dns: Successfully sent DNS request to child 25674
    (14:09:03) dns: Got response for 'vcs1.msg.yahoo.com'
    (14:09:03) dnsquery: IP resolved for vcs1.msg.yahoo.com
    (14:09:03) proxy: Attempting connection to 98.136.48.32
    (14:09:03) proxy: Connecting to vcs1.msg.yahoo.com:80 with no proxy


  6. #6

    Default Re: Proxy problem in Pidgin

    my opinion would be that the local proxy server does not support SSL connections based on what the debug report, perhaps you should inquire?

    the http request:

    (14:08:38) proxy: Connecting to scsa.msg.yahoo.com:5050 via 192.168.11.1:8080 using HTTP

    returns a few lines later:

    (14:08:38) proxy: Connected to scsa.msg.yahoo.com:5050.

    which means that a standard http connection was successful through the proxy, the next step in yahoo's login process is username/pass verification over ssl which never happens. Since both the xmpp/jabber protocol pidgin accounts (googletalk and facebook) also use ssl and fail immediately, it implies that the proxy may not support it.

    if you go to pidgin's Accounts/MangageAccts.. select yahoo.. then Modify and check the box with "use poxy for http and https connections"... then start pidgin -d again with yahoo only enabled, it may be a more obvious record to show whoever is managing the server.

    good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •