Pidgin not authenticating against proxy?

Bram Mertens mertensb.mazda at gmail.com
Wed Jul 28 02:45:20 EDT 2010


Hi,

I have been using the google talk app for some time with success but
I'd like to switch to Pidgin on my corporate issued Windows XP now.

This machine is behind a series of proxies which require authentication.

In the Google Talk app I have set the proxy server and port as well as
my Active Directory username (without domain) and password.

I have tried various proxy settings in Pidgin but as the debug log
below shows I'm unable to connect.  My guess from the log is that
Pidgin is not authenticating against the proxy despite the fact I have
the username and password set.  I tried both with and without domain
but the output appears to be the same.

I also tried the "Use environmental settings" assuming Pidgin would
use the settings of Internet Explorer but it seems to pick up the
settings from somewhere else.  With this setting Pidgin tries to
connect directly instead of via the proxy.  One possible reason is
that the proxy settings in both Internet Explorer and Firefox are
configured automatically via a so called proxy.pac file.

How can I configure Pidgin to use the correct proxy settings and
authenticate against the proxy?

Kind regards

Bram

Proxy settings:
proxy type: HTTP
Host: <proxy server FQDN>
Port: 80
Username: <AD user name>
Pasword: ***

(08:22:57) util: Writing file prefs.xml to directory C:\Documents and
Settings\<AD user name>\Application Data\.purple
(08:22:57) util: Writing file C:\Documents and Settings\<AD user
name>\Application Data\.purple\prefs.xml
(08:23:02) account: Connecting to account <Gmail user account>@gmail.com/.
(08:23:02) connection: Connecting. gc = 023A6C70
(08:23:02) dnssrv: querying SRV record for gmail.com:
_xmpp-client._tcp.gmail.com
(08:23:02) dnssrv: Couldn't look up SRV record. No records found for
given DNS query. (9501).
(08:23:02) dnsquery: Performing DNS lookup for <proxy server FQDN>
(08:23:02) dnsquery: IP resolved for <proxy server FQDN>
(08:23:02) proxy: Attempting connection to <proxy IP address>
(08:23:02) proxy: Connecting to gmail.com:5222 via <proxy server
FQDN>:80 using HTTP
(08:23:02) proxy: Connection in progress
(08:23:02) proxy: Connected to gmail.com:5222.
(08:23:02) proxy: Using CONNECT tunneling for gmail.com:5222
(08:23:02) proxy: Proxy server replied with:
HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires
authorization to fulfill the request. Access to the Web Proxy service
is denied.  )
Via: 1.1 ISASRV
Proxy-Authenticate: Negotiate
Proxy-Authenticate: Kerberos
Proxy-Authenticate: NTLM
Proxy-Authenticate: Basic realm="<ISA server FQDN>"
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 725
(08:23:02) proxy: Connection attempt failed: HTTP proxy connection error 407
(08:23:02) jabber: Couldn't connect directly to gmail.com.  Trying to
find alternative connection methods, like BOSH.
(08:23:02) dnssrv: querying TXT record for gmail.com: _xmppconnect.gmail.com
(08:23:02) dnssrv: Couldn't look up TXT record. No records found for
given DNS query. (9501).
(08:23:02) jabber: Unable to find alternative XMPP connection methods
after failing to connect directly.
(08:23:02) connection: Connection error on 023A6C70 (reason: 0
description: Unable to connect)
(08:23:02) account: Disconnecting account <Gmail user
account>@gmail.com/ (00E99E28)
(08:23:02) connection: Disconnecting connection 023A6C70
(08:23:02) connection: Destroying connection 023A6C70
(08:23:07) util: Writing file accounts.xml to directory C:\Documents
and Settings\<AD user name>\Application Data\.purple
(08:23:07) util: Writing file C:\Documents and Settings\<AD user
name>\Application Data\.purple\accounts.xml


========================
Proxy settings:
proxy type: HTTP
Host: <proxy server FQDN>
Port: 80
Username: <AD domain>\<AD user name>
Pasword: ***

