You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by "Lansing, Carina S" <Ca...@pnnl.gov> on 2014/01/07 22:28:19 UTC

Proxy authentication Error - NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED in Http Client 4.3.1

Hi All,

We are using httpclient 4.3.1, trying to connect to a website that requires basic authentication through an NTLM v2 proxy.  It appears that the proxy authentication is successfully negotiated, but then when trying to process the challenge from the target web site in the next pass, the NTLMScheme is throwing this exception at line  147?  We are instantiating our http client via the snippet shown below.  Our software is a collaborative modeling & visualization tool that runs from several different external locations.  We just got a new user who sits behind an NTLM v2 proxy, so we had to upgrade our httpclient library, which required me to change how our httpclient is instantiated.  Please let me know if you see any problems.  Following the code snippet is a debug trace of the HttpGet  operation.

Thanks,
Carina
-----------------------------------------------------------------------------------
    ConnectionConfig connectionConfig = ConnectionConfig.custom()
        .setMalformedInputAction(CodingErrorAction.IGNORE)
        .setUnmappableInputAction(CodingErrorAction.IGNORE)
        .setCharset(Consts.UTF_8)
        .setMessageConstraints(MessageConstraints.DEFAULT)

        .build();
    
    this.connManager = new PoolingHttpClientConnectionManager();

    // Configure the connection manager to use connection configuration
    this.connManager.setDefaultConnectionConfig(connectionConfig);

    // Configure total max or per route limits for persistent connections
    // that can be kept in the pool or leased by the connection manager.
    this.connManager.setMaxTotal(30);
    this.connManager.setDefaultMaxPerRoute(30);

    // Create global request configuration
    this.defaultRequestConfig = RequestConfig.custom()
        .setCookieSpec(CookieSpecs.BEST_MATCH)
        .setExpectContinueEnabled(true)
        .setStaleConnectionCheckEnabled(true)
        .setTargetPreferredAuthSchemes(Arrays.asList(AuthSchemes.BASIC))
        .setProxyPreferredAuthSchemes(Arrays.asList(AuthSchemes.BASIC, AuthSchemes.NTLM))
        .build();
.....
    // Set the route planner with our Proxy Selector which should auto-determine the proxy settings
    SystemDefaultRoutePlanner routePlanner = new SystemDefaultRoutePlanner(ProxyConfig.getProxySelector());

    // Use custom credentials provider to set credentials for server and proxy
    CredentialsProvider credentialsProvider = new BasicCredentialsProvider();     

    // Set credentials for velo server
    credentialsProvider.setCredentials(
        new AuthScope(this.server, this.port), // velo server and port (i.e., akuna.labworks.org:80)
        new UsernamePasswordCredentials(username, password));

    // Set credentials for proxy
    if(ProxyConfig.getHost() != null && ProxyConfig.getProxyUsername() != null) {
      // basic scheme
      credentialsProvider.setCredentials(
          new AuthScope(ProxyConfig.getHost(), ProxyConfig.getPort(), new BasicScheme().getSchemeName()),
          new UsernamePasswordCredentials(ProxyConfig.getProxyUsername(), ProxyConfig.getProxyPassword()));       

      // NTLM scheme
      credentialsProvider.setCredentials(
          new AuthScope(ProxyConfig.getHost(), ProxyConfig.getPort(), AuthScope.ANY_REALM, new NTLMScheme().getSchemeName()),
          new NTCredentials(ProxyConfig.getProxyUsername(), ProxyConfig.getProxyPassword(),
              ProxyConfig.getClientMachine(), ProxyConfig.getClientDomain()));  
    }
    
    // Configure for https
    SSLConnectionSocketFactory sslsf = new SSLConnectionSocketFactory(sslContext,
        SSLConnectionSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER);
    
    // Create an HttpClient with the given custom dependencies and configuration.
    CloseableHttpClient httpclient = HttpClients.custom()
        .setConnectionManager(this.connManager)
        .setDefaultCredentialsProvider(credentialsProvider)
        //         .setProxy(new HttpHost("myproxy", 8080)) // don't need to set proxy since routePlanner should do it
        .setRoutePlanner(routePlanner)
        .setDefaultRequestConfig(this.defaultRequestConfig)
        .setSSLSocketFactory(sslsf)
        .build();
