Forum Discussion
sealpup
16 years agoOccasional Contributor
Adding localhost or 127.0.0.1 to the exclusion list on the proxy settings fixes the problem for the Test samples.
That's great. Thanks.
Unfortunately the real test (to an external website) - with the log below still doesn't work with the same authentication issues.
Any ideas!?
Thanks.
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "CONNECT test.salesforce.com:443 HTTP/1.1"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "Host: test.salesforce.com[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "Proxy-Connection: Keep-Alive[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "HTTP/1.1 407 Proxy Authentication Required[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "HTTP/1.1 407 Proxy Authentication Required[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Proxy-Authenticate: NTLM[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Proxy-Authenticate: BASIC realm="aeg_ad_realm"[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Cache-Control: no-cache[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Pragma: no-cache[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Content-Type: text/html; charset=utf-8[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Proxy-Connection: close[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Set-Cookie: BCSI-CS0A26F647=2; Path=/[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Connection: close[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Content-Length: 810[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<HTML><HEAD>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<TITLE>Access Denied</TITLE>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</HEAD>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<BODY>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<FONT face="Helvetica">[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<big><strong></strong></big><BR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</FONT>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<blockquote>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<TABLE border=0 cellPadding=1 width="80%">[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<TR><TD>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<FONT face="Helvetica">[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<big>Access Denied (authentication_failed)</big>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<BR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<BR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</FONT>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</TD></TR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<TR><TD>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<FONT face="Helvetica">[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Your credentials could not be authenticated: "Credentials required.". You will not be permitted access until your credentials can be verified.[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</FONT>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</TD></TR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<TR><TD>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<FONT face="Helvetica">[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "This is typically caused by an incorrect username and/or password, but could also be caused by network problems.[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</FONT>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</TD></TR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<TR><TD>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<FONT face="Helvetica" SIZE=2>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<BR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "For assistance, contact your network support team.[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</FONT>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</TD></TR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</TABLE>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</blockquote>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</FONT>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</BODY></HTML>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "CONNECT test.salesforce.com:443 HTTP/1.1"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "Proxy-Connection: Keep-Alive[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "Host: test.salesforce.com[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "HTTP/1.1 407 Proxy Authentication Required[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "HTTP/1.1 407 Proxy Authentication Required[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Proxy-Authenticate: NTLM[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Proxy-Authenticate: BASIC realm="aeg_ad_realm"[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Cache-Control: no-cache[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Pragma: no-cache[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Content-Type: text/html; charset=utf-8[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Proxy-Connection: close[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Set-Cookie: BCSI-CS0A26F647=2; Path=/[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Connection: close[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Content-Length: 810[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "[\r][\n]"
That's great. Thanks.
Unfortunately the real test (to an external website) - with the log below still doesn't work with the same authentication issues.
Any ideas!?
Thanks.
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "CONNECT test.salesforce.com:443 HTTP/1.1"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "Host: test.salesforce.com[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "Proxy-Connection: Keep-Alive[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "HTTP/1.1 407 Proxy Authentication Required[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "HTTP/1.1 407 Proxy Authentication Required[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Proxy-Authenticate: NTLM[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Proxy-Authenticate: BASIC realm="aeg_ad_realm"[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Cache-Control: no-cache[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Pragma: no-cache[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Content-Type: text/html; charset=utf-8[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Proxy-Connection: close[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Set-Cookie: BCSI-CS0A26F647=2; Path=/[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Connection: close[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Content-Length: 810[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<HTML><HEAD>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<TITLE>Access Denied</TITLE>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</HEAD>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<BODY>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<FONT face="Helvetica">[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<big><strong></strong></big><BR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</FONT>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<blockquote>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<TABLE border=0 cellPadding=1 width="80%">[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<TR><TD>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<FONT face="Helvetica">[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<big>Access Denied (authentication_failed)</big>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<BR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<BR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</FONT>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</TD></TR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<TR><TD>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<FONT face="Helvetica">[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Your credentials could not be authenticated: "Credentials required.". You will not be permitted access until your credentials can be verified.[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</FONT>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</TD></TR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<TR><TD>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<FONT face="Helvetica">[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "This is typically caused by an incorrect username and/or password, but could also be caused by network problems.[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</FONT>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</TD></TR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<TR><TD>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<FONT face="Helvetica" SIZE=2>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "<BR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "For assistance, contact your network support team.[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</FONT>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</TD></TR>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</TABLE>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</blockquote>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</FONT>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "</BODY></HTML>[\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "CONNECT test.salesforce.com:443 HTTP/1.1"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "Proxy-Connection: Keep-Alive[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "Host: test.salesforce.com[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:>> "[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "HTTP/1.1 407 Proxy Authentication Required[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "HTTP/1.1 407 Proxy Authentication Required[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Proxy-Authenticate: NTLM[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Proxy-Authenticate: BASIC realm="aeg_ad_realm"[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Cache-Control: no-cache[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Pragma: no-cache[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Content-Type: text/html; charset=utf-8[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Proxy-Connection: close[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Set-Cookie: BCSI-CS0A26F647=2; Path=/[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Connection: close[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "Content-Length: 810[\r][\n]"
Thu Sep 02 15:59:21 BST 2010:DEBUG:<< "[\r][\n]"