(08:26:20) account: Connecting to account <Gmail user account>@gmail.com/.
(08:26:20) connection: Connecting. gc = 022CD488
(08:26:20) dnssrv: querying SRV record for gmail.com:
_xmpp-client._tcp.gmail.com
(08:26:20) dnssrv: Couldn't look up SRV record. No records found for
given DNS query. (9501).
(08:26:20) dnsquery: Performing DNS lookup for <proxy server FQDN>
(08:26:20) dnsquery: IP resolved for <proxy server FQDN>
(08:26:20) proxy: Attempting connection to <proxy IP address>
(08:26:20) proxy: Connecting to gmail.com:5222 via <proxy server
FQDN>:80 using HTTP
(08:26:20) proxy: Connection in progress
(08:26:20) proxy: Connected to gmail.com:5222.
(08:26:20) proxy: Using CONNECT tunneling for gmail.com:5222
(08:26:20) proxy: Proxy server replied with:
HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires
authorization to fulfill the request. Access to the Web Proxy service
is denied.  )
Via: 1.1 ISASRV
Proxy-Authenticate: Negotiate
Proxy-Authenticate: Kerberos
Proxy-Authenticate: NTLM
Proxy-Authenticate: Basic realm="<ISA server FQDN>"
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 725
(08:26:20) proxy: Connection attempt failed: Lost connection with
server: Remote host closed connection.
(08:26:20) jabber: Couldn't connect directly to gmail.com.  Trying to
find alternative connection methods, like BOSH.
(08:26:20) dnssrv: querying TXT record for gmail.com: _xmppconnect.gmail.com
(08:26:20) dnssrv: Couldn't look up TXT record. No records found for
given DNS query. (9501).
(08:26:20) jabber: Unable to find alternative XMPP connection methods
after failing to connect directly.
(08:26:20) connection: Connection error on 022CD488 (reason: 0
description: Unable to connect)
(08:26:20) account: Disconnecting account <Gmail user
account>@gmail.com/ (00E99E28)
(08:26:20) connection: Disconnecting connection 022CD488
(08:26:20) connection: Destroying connection 022CD488
(08:26:25) util: Writing file accounts.xml to directory C:\Documents
and Settings\<AD user name>\Application Data\.purple
(08:26:25) util: Writing file C:\Documents and Settings\<AD user
name>\Application Data\.purple\accounts.xml

========================
Proxy settings:
proxy type: Use Environmental settings (IE uses proxy.pac)

(08:27:26) account: Connecting to account <Gmail user account>@gmail.com/.
(08:27:26) connection: Connecting. gc = 023A1B60
(08:27:26) dnssrv: querying SRV record for gmail.com:
_xmpp-client._tcp.gmail.com
(08:27:26) dnssrv: Couldn't look up SRV record. No records found for
given DNS query. (9501).
(08:27:26) wpurple: winhttp.dll not already loaded; loading it...
(08:27:26) wpurple: This version of winhttp.dll contains
WinHttpGetIEProxyConfigForCurrentUser
(08:27:26) proxy: No Windows proxy set.
(08:27:26) dnsquery: Performing DNS lookup for gmail.com
(08:27:26) dnsquery: Error resolving gmail.com: 11001
(08:27:26) proxy: Connection attempt failed: Error resolving gmail.com: 11001
(08:27:26) jabber: Couldn't connect directly to gmail.com.  Trying to
find alternative connection methods, like BOSH.
(08:27:26) dnssrv: querying TXT record for gmail.com: _xmppconnect.gmail.com
(08:27:26) dnssrv: Couldn't look up TXT record. No records found for
given DNS query. (9501).
(08:27:26) jabber: Unable to find alternative XMPP connection methods
after failing to connect directly.
(08:27:26) connection: Connection error on 023A1B60 (reason: 0
description: Unable to connect)
(08:27:26) account: Disconnecting account <Gmail user
account>@gmail.com/ (00E99E28)
(08:27:26) connection: Disconnecting connection 023A1B60
(08:27:26) connection: Destroying connection 023A1B60
(08:27:28) util: Writing file accounts.xml to directory C:\Documents
and Settings\<AD user name>\Application Data\.purple
(08:27:28) util: Writing file C:\Documents and Settings\<AD user
name>\Application Data\.purple\accounts.xml
(08:27:28) util: Writing file blist.xml to directory C:\Documents and
Settings\<AD user name>\Application Data\.purple
(08:27:28) util: Writing file C:\Documents and Settings\<AD user
name>\Application Data\.purple\blist.xml




More information about the Support mailing list