---------------------------------------------------------------------------------------------------
executing request GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1
2014/01/02 15:33:12:817 PST [DEBUG] RequestAddCookies - CookieSpec selected: best-match
2014/01/02 15:33:12:818 PST [DEBUG] RequestAuthCache - Auth cache not set in the context
2014/01/02 15:33:12:820 PST [DEBUG] PoolingHttpClientConnectionManager - Connection request: [route: {}->http://hlanproxy.rl.gov:8080->http://akuna.labworks.org:80][total kept aliv
e: 0; route allocated: 0 of 30; total allocated: 0 of 30]
2014/01/02 15:33:12:825 PST [DEBUG] PoolingHttpClientConnectionManager - Connection leased: [id: 1][route: {}->http://hlanproxy.rl.gov:8080->http://akuna.labworks.org:80][total kep
t alive: 0; route allocated: 1 of 30; total allocated: 1 of 30]
2014/01/02 15:33:12:828 PST [DEBUG] MainClientExec - Opening connection {}->http://hlanproxy.rl.gov:8080->http://akuna.labworks.org:80
2014/01/02 15:33:12:831 PST [DEBUG] HttpClientConnectionManager - Connecting to hlanproxy.rl.gov/130.97.198.61:8080
2014/01/02 15:33:12:833 PST [DEBUG] MainClientExec - Executing request GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1
2014/01/02 15:33:12:834 PST [DEBUG] MainClientExec - Target auth state: UNCHALLENGED
2014/01/02 15:33:12:837 PST [DEBUG] MainClientExec - Proxy auth state: UNCHALLENGED
2014/01/02 15:33:12:839 PST [DEBUG] headers - http-outgoing-1 >> GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1
2014/01/02 15:33:12:841 PST [DEBUG] headers - http-outgoing-1 >> Host: akuna.labworks.org:80
2014/01/02 15:33:12:843 PST [DEBUG] headers - http-outgoing-1 >> Proxy-Connection: Keep-Alive
2014/01/02 15:33:12:845 PST [DEBUG] headers - http-outgoing-1 >> User-Agent: Apache-HttpClient/4.3.1 (java 1.5)
2014/01/02 15:33:12:846 PST [DEBUG] headers - http-outgoing-1 >> Accept-Encoding: gzip,deflate
2014/01/02 15:33:12:849 PST [DEBUG] wire - http-outgoing-1 >> "GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1[\r][\n]"
2014/01/02 15:33:12:850 PST [DEBUG] wire - http-outgoing-1 >> "Host: akuna.labworks.org:80[\r][\n]"
2014/01/02 15:33:12:853 PST [DEBUG] wire - http-outgoing-1 >> "Proxy-Connection: Keep-Alive[\r][\n]"
2014/01/02 15:33:12:854 PST [DEBUG] wire - http-outgoing-1 >> "User-Agent: Apache-HttpClient/4.3.1 (java 1.5)[\r][\n]"
2014/01/02 15:33:12:855 PST [DEBUG] wire - http-outgoing-1 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2014/01/02 15:33:12:856 PST [DEBUG] wire - http-outgoing-1 >> "[\r][\n]"
2014/01/02 15:33:12:863 PST [DEBUG] wire - http-outgoing-1 << "HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to
the Web Proxy filter is denied.  )[\r][\n]"
2014/01/02 15:33:12:865 PST [DEBUG] wire - http-outgoing-1 << "Via: 1.1 ISA01A[\r][\n]"
2014/01/02 15:33:12:867 PST [DEBUG] wire - http-outgoing-1 << "Proxy-Authenticate: NTLM[\r][\n]"
2014/01/02 15:33:12:870 PST [DEBUG] wire - http-outgoing-1 << "Connection: Keep-Alive[\r][\n]"
2014/01/02 15:33:12:872 PST [DEBUG] wire - http-outgoing-1 << "Proxy-Connection: Keep-Alive[\r][\n]"
2014/01/02 15:33:12:874 PST [DEBUG] wire - http-outgoing-1 << "Pragma: no-cache[\r][\n]"
2014/01/02 15:33:12:875 PST [DEBUG] wire - http-outgoing-1 << "Cache-Control: no-cache[\r][\n]"
2014/01/02 15:33:12:877 PST [DEBUG] wire - http-outgoing-1 << "Content-Type: text/html[\r][\n]"
2014/01/02 15:33:12:879 PST [DEBUG] wire - http-outgoing-1 << "Content-Length: 4107  [\r][\n]"
2014/01/02 15:33:12:881 PST [DEBUG] wire - http-outgoing-1 << "[\r][\n]"
2014/01/02 15:33:12:882 PST [DEBUG] wire - http-outgoing-1 << "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">[\r][\n]"
2014/01/02 15:33:12:885 PST [DEBUG] wire - http-outgoing-1 << "<HTML><HEAD><TITLE>Error Message</TITLE>[\r][\n]"
2014/01/02 15:33:12:886 PST [DEBUG] wire - http-outgoing-1 << "<META http-equiv=Content-Type content="text/html; charset=UTF-8">[\r][\n]"
2014/01/02 15:33:12:887 PST [DEBUG] wire - http-outgoing-1 << "<STYLE id=L_default_1>A {[\r][\n]"
2014/01/02 15:33:12:888 PST [DEBUG] wire - http-outgoing-1 << "[0x9]FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #005a80; FONT-FAMILY: tahoma[\r][\n]"
2014/01/02 15:33:12:889 PST [DEBUG] wire - http-outgoing-1 << "}[\r][\n]"
2014/01/02 15:33:12:891 PST [DEBUG] wire - http-outgoing-1 << "A:hover {[\r][\n]"
2014/01/02 15:33:12:892 PST [DEBUG] wire - http-outgoing-1 << "[0x9]FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #0d3372; FONT-FAMILY: tahoma[\r][\n]"
2014/01/02 15:33:12:893 PST [DEBUG] wire - http-outgoing-1 << "}[\r][\n]"
2014/01/02 15:33:12:894 PST [DEBUG] wire - http-outgoing-1 << "TD {[\r][\n]"
2014/01/02 15:33:12:895 PST [DEBUG] wire - http-outgoing-1 << "[0x9]FONT-SIZE: 8pt; FONT-FAMILY: tahoma[\r][\n]"
2014/01/02 15:33:12:897 PST [DEBUG] wire - http-outgoing-1 << "}[\r][\n]"
2014/01/02 15:33:12:898 PST [DEBUG] wire - http-outgoing-1 << "TD.titleBorder {[\r][\n]"
2014/01/02 15:33:12:899 PST [DEBUG] wire - http-outgoing-1 << "[0x9]BORDER-RIGHT: #955319 1px solid; BORDER-TOP: #955319 1px solid; PADDING-LEFT: 8px; FONT-WEIGHT: bold; FONT-SIZE:
12pt; VERTICAL-ALIGN: middle; BORDER-LEFT: #955319 0px solid; COLOR: #955319; BORDER-BOTTOM: #955319 1px solid; FONT-FAMILY: tahoma; HEIGHT: 35px; BACKGROUND-COLOR: #d2b87a; TEXT-
ALIGN: left[\r][\n]"
2014/01/02 15:33:12:902 PST [DEBUG] wire - http-outgoing-1 << "}[\r][\n]"
2014/01/02 15:33:12:904 PST [DEBUG] wire - http-outgoing-1 << "TD.titleBorder_x {[\r][\n]"
2014/01/02 15:33:12:906 PST [DEBUG] wire - http-outgoing-1 << "[0x9]BORDER-RIGHT: #955319 0px solid; BORDER-TOP: #955319 1px solid; PADDING-LEFT: 8px; FONT-WEIGHT: bold; FONT-SIZE:
12pt; VERTICAL-ALIGN: middle; BORDER-LEFT: #955319 1px solid; COLOR: #978c79; BORDER-BOTTOM: #955319 1px solid; FONT-FAMILY: tahoma; HEIGHT: 35px; BACKGROUND-COLOR: #d2b87a; TEXT-
ALIGN: left[\r][\n]"
2014/01/02 15:33:12:910 PST [DEBUG] wire - http-outgoing-1 << "}[\r][\n]"
2014/01/02 15:33:12:912 PST [DEBUG] wire - http-outgoing-1 << ".TitleDescription {[\r][\n]"
2014/01/02 15:33:12:914 PST [DEBUG] wire - http-outgoing-1 << "[0x9]FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: tahoma[\r][\n]"
2014/01/02 15:33:12:916 PST [DEBUG] wire - http-outgoing-1 << "}[\r][\n]"
2014/01/02 15:33:12:917 PST [DEBUG] wire - http-outgoing-1 << "SPAN.explain {[\r][\n]"
2014/01/02 15:33:12:919 PST [DEBUG] wire - http-outgoing-1 << "[0x9]FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #934225[\r][\n]"
2014/01/02 15:33:12:922 PST [DEBUG] wire - http-outgoing-1 << "}[\r][\n]"
2014/01/02 15:33:12:923 PST [DEBUG] wire - http-outgoing-1 << "SPAN.TryThings {[\r][\n]"
2014/01/02 15:33:12:924 PST [DEBUG] wire - http-outgoing-1 << "[0x9]FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #934225[\r][\n]"
2014/01/02 15:33:12:927 PST [DEBUG] wire - http-outgoing-1 << "}[\r][\n]"
2014/01/02 15:33:12:928 PST [DEBUG] wire - http-outgoing-1 << ".TryList {[\r][\n]"
2014/01/02 15:33:12:929 PST [DEBUG] wire - http-outgoing-1 << "[0x9]MARGIN-TOP: 5px; FONT-WEIGHT: normal; FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: tahoma[\r][\n]"
2014/01/02 15:33:12:930 PST [DEBUG] wire - http-outgoing-1 << "}[\r][\n]"
2014/01/02 15:33:12:931 PST [DEBUG] wire - http-outgoing-1 << ".X {[\r][\n]"
2014/01/02 15:33:12:933 PST [DEBUG] wire - http-outgoing-1 << "[0x9]BORDER-RIGHT: #955319 1px solid; BORDER-TOP: #955319 1px solid; FONT-WEIGHT: normal; FONT-SIZE: 12pt; BORDER-LEF
T: #955319 1px solid; COLOR: #7b3807; BORDER-BOTTOM: #955319 1px solid; FONT-FAMILY: verdana; BACKGROUND-COLOR: #d1c2b4[\r][\n]"
2014/01/02 15:33:12:936 PST [DEBUG] wire - http-outgoing-1 << "}[\r][\n]"
2014/01/02 15:33:12:938 PST [DEBUG] wire - http-outgoing-1 << ".adminList {[\r][\n]"
2014/01/02 15:33:12:939 PST [DEBUG] wire - http-outgoing-1 << "[0x9]MARGIN-TOP: 2px[\r][\n]"
2014/01/02 15:33:12:940 PST [DEBUG] wire - http-outgoing-1 << "}[\r][\n]"
2014/01/02 15:33:12:941 PST [DEBUG] wire - http-outgoing-1 << "</STYLE>[\r][\n]"
2014/01/02 15:33:12:944 PST [DEBUG] wire - http-outgoing-1 << "<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>[\r][\n]"
2014/01/02 15:33:12:945 PST [DEBUG] wire - http-outgoing-1 << "<BODY bgColor=#f3f3ed>[\r][\n]"
2014/01/02 15:33:12:949 PST [DEBUG] wire - http-outgoing-1 << "<TABLE cellSpacing=0 cellPadding=0 width="100%">[\r][\n]"
2014/01/02 15:33:12:950 PST [DEBUG] wire - http-outgoing-1 << "  <TBODY>[\r][\n]"
2014/01/02 15:33:12:953 PST [DEBUG] wire - http-outgoing-1 << "  <TR>[\r][\n]"
2014/01/02 15:33:12:954 PST [DEBUG] wire - http-outgoing-1 << "    <TD class=titleborder_x width=30>[\r][\n]"
2014/01/02 15:33:12:957 PST [DEBUG] wire - http-outgoing-1 << "      <TABLE height=25 cellSpacing=2 cellPadding=0 width=25 bgColor=black>[\r][\n]"
2014/01/02 15:33:12:958 PST [DEBUG] wire - http-outgoing-1 << "        <TBODY>[\r][\n]"
2014/01/02 15:33:12:961 PST [DEBUG] wire - http-outgoing-1 << "        <TR>[\r][\n]"
2014/01/02 15:33:12:962 PST [DEBUG] wire - http-outgoing-1 << "          <TD class=x vAlign=center align=middle>X</TD>[\r][\n]"
2014/01/02 15:33:12:964 PST [DEBUG] wire - http-outgoing-1 << "        </TR>[\r][\n]"
2014/01/02 15:33:12:965 PST [DEBUG] wire - http-outgoing-1 << "        </TBODY>[\r][\n]"
2014/01/02 15:33:12:967 PST [DEBUG] wire - http-outgoing-1 << "      </TABLE>[\r][\n]"
2014/01/02 15:33:12:969 PST [DEBUG] wire - http-outgoing-1 << "    </TD>[\r][\n]"
2014/01/02 15:33:12:970 PST [DEBUG] wire - http-outgoing-1 << "    <TD class=titleBorder id=L_default_2>Network Access Message:<SPAN class=TitleDescription> The page cannot be disp
layed</SPAN> </TD>[\r][\n]"
2014/01/02 15:33:12:975 PST [DEBUG] wire - http-outgoing-1 << "  </TR>[\r][\n]"
2014/01/02 15:33:12:977 PST [DEBUG] wire - http-outgoing-1 << "  </TBODY>[\r][\n]"
2014/01/02 15:33:12:980 PST [DEBUG] wire - http-outgoing-1 << "</TABLE>[\r][\n]"
2014/01/02 15:33:12:981 PST [DEBUG] wire - http-outgoing-1 << "[\r][\n]"
2014/01/02 15:33:12:982 PST [DEBUG] wire - http-outgoing-1 << "<TABLE id=spacer>[\r][\n]"
2014/01/02 15:33:12:985 PST [DEBUG] wire - http-outgoing-1 << "  <TBODY>[\r][\n]"
2014/01/02 15:33:12:988 PST [DEBUG] wire - http-outgoing-1 << "  <TR>[\r][\n]"
2014/01/02 15:33:12:988 PST [DEBUG] wire - http-outgoing-1 << "    <TD height=10></TD></TR></TBODY></TABLE>[\r][\n]"
2014/01/02 15:33:12:991 PST [DEBUG] wire - http-outgoing-1 << "<TABLE width=400>[\r][\n]"
2014/01/02 15:33:12:994 PST [DEBUG] wire - http-outgoing-1 << "  <TBODY>[\r][\n]"
2014/01/02 15:33:12:995 PST [DEBUG] wire - http-outgoing-1 << "  <TR>[\r]"
2014/01/02 15:33:12:997 PST [DEBUG] headers - http-outgoing-1 << HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access t
o the Web Proxy filter is denied.  )
2014/01/02 15:33:13:002 PST [DEBUG] headers - http-outgoing-1 << Via: 1.1 ISA01A
2014/01/02 15:33:13:003 PST [DEBUG] headers - http-outgoing-1 << Proxy-Authenticate: NTLM
2014/01/02 15:33:13:004 PST [DEBUG] headers - http-outgoing-1 << Connection: Keep-Alive
2014/01/02 15:33:13:005 PST [DEBUG] headers - http-outgoing-1 << Proxy-Connection: Keep-Alive
2014/01/02 15:33:13:006 PST [DEBUG] headers - http-outgoing-1 << Pragma: no-cache
2014/01/02 15:33:13:008 PST [DEBUG] headers - http-outgoing-1 << Cache-Control: no-cache
2014/01/02 15:33:13:009 PST [DEBUG] headers - http-outgoing-1 << Content-Type: text/html
2014/01/02 15:33:13:010 PST [DEBUG] headers - http-outgoing-1 << Content-Length: 4107
2014/01/02 15:33:13:012 PST [DEBUG] MainClientExec - Connection can be kept alive indefinitely
2014/01/02 15:33:13:013 PST [DEBUG] HttpAuthenticator - Authentication required
2014/01/02 15:33:13:014 PST [DEBUG] HttpAuthenticator - hlanproxy.rl.gov:8080 requested authentication
2014/01/02 15:33:13:015 PST [DEBUG] ProxyAuthenticationStrategy - Authentication schemes in the order of preference: [Basic, NTLM]
2014/01/02 15:33:13:016 PST [DEBUG] ProxyAuthenticationStrategy - Challenge for Basic authentication scheme not available
2014/01/02 15:33:13:020 PST [DEBUG] HttpAuthenticator - Selected authentication options: [NTLM]
2014/01/02 15:33:13:022 PST [DEBUG] wire - http-outgoing-1 << "[\n]"
2014/01/02 15:33:13:022 PST [DEBUG] wire - http-outgoing-1 << "    <TD noWrap width=25></TD>[\r][\n]"
2014/01/02 15:33:13:024 PST [DEBUG] wire - http-outgoing-1 << "    <TD width=400><SPAN class=explain><ID id=L_default_3><B>Explanation:</B></ID></SPAN><ID id=L_default_4> There is
a problem with the page you are trying to reach and it cannot be displayed. </ID><BR><BR>[\r][\n]"
2014/01/02 15:33:13:029 PST [DEBUG] wire - http-outgoing-1 << "    <B><SPAN class=tryThings><ID id=L_default_5><B>Try the following:</B></ID></SPAN></B> [\r][\n]"
2014/01/02 15:33:13:031 PST [DEBUG] wire - http-outgoing-1 << "      <UL class=TryList>[\r][\n]"
2014/01/02 15:33:13:032 PST [DEBUG] wire - http-outgoing-1 << "        <LI id=L_default_6><B>Refresh page:</B> Search for the page again by clicking the Refresh button. The timeout
may have occurred due to Internet congestion.[\r][\n]"
2014/01/02 15:33:13:037 PST [DEBUG] wire - http-outgoing-1 << "<LI id=L_default_7><B>Check spelling:</B> Check that you typed the Web page address correctly. The address may have b
een mistyped.[\r][\n]"
2014/01/02 15:33:13:041 PST [DEBUG] wire - http-outgoing-1 << "<LI id=L_default_8><B>Access from a link:</B> If there is a link to the page you are looking for, try accessing the p
age from that link.[\r][\n]"
2014/01/02 15:33:13:044 PST [DEBUG] wire - http-outgoing-1 << "[\r][\n]"
2014/01/02 15:33:13:046 PST [DEBUG] wire - http-outgoing-1 << "      </UL>[\r][\n]"
2014/01/02 15:33:13:047 PST [DEBUG] wire - http-outgoing-1 << "<ID id=L_default_9>If you are still not able to view the requested page, try contacting your administrator or Helpdes
k.</ID> <BR><BR>[\r][\n]"
2014/01/02 15:33:13:049 PST [DEBUG] wire - http-outgoing-1 << "    </TD>[\r][\n]"
2014/01/02 15:33:13:052 PST [DEBUG] wire - http-outgoing-1 << "  </TR>[\r][\n]"
2014/01/02 15:33:13:053 PST [DEBUG] wire - http-outgoing-1 << "  </TBODY>[\r][\n]"
2014/01/02 15:33:13:054 PST [DEBUG] wire - http-outgoing-1 << "</TABLE>[\r][\n]"
2014/01/02 15:33:13:055 PST [DEBUG] wire - http-outgoing-1 << "[\r][\n]"
2014/01/02 15:33:13:056 PST [DEBUG] wire - http-outgoing-1 << "<TABLE id=spacer><TBODY><TR><TD height=15></TD></TR></TBODY></TABLE>[\r][\n]"
2014/01/02 15:33:13:057 PST [DEBUG] wire - http-outgoing-1 << "[\r][\n]"
2014/01/02 15:33:13:058 PST [DEBUG] wire - http-outgoing-1 << "<TABLE width=400>[\r][\n]"
2014/01/02 15:33:13:059 PST [DEBUG] wire - http-outgoing-1 << "  <TBODY>[\r][\n]"
2014/01/02 15:33:13:060 PST [DEBUG] wire - http-outgoing-1 << "  <TR>[\r][\n]"
2014/01/02 15:33:13:061 PST [DEBUG] wire - http-outgoing-1 << "    <TD noWrap width=25></TD>[\r][\n]"
2014/01/02 15:33:13:062 PST [DEBUG] wire - http-outgoing-1 << "    <TD width=400 id=L_default_10><B>Technical Information (for support personnel)</B> [\r][\n]"
2014/01/02 15:33:13:064 PST [DEBUG] wire - http-outgoing-1 << "      <UL class=adminList>[\r][\n]"
2014/01/02 15:33:13:064 PST [DEBUG] wire - http-outgoing-1 << "        <LI id=L_default_11>Error Code: 407 Proxy Authentication Required. The ISA Server requires authorization to f
ulfill the request. Access to the Web Proxy filter is denied. (12209)[\r][\n]"
2014/01/02 15:33:13:070 PST [DEBUG] wire - http-outgoing-1 << "<LI id=L_default_12>IP Address: 130.97.198.61[\r][\n]"
2014/01/02 15:33:13:071 PST [DEBUG] wire - http-outgoing-1 << "<LI id=L_default_13>Date: 1/2/2014 11:33:12 PM [GMT][\r][\n]"
2014/01/02 15:33:13:072 PST [DEBUG] wire - http-outgoing-1 << "<LI id=L_default_14>Server: isa01a.rl.gov[\r][\n]"
2014/01/02 15:33:13:073 PST [DEBUG] wire - http-outgoing-1 << "<LI id=L_default_15>Source: proxy[\r][\n]"
2014/01/02 15:33:13:075 PST [DEBUG] wire - http-outgoing-1 << "[\r][\n]"
2014/01/02 15:33:13:076 PST [DEBUG] wire - http-outgoing-1 << "      </UL>[\r][\n]"
2014/01/02 15:33:13:077 PST [DEBUG] wire - http-outgoing-1 << "    </TD>[\r][\n]"
2014/01/02 15:33:13:078 PST [DEBUG] wire - http-outgoing-1 << "  </TR>[\r][\n]"
2014/01/02 15:33:13:079 PST [DEBUG] wire - http-outgoing-1 << "  </TBODY>[\r][\n]"
2014/01/02 15:33:13:081 PST [DEBUG] wire - http-outgoing-1 << "</TABLE>[\r][\n]"
2014/01/02 15:33:13:082 PST [DEBUG] wire - http-outgoing-1 << "[\r][\n]"
2014/01/02 15:33:13:083 PST [DEBUG] wire - http-outgoing-1 << "</BODY>[\r][\n]"
2014/01/02 15:33:13:086 PST [DEBUG] wire - http-outgoing-1 << "</HTML>[\r][\n]"
2014/01/02 15:33:13:088 PST [DEBUG] wire - http-outgoing-1 << "[\r][\n]"
2014/01/02 15:33:13:090 PST [DEBUG] MainClientExec - Executing request GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1
2014/01/02 15:33:13:091 PST [DEBUG] MainClientExec - Target auth state: UNCHALLENGED
2014/01/02 15:33:13:094 PST [DEBUG] MainClientExec - Proxy auth state: CHALLENGED
2014/01/02 15:33:13:096 PST [DEBUG] HttpAuthenticator - Generating response to an authentication challenge using ntlm scheme
2014/01/02 15:33:13:100 PST [DEBUG] headers - http-outgoing-1 >> GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1
2014/01/02 15:33:13:101 PST [DEBUG] headers - http-outgoing-1 >> Host: akuna.labworks.org:80
2014/01/02 15:33:13:103 PST [DEBUG] headers - http-outgoing-1 >> Proxy-Connection: Keep-Alive
2014/01/02 15:33:13:104 PST [DEBUG] headers - http-outgoing-1 >> User-Agent: Apache-HttpClient/4.3.1 (java 1.5)
2014/01/02 15:33:13:105 PST [DEBUG] headers - http-outgoing-1 >> Accept-Encoding: gzip,deflate
2014/01/02 15:33:13:106 PST [DEBUG] headers - http-outgoing-1 >> Proxy-Authorization: NTLM [MESSAGE OMMITTED]
2014/01/02 15:33:13:107 PST [DEBUG] wire - http-outgoing-1 >> "GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1[\r][\n]"
2014/01/02 15:33:13:108 PST [DEBUG] wire - http-outgoing-1 >> "Host: akuna.labworks.org:80[\r][\n]"
2014/01/02 15:33:13:110 PST [DEBUG] wire - http-outgoing-1 >> "Proxy-Connection: Keep-Alive[\r][\n]"
2014/01/02 15:33:13:111 PST [DEBUG] wire - http-outgoing-1 >> "User-Agent: Apache-HttpClient/4.3.1 (java 1.5)[\r][\n]"
2014/01/02 15:33:13:112 PST [DEBUG] wire - http-outgoing-1 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2014/01/02 15:33:13:113 PST [DEBUG] wire - http-outgoing-1 >> "Proxy-Authorization: NTLM [MESSAGE OMMITTED] [\r][\n]"
2014/01/02 15:33:13:114 PST [DEBUG] wire - http-outgoing-1 >> "[\r][\n]"
2014/01/02 15:33:13:117 PST [DEBUG] wire - http-outgoing-1 << "HTTP/1.1 407 Proxy Authentication Required ( Access is denied.  )[\r][\n]"
2014/01/02 15:33:13:118 PST [DEBUG] wire - http-outgoing-1 << "Via: 1.1 ISA01A[\r][\n]"
2014/01/02 15:33:13:119 PST [DEBUG] wire - http-outgoing-1 << "Proxy-Authenticate: NTLM [MESSAGE OMMITTED] [\r][\n]"
2014/01/02 15:33:13:121 PST [DEBUG] wire - http-outgoing-1 << "Connection: Keep-Alive[\r][\n]"
2014/01/02 15:33:13:122 PST [DEBUG] wire - http-outgoing-1 << "Proxy-Connection: Keep-Alive[\r][\n]"
2014/01/02 15:33:13:124 PST [DEBUG] wire - http-outgoing-1 << "Pragma: no-cache[\r][\n]"
2014/01/02 15:33:13:125 PST [DEBUG] wire - http-outgoing-1 << "Cache-Control: no-cache[\r][\n]"
2014/01/02 15:33:13:126 PST [DEBUG] wire - http-outgoing-1 << "Content-Type: text/html[\r][\n]"
2014/01/02 15:33:13:127 PST [DEBUG] wire - http-outgoing-1 << "Content-Length: 0     [\r][\n]"
2014/01/02 15:33:13:128 PST [DEBUG] wire - http-outgoing-1 << "[\r][\n]"
2014/01/02 15:33:13:130 PST [DEBUG] headers - http-outgoing-1 << HTTP/1.1 407 Proxy Authentication Required ( Access is denied.  )
2014/01/02 15:33:13:130 PST [DEBUG] headers - http-outgoing-1 << Via: 1.1 ISA01A
2014/01/02 15:33:13:132 PST [DEBUG] headers - http-outgoing-1 << Proxy-Authenticate: NTLM [MESSAGE OMMITTED]
2014/01/02 15:33:13:134 PST [DEBUG] headers - http-outgoing-1 << Connection: Keep-Alive
2014/01/02 15:33:13:136 PST [DEBUG] headers - http-outgoing-1 << Proxy-Connection: Keep-Alive
2014/01/02 15:33:13:137 PST [DEBUG] headers - http-outgoing-1 << Pragma: no-cache
2014/01/02 15:33:13:138 PST [DEBUG] headers - http-outgoing-1 << Cache-Control: no-cache
2014/01/02 15:33:13:140 PST [DEBUG] headers - http-outgoing-1 << Content-Type: text/html
2014/01/02 15:33:13:141 PST [DEBUG] headers - http-outgoing-1 << Content-Length: 0
2014/01/02 15:33:13:142 PST [DEBUG] MainClientExec - Connection can be kept alive indefinitely
2014/01/02 15:33:13:143 PST [DEBUG] HttpAuthenticator - Authentication required
2014/01/02 15:33:13:144 PST [DEBUG] HttpAuthenticator - hlanproxy.rl.gov:8080 requested authentication
2014/01/02 15:33:13:146 PST [DEBUG] HttpAuthenticator - Authorization challenge processed
2014/01/02 15:33:13:147 PST [DEBUG] MainClientExec - Executing request GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1
2014/01/02 15:33:13:148 PST [DEBUG] MainClientExec - Target auth state: UNCHALLENGED
2014/01/02 15:33:13:149 PST [DEBUG] MainClientExec - Proxy auth state: HANDSHAKE
2014/01/02 15:33:13:156 PST [DEBUG] headers - http-outgoing-1 >> GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1
2014/01/02 15:33:13:157 PST [DEBUG] headers - http-outgoing-1 >> Host: akuna.labworks.org:80
2014/01/02 15:33:13:158 PST [DEBUG] headers - http-outgoing-1 >> Proxy-Connection: Keep-Alive
2014/01/02 15:33:13:159 PST [DEBUG] headers - http-outgoing-1 >> User-Agent: Apache-HttpClient/4.3.1 (java 1.5)
2014/01/02 15:33:13:160 PST [DEBUG] headers - http-outgoing-1 >> Accept-Encoding: gzip,deflate
2014/01/02 15:33:13:161 PST [DEBUG] headers - http-outgoing-1 >> Proxy-Authorization: NTLM [MESSAGE OMMITTED]
2014/01/02 15:33:13:163 PST [DEBUG] wire - http-outgoing-1 >> "GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1[\r][\n]"
2014/01/02 15:33:13:165 PST [DEBUG] wire - http-outgoing-1 >> "Host: akuna.labworks.org:80[\r][\n]"
2014/01/02 15:33:13:166 PST [DEBUG] wire - http-outgoing-1 >> "Proxy-Connection: Keep-Alive[\r][\n]"
2014/01/02 15:33:13:169 PST [DEBUG] wire - http-outgoing-1 >> "User-Agent: Apache-HttpClient/4.3.1 (java 1.5)[\r][\n]"
2014/01/02 15:33:13:169 PST [DEBUG] wire - http-outgoing-1 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2014/01/02 15:33:13:170 PST [DEBUG] wire - http-outgoing-1 >> "Proxy-Authorization: NTLM [MESSAGE OMMITTED] [\r][\n]"
2014/01/02 15:33:13:172 PST [DEBUG] wire - http-outgoing-1 >> "[\r][\n]"
2014/01/02 15:33:13:259 PST [DEBUG] wire - http-outgoing-1 << "HTTP/1.1 401 Unauthorized[\r][\n]"
2014/01/02 15:33:13:260 PST [DEBUG] wire - http-outgoing-1 << "Via: 1.1 ISA01A[\r][\n]"
2014/01/02 15:33:13:262 PST [DEBUG] wire - http-outgoing-1 << "Connection: Keep-Alive[\r][\n]"
2014/01/02 15:33:13:263 PST [DEBUG] wire - http-outgoing-1 << "Proxy-Support: Session-Based-Authentication[\r][\n]"
2014/01/02 15:33:13:265 PST [DEBUG] wire - http-outgoing-1 << "Connection: Proxy-Support[\r][\n]"
2014/01/02 15:33:13:267 PST [DEBUG] wire - http-outgoing-1 << "Content-Length: 951[\r][\n]"
2014/01/02 15:33:13:269 PST [DEBUG] wire - http-outgoing-1 << "Date: Thu, 02 Jan 2014 23:33:13 GMT[\r][\n]"
2014/01/02 15:33:13:270 PST [DEBUG] wire - http-outgoing-1 << "Content-Type: text/html;charset=utf-8[\r][\n]"
2014/01/02 15:33:13:272 PST [DEBUG] wire - http-outgoing-1 << "Server: Apache-Coyote/1.1[\r][\n]"
2014/01/02 15:33:13:273 PST [DEBUG] wire - http-outgoing-1 << "WWW-Authenticate: Basic realm="Alfresco"[\r][\n]"
2014/01/02 15:33:13:275 PST [DEBUG] wire - http-outgoing-1 << "[\r][\n]"
2014/01/02 15:33:13:277 PST [DEBUG] wire - http-outgoing-1 << "<html><head><title>Apache Tomcat/7.0.30 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;colo
r:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-se
rif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;colo
r:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;
}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This reque
st requires HTTP authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.30</h3></body></html>"
2014/01/02 15:33:13:282 PST [DEBUG] headers - http-outgoing-1 << HTTP/1.1 401 Unauthorized
2014/01/02 15:33:13:285 PST [DEBUG] headers - http-outgoing-1 << Via: 1.1 ISA01A
2014/01/02 15:33:13:287 PST [DEBUG] headers - http-outgoing-1 << Connection: Keep-Alive
2014/01/02 15:33:13:289 PST [DEBUG] headers - http-outgoing-1 << Proxy-Support: Session-Based-Authentication
2014/01/02 15:33:13:290 PST [DEBUG] headers - http-outgoing-1 << Connection: Proxy-Support
2014/01/02 15:33:13:292 PST [DEBUG] headers - http-outgoing-1 << Content-Length: 951
2014/01/02 15:33:13:293 PST [DEBUG] headers - http-outgoing-1 << Date: Thu, 02 Jan 2014 23:33:13 GMT
2014/01/02 15:33:13:295 PST [DEBUG] headers - http-outgoing-1 << Content-Type: text/html;charset=utf-8
2014/01/02 15:33:13:296 PST [DEBUG] headers - http-outgoing-1 << Server: Apache-Coyote/1.1
2014/01/02 15:33:13:298 PST [DEBUG] headers - http-outgoing-1 << WWW-Authenticate: Basic realm="Alfresco"
2014/01/02 15:33:13:299 PST [DEBUG] MainClientExec - Connection can be kept alive indefinitely
2014/01/02 15:33:13:300 PST [DEBUG] HttpAuthenticator - Authentication required
2014/01/02 15:33:13:303 PST [DEBUG] HttpAuthenticator - akuna.labworks.org:80 requested authentication
2014/01/02 15:33:13:304 PST [DEBUG] TargetAuthenticationStrategy - Authentication schemes in the order of preference: [Basic]
2014/01/02 15:33:13:307 PST [DEBUG] HttpAuthenticator - Selected authentication options: [BASIC]
2014/01/02 15:33:13:308 PST [DEBUG] MainClientExec - Executing request GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1
2014/01/02 15:33:13:309 PST [DEBUG] MainClientExec - Target auth state: CHALLENGED
2014/01/02 15:33:13:310 PST [DEBUG] HttpAuthenticator - Generating response to an authentication challenge using basic scheme
2014/01/02 15:33:13:311 PST [DEBUG] MainClientExec - Proxy auth state: HANDSHAKE
2014/01/02 15:33:13:313 PST [ERROR] HttpAuthenticator - NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED
2014/01/02 15:33:13:314 PST [DEBUG] headers - http-outgoing-1 >> GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1
2014/01/02 15:33:13:315 PST [DEBUG] headers - http-outgoing-1 >> Host: akuna.labworks.org:80
2014/01/02 15:33:13:316 PST [DEBUG] headers - http-outgoing-1 >> Proxy-Connection: Keep-Alive
2014/01/02 15:33:13:319 PST [DEBUG] headers - http-outgoing-1 >> User-Agent: Apache-HttpClient/4.3.1 (java 1.5)
2014/01/02 15:33:13:320 PST [DEBUG] headers - http-outgoing-1 >> Accept-Encoding: gzip,deflate
2014/01/02 15:33:13:321 PST [DEBUG] headers - http-outgoing-1 >> Authorization: Basic [MESSAGE OMMITTED]
2014/01/02 15:33:13:322 PST [DEBUG] wire - http-outgoing-1 >> "GET http://akuna.labworks.org:80/akunaDevAlfresco/service/cat/startSession HTTP/1.1[\r][\n]"
2014/01/02 15:33:13:323 PST [DEBUG] wire - http-outgoing-1 >> "Host: akuna.labworks.org:80[\r][\n]"
2014/01/02 15:33:13:325 PST [DEBUG] wire - http-outgoing-1 >> "Proxy-Connection: Keep-Alive[\r][\n]"
2014/01/02 15:33:13:326 PST [DEBUG] wire - http-outgoing-1 >> "User-Agent: Apache-HttpClient/4.3.1 (java 1.5)[\r][\n]"
2014/01/02 15:33:13:327 PST [DEBUG] wire - http-outgoing-1 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2014/01/02 15:33:13:328 PST [DEBUG] wire - http-outgoing-1 >> "Authorization: Basic [MESSAGE OMMITTED] [\r][\n]"
2014/01/02 15:33:13:329 PST [DEBUG] wire - http-outgoing-1 >> "[\r][\n]"
2014/01/02 15:33:13:378 PST [DEBUG] wire - http-outgoing-1 << "HTTP/1.1 401 Unauthorized[\r][\n]"
2014/01/02 15:33:13:379 PST [DEBUG] wire - http-outgoing-1 << "Via: 1.1 ISA01A[\r][\n]"
2014/01/02 15:33:13:381 PST [DEBUG] wire - http-outgoing-1 << "Connection: Keep-Alive[\r][\n]"
2014/01/02 15:33:13:383 PST [DEBUG] wire - http-outgoing-1 << "Proxy-Support: Session-Based-Authentication[\r][\n]"
2014/01/02 15:33:13:385 PST [DEBUG] wire - http-outgoing-1 << "Connection: Proxy-Support[\r][\n]"
2014/01/02 15:33:13:386 PST [DEBUG] wire - http-outgoing-1 << "Content-Length: 951[\r][\n]"
2014/01/02 15:33:13:388 PST [DEBUG] wire - http-outgoing-1 << "Date: Thu, 02 Jan 2014 23:33:13 GMT[\r][\n]"
2014/01/02 15:33:13:389 PST [DEBUG] wire - http-outgoing-1 << "Content-Type: text/html;charset=utf-8[\r][\n]"
2014/01/02 15:33:13:391 PST [DEBUG] wire - http-outgoing-1 << "Server: Apache-Coyote/1.1[\r][\n]"
2014/01/02 15:33:13:392 PST [DEBUG] wire - http-outgoing-1 << "WWW-Authenticate: Basic realm="Alfresco"[\r][\n]"
2014/01/02 15:33:13:393 PST [DEBUG] wire - http-outgoing-1 << "[\r][\n]"
2014/01/02 15:33:13:395 PST [DEBUG] wire - http-outgoing-1 << "<html><head><title>Apache Tomcat/7.0.30 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;colo
r:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-se
rif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;colo
r:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;
}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This reque
st requires HTTP authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.30</h3></body></html>"
2014/01/02 15:33:13:399 PST [DEBUG] headers - http-outgoing-1 << HTTP/1.1 401 Unauthorized
2014/01/02 15:33:13:404 PST [DEBUG] headers - http-outgoing-1 << Via: 1.1 ISA01A
2014/01/02 15:33:13:406 PST [DEBUG] headers - http-outgoing-1 << Connection: Keep-Alive
2014/01/02 15:33:13:407 PST [DEBUG] headers - http-outgoing-1 << Proxy-Support: Session-Based-Authentication
2014/01/02 15:33:13:409 PST [DEBUG] headers - http-outgoing-1 << Connection: Proxy-Support
2014/01/02 15:33:13:410 PST [DEBUG] headers - http-outgoing-1 << Content-Length: 951
2014/01/02 15:33:13:412 PST [DEBUG] headers - http-outgoing-1 << Date: Thu, 02 Jan 2014 23:33:13 GMT
2014/01/02 15:33:13:413 PST [DEBUG] headers - http-outgoing-1 << Content-Type: text/html;charset=utf-8
2014/01/02 15:33:13:415 PST [DEBUG] headers - http-outgoing-1 << Server: Apache-Coyote/1.1
2014/01/02 15:33:13:417 PST [DEBUG] headers - http-outgoing-1 << WWW-Authenticate: Basic realm="Alfresco"
2014/01/02 15:33:13:419 PST [DEBUG] MainClientExec - Connection can be kept alive indefinitely
2014/01/02 15:33:13:420 PST [DEBUG] HttpAuthenticator - Authentication required
2014/01/02 15:33:13:421 PST [DEBUG] HttpAuthenticator - akuna.labworks.org:80 requested authentication
2014/01/02 15:33:13:422 PST [DEBUG] HttpAuthenticator - Authorization challenge processed
2014/01/02 15:33:13:423 PST [DEBUG] HttpAuthenticator - Authentication failed
----------------------------------------
HTTP/1.1 401 Unauthorized
Response content length: 951
2014/01/02 15:33:13:431 PST [DEBUG] PoolingHttpClientConnectionManager - Connection [id: 1][route: {}->http://hlanproxy.rl.gov:8080->http://akuna.labworks.org:80][state: DOMAIN\USERID] can be kept alive indefinitely
2014/01/02 15:33:13:433 PST [DEBUG] PoolingHttpClientConnectionManager - Connection released: [id: 1][route: {}->http://hlanproxy.rl.gov:8080->http://akuna.labworks.org:80][state:
DOMAIN\USERID][total kept alive: 1; route allocated: 1 of 30; total allocated: 1 of 30]
2014/01/02 15:33:13:436 PST [DEBUG] PoolingHttpClientConnectionManager - Connection manager is shutting down
2014/01/02 15:33:13:438 PST [DEBUG] DefaultManagedHttpClientConnection - http-outgoing-1: Close connection
2014/01/02 15:33:13:440 PST [DEBUG] DefaultManagedHttpClientConnection - http-outgoing-1: Close connection
2014/01/02 15:33:13:441 PST [DEBUG] PoolingHttpClientConnectionManager - Connection manager shut down

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


RE: Proxy authentication Error - NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED in Http Client 4.3.1

Posted by "Lansing, Carina S" <Ca...@pnnl.gov>.
Hi Oleg,

I incorporated your patch, and it worked for our user sitting behind the NTLM proxy.  Thanks so much for responding so quickly :)

