Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0 Alpha 3
-
None
-
Operating System: other
Platform: PC
-
19291
Description
Description:
With the 0422 nightly build, the httpClient fails to negotiate NTLM proxy
server for https connections. The failure seems to be caused by the new logic
in HttpMethodBase.processAuthenticationResponse (). The logic thinks the NTLM
realm has been tried already on handling the challenge from proxy server. The
trace/debug/wire logs will be attached. The relavent log lines are:
2003/04/24 15:07:18:921 CDT [DEBUG] wire - -<< "HTTP/1.0 407 Proxy
Authentication Required[\r][\n]"
2003/04/24 15:07:18:937 CDT [TRACE] HttpMethod - -enter
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
2003/04/24 15:07:18:937 CDT [TRACE] HttpConnection - -enter
HttpConnection.getResponseInputStream()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter
HeaderParser.parseHeaders(HttpConnection, HeaderGroup)
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readRawLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readRawLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readRawLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readRawLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readRawLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readRawLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readLine()
2003/04/24 15:07:18:937 CDT [TRACE] HttpParser - -enter HttpParser.readRawLine()
2003/04/24 15:07:18:937 CDT [DEBUG] wire - -<< "Date: Thu, 24 Apr 2003
20:08:43GMT[\r][\n]"
2003/04/24 15:07:18:937 CDT [DEBUG] wire - -<< "Content-Length: 257[\r][\n]"
2003/04/24 15:07:18:953 CDT [DEBUG] wire - -<< "Content-Type: text/html[\r][\n]"
2003/04/24 15:07:18:953 CDT [DEBUG] wire - -<< "Server: NetCache appliance
(NetApp/5.3.1R1)[\r][\n]"
2003/04/24 15:07:18:953 CDT [DEBUG] wire - -<< "Connection: keep-alive[\r][\n]"
2003/04/24 15:07:18:953 CDT [DEBUG] wire - -<< "Proxy-Authenticate: NTLM
TlRMTVNTUAACAAAABgAGACgAAAAGggEASs11HY+mPGcAAAAAAAAAAEdMT0JBTA==[\r][\n]"
2003/04/24 15:07:18:953 CDT [TRACE] HttpMethod - -enter
HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)
2003/04/24 15:07:18:953 CDT [TRACE] HttpMethod - -enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)
2003/04/24 15:07:18:953 CDT [TRACE] HttpMethod - -enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)
2003/04/24 15:07:18:953 CDT [TRACE] HttpConnection - -enter
HttpConnection.getResponseInputStream()
2003/04/24 15:07:18:953 CDT [TRACE] HeaderElement - -enter HeaderElement.parse
(String)
2003/04/24 15:07:18:953 CDT [TRACE] HeaderElement - -enter
HeaderElement.parsePair(char[], int, int)
2003/04/24 15:07:18:953 CDT [DEBUG] HttpMethod - -Authorization required
2003/04/24 15:07:18:953 CDT [TRACE] HttpMethod - -enter
HttpMethodBase.processAuthenticationResponse(HttpState, HttpConnection)
2003/04/24 15:07:18:953 CDT [TRACE] HttpAuthenticator - -enter
HttpAuthenticator.selectAuthScheme(Header[])
2003/04/24 15:07:18:953 CDT [INFO] HttpMethod - -Already tried to authenticate
to "evoya.dev.sabre.com#null" but still receiving 407.