Executing request GET https://nghttp2.org/httpbin/ 0 [main] DEBUG org.apache.hc.client5.http.impl.async.InternalAbstractHttpAsyncClient - ex-0000000001 preparing request execution 6 [main] DEBUG org.apache.hc.client5.http.protocol.RequestAddCookies - ex-0000000001 Cookie spec selected: strict 10 [main] DEBUG org.apache.hc.client5.http.protocol.RequestAuthCache - ex-0000000001 Auth cache not set in the context 10 [main] DEBUG org.apache.hc.client5.http.impl.async.AsyncProtocolExec - ex-0000000001 target auth state: UNCHALLENGED 12 [main] DEBUG org.apache.hc.client5.http.impl.async.AsyncConnectExec - ex-0000000001 acquiring connection with route {tls}->http://127.0.0.1:8888->https://nghttp2.org:443 12 [main] DEBUG org.apache.hc.client5.http.impl.async.InternalHttpAsyncClient - ex-0000000001 acquiring endpoint (3 MINUTES) 13 [main] DEBUG org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager - ex-0000000001 endpoint lease request (3 MINUTES) [route: {tls}->http://127.0.0.1:8888->https://nghttp2.org:443][total available: 0; route allocated: 0 of 5; total allocated: 0 of 25] 35 [main] DEBUG org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager - ex-0000000001 endpoint leased [route: {tls}->http://127.0.0.1:8888->https://nghttp2.org:443][total available: 0; route allocated: 1 of 5; total allocated: 1 of 25] 35 [main] DEBUG org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager - ex-0000000001 acquired ep-0000000000 35 [main] DEBUG org.apache.hc.client5.http.impl.async.InternalHttpAsyncClient - ex-0000000001 acquired endpoint ep-0000000000 35 [main] DEBUG org.apache.hc.client5.http.impl.async.InternalHttpAsyncClient - ep-0000000000 connecting endpoint (3 MINUTES) 36 [main] DEBUG org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager - ep-0000000000 connecting endpoint to http://127.0.0.1:8888 (3 MINUTES) 36 [main] DEBUG org.apache.hc.client5.http.impl.nio.MultihomeIOSessionRequester - http://127.0.0.1:8888 resolving remote address 36 [main] DEBUG org.apache.hc.client5.http.impl.nio.MultihomeIOSessionRequester - http://127.0.0.1:8888 resolved to [/127.0.0.1] 37 [main] DEBUG org.apache.hc.client5.http.impl.nio.MultihomeIOSessionRequester - http://127.0.0.1:8888 connecting null to /127.0.0.1:8888 (3 MINUTES) 47 [httpclient-dispatch-1] DEBUG org.apache.hc.core5.reactor.IOSessionImpl - c-0000000000[ACTIVE][rc:c] protocol upgrade class org.apache.hc.core5.http2.impl.nio.ClientHttpProtocolNegotiator 48 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.nio.MultihomeIOSessionRequester - http://127.0.0.1:8888 connected c-0000000000 /127.0.0.1:51982->/127.0.0.1:8888 48 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager - ep-0000000000 connected c-0000000000 48 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.async.InternalHttpAsyncClient - ep-0000000000 endpoint connected 49 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.async.AsyncConnectExec - ex-0000000001 connected to proxy 50 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.async.HttpAsyncMainClientExec - ex-0000000001 executing CONNECT nghttp2.org:443 HTTP/1.1 51 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.async.InternalHttpAsyncClient - ep-0000000000 start execution ex-0000000001 51 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager - ep-0000000000 executing exchange ex-0000000001 over c-0000000000 51 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.nio.DefaultManagedAsyncClientConnection - c-0000000000 RequestExecutionCommand with NORMAL priority 51 [httpclient-dispatch-1] DEBUG org.apache.hc.core5.reactor.IOSessionImpl - c-0000000000[ACTIVE][rwc:c] Enqueued RequestExecutionCommand with priority IMMEDIATE 52 [httpclient-dispatch-1] DEBUG org.apache.hc.core5.reactor.IOSessionImpl - c-0000000000[ACTIVE][rw:c] Event cleared [c] 59 [httpclient-dispatch-1] DEBUG org.apache.hc.core5.reactor.IOSessionImpl - c-0000000000[ACTIVE][rw:c] protocol upgrade class org.apache.hc.core5.http.impl.nio.ClientHttp1IOEventHandler 60 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.async.HttpAsyncMainClientExec - ex-0000000001 send request CONNECT nghttp2.org:443 HTTP/1.1, null entity 61 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.headers - c-0000000000 >> CONNECT nghttp2.org:443 HTTP/1.1 61 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.headers - c-0000000000 >> Host: nghttp2.org:443 61 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.headers - c-0000000000 >> User-Agent: Apache-HttpAsyncClient/5.1 (Java/11.0.11) 61 [httpclient-dispatch-1] DEBUG org.apache.hc.core5.reactor.IOSessionImpl - c-0000000000[ACTIVE][rw:c] 114 bytes written 61 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][rw:c] >> CONNECT nghttp2. 43 4f 4e 4e 45 43 54 20 6e 67 68 74 74 70 32 2e 61 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][rw:c] >> org:443 HTTP/1.1 6f 72 67 3a 34 34 33 20 48 54 54 50 2f 31 2e 31 61 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][rw:c] >> Host: nghttp2. 0d 0a 48 6f 73 74 3a 20 6e 67 68 74 74 70 32 2e 61 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][rw:c] >> org:443 User-Ag 6f 72 67 3a 34 34 33 0d 0a 55 73 65 72 2d 41 67 61 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][rw:c] >> ent: Apache-Http 65 6e 74 3a 20 41 70 61 63 68 65 2d 48 74 74 70 61 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][rw:c] >> AsyncClient/5.1 41 73 79 6e 63 43 6c 69 65 6e 74 2f 35 2e 31 20 61 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][rw:c] >> (Java/11.0.11) 28 4a 61 76 61 2f 31 31 2e 30 2e 31 31 29 0d 0a 61 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][rw:c] >> 0d 0a 62 [httpclient-dispatch-1] DEBUG org.apache.hc.core5.reactor.IOSessionImpl - c-0000000000[ACTIVE][rw:c] Event set [w] 62 [httpclient-dispatch-1] DEBUG org.apache.hc.core5.reactor.IOSessionImpl - c-0000000000[ACTIVE][r:c] Event cleared [w] 191 [httpclient-dispatch-1] DEBUG org.apache.hc.core5.reactor.IOSessionImpl - c-0000000000[ACTIVE][r:r] 107 bytes read 191 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][r:r] << HTTP/1.1 200 Con 48 54 54 50 2f 31 2e 31 20 32 30 30 20 43 6f 6e 191 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][r:r] << nection Establis 6e 65 63 74 69 6f 6e 20 45 73 74 61 62 6c 69 73 191 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][r:r] << hed FiddlerGate 68 65 64 0d 0a 46 69 64 64 6c 65 72 47 61 74 65 191 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][r:r] << way: Direct Sta 77 61 79 3a 20 44 69 72 65 63 74 0d 0a 53 74 61 191 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][r:r] << rtTime: 10:16:47 72 74 54 69 6d 65 3a 20 31 30 3a 31 36 3a 34 37 191 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][r:r] << .826 Connection 2e 38 32 36 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e 191 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.wire - c-0000000000[ACTIVE][r:r] << : close 3a 20 63 6c 6f 73 65 0d 0a 0d 0a 193 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.headers - c-0000000000 << HTTP/1.1 200 Connection Established 194 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.headers - c-0000000000 << FiddlerGateway: Direct 194 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.headers - c-0000000000 << StartTime: 10:16:47.826 194 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.headers - c-0000000000 << Connection: close 194 [httpclient-dispatch-1] DEBUG org.apache.hc.core5.reactor.IOSessionImpl - c-0000000000[ACTIVE][r:r] Close GRACEFUL 195 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.async.HttpAsyncMainClientExec - ex-0000000001 consume response HTTP/1.1 200 Connection Established, null entity 196 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.nio.DefaultManagedAsyncClientConnection - c-0000000000 Shutdown connection IMMEDIATE 196 [httpclient-dispatch-1] DEBUG org.apache.hc.core5.reactor.IOSessionImpl - c-0000000000[CLOSED][] Close IMMEDIATE 196 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.async.AsyncConnectExec - ex-0000000001 tunnel to target created 196 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.async.HttpAsyncMainClientExec - ex-0000000001 execution failed: No tunnel unless connected 196 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.async.InternalAbstractHttpAsyncClient - ex-0000000001 request failed: No tunnel unless connected 196 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager - ep-0000000000 close IMMEDIATE 196 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.async.InternalHttpAsyncClient - ep-0000000000 endpoint closed 196 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.async.InternalHttpAsyncClient - ep-0000000000 discarding endpoint 196 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager - ep-0000000000 releasing endpoint 196 [httpclient-dispatch-1] DEBUG org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager - ep-0000000000 connection released [route: {tls}->http://127.0.0.1:8888->https://nghttp2.org:443][total available: 0; route allocated: 0 of 5; total allocated: 0 of 25] 196 [main] DEBUG org.apache.hc.client5.http.impl.async.AbstractHttpAsyncClientBase - Shutdown GRACEFUL GET https://nghttp2.org/httpbin/->java.lang.IllegalStateException: No tunnel unless connected 207 [main] DEBUG org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager - Shutdown connection pool GRACEFUL 207 [main] DEBUG org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManager - Connection pool shut down Exception in thread "main" java.util.concurrent.ExecutionException: java.lang.IllegalStateException: No tunnel unless connected at org.apache.hc.core5.concurrent.BasicFuture.getResult(BasicFuture.java:72) at org.apache.hc.core5.concurrent.BasicFuture.get(BasicFuture.java:85) at AsyncMain.main(AsyncMain.java:86) Caused by: java.lang.IllegalStateException: No tunnel unless connected at org.apache.hc.core5.util.Asserts.check(Asserts.java:38) at org.apache.hc.client5.http.RouteTracker.tunnelTarget(RouteTracker.java:143) at org.apache.hc.client5.http.impl.async.AsyncConnectExec$4.completed(AsyncConnectExec.java:270) Caused by: java.lang.IllegalStateException: No tunnel unless connected at org.apache.hc.client5.http.impl.async.AsyncConnectExec$5.completed(AsyncConnectExec.java:388) at org.apache.hc.client5.http.impl.async.HttpAsyncMainClientExec$1.consumeResponse(HttpAsyncMainClientExec.java:206) at org.apache.hc.client5.http.impl.async.LoggingAsyncClientExchangeHandler.consumeResponse(LoggingAsyncClientExchangeHandler.java:151) at org.apache.hc.core5.http.impl.nio.ClientHttp1StreamHandler.consumeHeader(ClientHttp1StreamHandler.java:253) at org.apache.hc.core5.http.impl.nio.ClientHttp1StreamDuplexer.consumeHeader(ClientHttp1StreamDuplexer.java:348) at org.apache.hc.core5.http.impl.nio.ClientHttp1StreamDuplexer.consumeHeader(ClientHttp1StreamDuplexer.java:80) at org.apache.hc.core5.http.impl.nio.AbstractHttp1StreamDuplexer.onInput(AbstractHttp1StreamDuplexer.java:288) at org.apache.hc.core5.http.impl.nio.AbstractHttp1IOEventHandler.inputReady(AbstractHttp1IOEventHandler.java:64) at org.apache.hc.core5.http.impl.nio.ClientHttp1IOEventHandler.inputReady(ClientHttp1IOEventHandler.java:39) at org.apache.hc.client5.http.impl.async.LoggingIOSession$1.inputReady(LoggingIOSession.java:238) at org.apache.hc.core5.reactor.InternalDataChannel.onIOEvent(InternalDataChannel.java:131) at org.apache.hc.core5.reactor.InternalChannel.handleIOEvent(InternalChannel.java:51) at org.apache.hc.core5.reactor.SingleCoreIOReactor.processEvents(SingleCoreIOReactor.java:178) at org.apache.hc.core5.reactor.SingleCoreIOReactor.doExecute(SingleCoreIOReactor.java:127) at org.apache.hc.core5.reactor.AbstractSingleCoreIOReactor.execute(AbstractSingleCoreIOReactor.java:85) at org.apache.hc.core5.reactor.IOReactorWorker.run(IOReactorWorker.java:44) at java.base/java.lang.Thread.run(Thread.java:829)