Carina 

-----Original Message-----
From: Oleg Kalnichevski [mailto:olegk@apache.org] 
Sent: Thursday, January 09, 2014 5:04 AM
To: HttpClient User Discussion
Cc: Lansing, Carina S
Subject: Re: Proxy authentication Error - NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED in Http Client 4.3.1

On Thu, 2014-01-09 at 00:32 +0000, Lansing, Carina S wrote:
> Will do - thanks Oleg!
> 

Carina,

Could you please try out this patch (attached)?

If you are comfortable using GitHub you can clone the patched version from here

https://github.com/ok2c/httpclient.git

Oleg

> -----Original Message-----
> From: Oleg Kalnichevski [mailto:olegk@apache.org]
> Sent: Wednesday, January 08, 2014 2:20 AM
> To: HttpClient User Discussion
> Subject: Re: Proxy authentication Error - NTLM authentication error: 
> Unexpected state: MSG_TYPE3_GENERATED in Http Client 4.3.1
> 
> On Tue, 2014-01-07 at 21:28 +0000, Lansing, Carina S wrote:
> > Hi All,
> > 
> > We are using httpclient 4.3.1, trying to connect to a website that requires basic authentication through an NTLM v2 proxy.  It appears that the proxy authentication is successfully negotiated, but then when trying to process the challenge from the target web site in the next pass, the NTLMScheme is throwing this exception at line  147?  We are instantiating our http client via the snippet shown below.  Our software is a collaborative modeling & visualization tool that runs from several different external locations.  We just got a new user who sits behind an NTLM v2 proxy, so we had to upgrade our httpclient library, which required me to change how our httpclient is instantiated.  Please let me know if you see any problems.  Following the code snippet is a debug trace of the HttpGet  operation.
> > 
> > Thanks,
> > Carina
> 
> Hi Carina
> 
> Your code looks all right to me. This is likely to be a bug in HttpClient. Could you please raise a JIRA for this defect?
> 
> Oleg
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 


