2020/04/05 12:11:03:970 EEST [DEBUG] RequestAddCookies - CookieSpec selected: default 2020/04/05 12:11:03:981 EEST [DEBUG] RequestAuthCache - Auth cache not set in the context 2020/04/05 12:11:03:982 EEST [DEBUG] PoolingHttpClientConnectionManager - Connection request: [route: {}->http://localhost:80->http://example.com:80][total available: 0; route allocated: 0 of 2; total allocated: 0 of 20] 2020/04/05 12:11:03:992 EEST [DEBUG] PoolingHttpClientConnectionManager - Connection leased: [id: 0][route: {}->http://localhost:80->http://example.com:80][total available: 0; route allocated: 1 of 2; total allocated: 1 of 20] 2020/04/05 12:11:03:994 EEST [DEBUG] MainClientExec - Opening connection {}->http://localhost:80->http://example.com:80 2020/04/05 12:11:04:001 EEST [DEBUG] DefaultHttpClientConnectionOperator - Connecting to localhost/127.0.0.1:80 2020/04/05 12:11:04:003 EEST [DEBUG] DefaultHttpClientConnectionOperator - Connection established 127.0.0.1:58250<->127.0.0.1:80 2020/04/05 12:11:04:003 EEST [DEBUG] MainClientExec - Executing request GET http://example.com:80/ HTTP/1.1 2020/04/05 12:11:04:004 EEST [DEBUG] MainClientExec - Target auth state: UNCHALLENGED 2020/04/05 12:11:04:004 EEST [DEBUG] MainClientExec - Proxy auth state: UNCHALLENGED 2020/04/05 12:11:04:005 EEST [DEBUG] headers - http-outgoing-0 >> GET http://example.com:80/ HTTP/1.1 2020/04/05 12:11:04:005 EEST [DEBUG] headers - http-outgoing-0 >> Host: example.com 2020/04/05 12:11:04:005 EEST [DEBUG] headers - http-outgoing-0 >> Proxy-Connection: Keep-Alive 2020/04/05 12:11:04:005 EEST [DEBUG] headers - http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.12 (Java/1.8.0_222) 2020/04/05 12:11:04:005 EEST [DEBUG] headers - http-outgoing-0 >> Accept-Encoding: gzip,deflate 2020/04/05 12:11:04:008 EEST [DEBUG] headers - http-outgoing-0 << HTTP/1.1 407 Proxy authorization required 2020/04/05 12:11:04:008 EEST [DEBUG] headers - http-outgoing-0 << Proxy-Authenticate: NTLM 2020/04/05 12:11:04:008 EEST [DEBUG] headers - http-outgoing-0 << Proxy-Authenticate: Basic realm="/", charset="UTF-8" 2020/04/05 12:11:04:008 EEST [DEBUG] headers - http-outgoing-0 << Proxy-Support: session-based-authentication 2020/04/05 12:11:04:008 EEST [DEBUG] headers - http-outgoing-0 << Cache-control: no-store, no-cache 2020/04/05 12:11:04:008 EEST [DEBUG] headers - http-outgoing-0 << Content-Type: text/html; charset=utf-8 2020/04/05 12:11:04:008 EEST [DEBUG] headers - http-outgoing-0 << Content-Length: 855 2020/04/05 12:11:04:008 EEST [DEBUG] headers - http-outgoing-0 << Date: Sun, 05 Apr 2020 09:11:04 GMT 2020/04/05 12:11:04:008 EEST [DEBUG] headers - http-outgoing-0 << Server: WinGate Engine 2020/04/05 12:11:04:008 EEST [DEBUG] headers - http-outgoing-0 << Connection: Keep-Alive 2020/04/05 12:11:04:014 EEST [DEBUG] MainClientExec - Connection can be kept alive indefinitely 2020/04/05 12:11:04:015 EEST [DEBUG] HttpAuthenticator - Authentication required 2020/04/05 12:11:04:015 EEST [DEBUG] HttpAuthenticator - localhost:80 requested authentication 2020/04/05 12:11:04:015 EEST [DEBUG] ProxyAuthenticationStrategy - Authentication schemes in the order of preference: [Negotiate, Kerberos, NTLM, CredSSP, Digest, Basic] 2020/04/05 12:11:04:015 EEST [DEBUG] ProxyAuthenticationStrategy - Challenge for Negotiate authentication scheme not available 2020/04/05 12:11:04:015 EEST [DEBUG] ProxyAuthenticationStrategy - Challenge for Kerberos authentication scheme not available 2020/04/05 12:11:04:023 EEST [DEBUG] WindowsNegotiateScheme - Created WindowsNegotiateScheme using NTLM 2020/04/05 12:11:04:025 EEST [DEBUG] ProxyAuthenticationStrategy - Challenge for CredSSP authentication scheme not available 2020/04/05 12:11:04:025 EEST [DEBUG] ProxyAuthenticationStrategy - Challenge for Digest authentication scheme not available 2020/04/05 12:11:04:027 EEST [DEBUG] HttpAuthenticator - Selected authentication options: [NTLM] 2020/04/05 12:11:04:028 EEST [DEBUG] MainClientExec - Executing request GET http://example.com:80/ HTTP/1.1 2020/04/05 12:11:04:028 EEST [DEBUG] MainClientExec - Target auth state: UNCHALLENGED 2020/04/05 12:11:04:028 EEST [DEBUG] MainClientExec - Proxy auth state: CHALLENGED 2020/04/05 12:11:04:028 EEST [DEBUG] HttpAuthenticator - Generating response to an authentication challenge using NTLM scheme 2020/04/05 12:11:04:089 EEST [DEBUG] WindowsNegotiateScheme - Using SPN: HTTP/localhost 2020/04/05 12:11:04:096 EEST [DEBUG] headers - http-outgoing-0 >> GET http://example.com:80/ HTTP/1.1 2020/04/05 12:11:04:096 EEST [DEBUG] headers - http-outgoing-0 >> Host: example.com 2020/04/05 12:11:04:097 EEST [DEBUG] headers - http-outgoing-0 >> Proxy-Connection: Keep-Alive 2020/04/05 12:11:04:097 EEST [DEBUG] headers - http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.12 (Java/1.8.0_222) 2020/04/05 12:11:04:097 EEST [DEBUG] headers - http-outgoing-0 >> Accept-Encoding: gzip,deflate 2020/04/05 12:11:04:097 EEST [DEBUG] headers - http-outgoing-0 >> Proxy-Authorization: NTLM TlRMTVNTUAABAAAAB7IIogkACQAwAAAACAAIACgAAAAKALpHAAAAD0RFU0tUT1BRV09SS0dST1VQ 2020/04/05 12:11:04:097 EEST [DEBUG] headers - http-outgoing-0 << HTTP/1.1 407 Proxy authorization required 2020/04/05 12:11:04:097 EEST [DEBUG] headers - http-outgoing-0 << Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAEAAAADgAAAAFggmCRG0L4ZPpXEEAAAAAAAAAAAAAAAAAAAAACgC7RwAAAA9XAEkATgBHAEEAVABFAAAA 2020/04/05 12:11:04:097 EEST [DEBUG] headers - http-outgoing-0 << Cache-control: no-store, no-cache 2020/04/05 12:11:04:097 EEST [DEBUG] headers - http-outgoing-0 << Content-Type: text/html; charset=utf-8 2020/04/05 12:11:04:098 EEST [DEBUG] headers - http-outgoing-0 << Content-Length: 855 2020/04/05 12:11:04:098 EEST [DEBUG] headers - http-outgoing-0 << Date: Sun, 05 Apr 2020 09:11:04 GMT 2020/04/05 12:11:04:098 EEST [DEBUG] headers - http-outgoing-0 << Server: WinGate Engine 2020/04/05 12:11:04:098 EEST [DEBUG] headers - http-outgoing-0 << Connection: Keep-Alive 2020/04/05 12:11:04:098 EEST [DEBUG] MainClientExec - Connection can be kept alive indefinitely 2020/04/05 12:11:04:098 EEST [DEBUG] HttpAuthenticator - Authentication required 2020/04/05 12:11:04:098 EEST [DEBUG] HttpAuthenticator - localhost:80 requested authentication 2020/04/05 12:11:04:098 EEST [DEBUG] HttpAuthenticator - Authorization challenge processed 2020/04/05 12:11:04:098 EEST [DEBUG] MainClientExec - Executing request GET http://example.com:80/ HTTP/1.1 2020/04/05 12:11:04:098 EEST [DEBUG] MainClientExec - Target auth state: UNCHALLENGED 2020/04/05 12:11:04:098 EEST [DEBUG] MainClientExec - Proxy auth state: HANDSHAKE 2020/04/05 12:11:04:099 EEST [DEBUG] WindowsNegotiateScheme - Using SPN: HTTP/localhost 2020/04/05 12:11:04:100 EEST [DEBUG] headers - http-outgoing-0 >> GET http://example.com:80/ HTTP/1.1 2020/04/05 12:11:04:100 EEST [DEBUG] headers - http-outgoing-0 >> Host: example.com 2020/04/05 12:11:04:100 EEST [DEBUG] headers - http-outgoing-0 >> Proxy-Connection: Keep-Alive 2020/04/05 12:11:04:101 EEST [DEBUG] headers - http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.12 (Java/1.8.0_222) 2020/04/05 12:11:04:101 EEST [DEBUG] headers - http-outgoing-0 >> Accept-Encoding: gzip,deflate 2020/04/05 12:11:04:101 EEST [DEBUG] headers - http-outgoing-0 >> Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAHwAAABGAEYAlAAAAAIAAgBYAAAAEgASAFoAAAAQABAAbAAAAAAAAADaAAAABYIIggoAukcAAAAPrUkubITl318C/2AIc7nvNS4AUQB1AGEAcwBpAG0AbwBkAG8ARABFAFMASwBUAE8AUABRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABpbF3CNLZ6CAmJzRkfv+ZIBAQAAAAAAADFxACIqC9YBO+j4XERiXLgAAAAAAgAOAFcASQBOAEcAQQBUAEUAAAAAAAAAAAA= 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << HTTP/1.1 200 Document from cache 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Date: Sun, 05 Apr 2020 09:11:04 GMT 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Content-Encoding: gzip 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Accept-Ranges: bytes 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Age: 490012 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Cache-Control: max-age=604800 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Content-Type: text/html; charset=UTF-8 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Etag: "3147526947+ident" 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Expires: Fri, 10 Apr 2020 07:06:33 GMT 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Last-Modified: Thu, 17 Oct 2019 07:18:26 GMT 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Server: ECS (dcb/7FA3) 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Vary: Accept-Encoding 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << X-Cache: HIT 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Content-Length: 648 2020/04/05 12:11:04:102 EEST [DEBUG] headers - http-outgoing-0 << Connection: Keep-Alive 2020/04/05 12:11:04:102 EEST [DEBUG] MainClientExec - Connection can be kept alive indefinitely 2020/04/05 12:11:04:102 EEST [DEBUG] HttpAuthenticator - Authentication succeeded [main] DEBUG org.kpax.http_client_5_testing.App2 - Test OK 2020/04/05 12:11:04:105 EEST [DEBUG] DefaultManagedHttpClientConnection - http-outgoing-0: Close connection 2020/04/05 12:11:04:105 EEST [DEBUG] MainClientExec - Connection discarded 2020/04/05 12:11:04:106 EEST [DEBUG] PoolingHttpClientConnectionManager - Connection released: [id: 0][route: {}->http://localhost:80->http://example.com:80][total available: 0; route allocated: 0 of 2; total allocated: 0 of 20] 2020/04/05 12:11:04:106 EEST [DEBUG] PoolingHttpClientConnectionManager - Connection manager is shutting down 2020/04/05 12:11:04:106 EEST [DEBUG] PoolingHttpClientConnectionManager - Connection manager shut down