Re: Proxy authentication Error - NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED in Http Client 4.3.1

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Thu, 2014-01-09 at 00:32 +0000, Lansing, Carina S wrote:
> Will do - thanks Oleg!
> 

Carina,

Could you please try out this patch (attached)?

If you are comfortable using GitHub you can clone the patched version
from here

https://github.com/ok2c/httpclient.git

Oleg

> -----Original Message-----
> From: Oleg Kalnichevski [mailto:olegk@apache.org] 
> Sent: Wednesday, January 08, 2014 2:20 AM
> To: HttpClient User Discussion
> Subject: Re: Proxy authentication Error - NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED in Http Client 4.3.1
> 
> On Tue, 2014-01-07 at 21:28 +0000, Lansing, Carina S wrote:
> > Hi All,
> > 
> > We are using httpclient 4.3.1, trying to connect to a website that requires basic authentication through an NTLM v2 proxy.  It appears that the proxy authentication is successfully negotiated, but then when trying to process the challenge from the target web site in the next pass, the NTLMScheme is throwing this exception at line  147?  We are instantiating our http client via the snippet shown below.  Our software is a collaborative modeling & visualization tool that runs from several different external locations.  We just got a new user who sits behind an NTLM v2 proxy, so we had to upgrade our httpclient library, which required me to change how our httpclient is instantiated.  Please let me know if you see any problems.  Following the code snippet is a debug trace of the HttpGet  operation.
> > 
> > Thanks,
> > Carina
> 
> Hi Carina
> 
> Your code looks all right to me. This is likely to be a bug in HttpClient. Could you please raise a JIRA for this defect?
> 
> Oleg
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 


RE: Proxy authentication Error - NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED in Http Client 4.3.1

Posted by "Lansing, Carina S" <Ca...@pnnl.gov>.
Will do - thanks Oleg!

-----Original Message-----
From: Oleg Kalnichevski [mailto:olegk@apache.org] 
Sent: Wednesday, January 08, 2014 2:20 AM
To: HttpClient User Discussion
Subject: Re: Proxy authentication Error - NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED in Http Client 4.3.1

On Tue, 2014-01-07 at 21:28 +0000, Lansing, Carina S wrote:
> Hi All,
> 
> We are using httpclient 4.3.1, trying to connect to a website that requires basic authentication through an NTLM v2 proxy.  It appears that the proxy authentication is successfully negotiated, but then when trying to process the challenge from the target web site in the next pass, the NTLMScheme is throwing this exception at line  147?  We are instantiating our http client via the snippet shown below.  Our software is a collaborative modeling & visualization tool that runs from several different external locations.  We just got a new user who sits behind an NTLM v2 proxy, so we had to upgrade our httpclient library, which required me to change how our httpclient is instantiated.  Please let me know if you see any problems.  Following the code snippet is a debug trace of the HttpGet  operation.
> 
> Thanks,
> Carina

Hi Carina

Your code looks all right to me. This is likely to be a bug in HttpClient. Could you please raise a JIRA for this defect?

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Re: Proxy authentication Error - NTLM authentication error: Unexpected state: MSG_TYPE3_GENERATED in Http Client 4.3.1

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Tue, 2014-01-07 at 21:28 +0000, Lansing, Carina S wrote:
> Hi All,
> 
> We are using httpclient 4.3.1, trying to connect to a website that requires basic authentication through an NTLM v2 proxy.  It appears that the proxy authentication is successfully negotiated, but then when trying to process the challenge from the target web site in the next pass, the NTLMScheme is throwing this exception at line  147?  We are instantiating our http client via the snippet shown below.  Our software is a collaborative modeling & visualization tool that runs from several different external locations.  We just got a new user who sits behind an NTLM v2 proxy, so we had to upgrade our httpclient library, which required me to change how our httpclient is instantiated.  Please let me know if you see any problems.  Following the code snippet is a debug trace of the HttpGet  operation.
> 
> Thanks,
> Carina

Hi Carina

Your code looks all right to me. This is likely to be a bug in
HttpClient. Could you please raise a JIRA for this defect?

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org