Details
-
Bug
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
2.4.0
-
None
-
None
Description
We have switched to Apache HC driver for JClouds in Apache Pulsar and we are seeing these errors.
It looks like the internal HttpClient is closed and the system can never recover (you must restart)
Caused by: java.lang.IllegalStateException: Connection pool shut down at org.apache.http.util.Asserts.check(Asserts.java:34) ~[org.apache.httpcomponents-httpcore-4.4.13.jar:4.4.13] at org.apache.http.impl.conn.tsccm.ConnPoolByRoute.getEntryBlocking(ConnPoolByRoute.java:344) ~[org.apache.httpcomponents-httpclient-4.5.13.jar:4.5.13] at org.apache.http.impl.conn.tsccm.ConnPoolByRoute$1.getPoolEntry(ConnPoolByRoute.java:300) ~[org.apache.httpcomponents-httpclient-4.5.13.jar:4.5.13] at org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1.getConnection(ThreadSafeClientConnManager.java:243) ~[org.apache.httpcomponents-httpclient-4.5.13.jar:4.5.13] at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:417) ~[org.apache.httpcomponents-httpclient-4.5.13.jar:4.5.13] at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835) ~[org.apache.httpcomponents-httpclient-4.5.13.jar:4.5.13] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:118) ~[org.apache.httpcomponents-httpclient-4.5.13.jar:4.5.13] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[org.apache.httpcomponents-httpclient-4.5.13.jar:4.5.13] at org.jclouds.http.apachehc.ApacheHCHttpCommandExecutorService.executeRequest(ApacheHCHttpCommandExecutorService.java:126) ~[?:?] at org.jclouds.http.apachehc.ApacheHCHttpCommandExecutorService.invoke(ApacheHCHttpCommandExecutorService.java:88) ~[?:?] at org.jclouds.http.apachehc.ApacheHCHttpCommandExecutorService.invoke(ApacheHCHttpCommandExecutorService.java:54) ~[?:?] at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:98) ~[?:?] at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:91) ~[?:?] at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:74) ~[?:?] at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:45) ~[?:?] at org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:156) ~[?:?] at org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:123) ~[?:?] at com.sun.proxy.$Proxy85.authorize(Unknown Source) ~[?:?] at org.jclouds.oauth.v2.filters.JWTBearerTokenFlow$AuthorizeToken.load(JWTBearerTokenFlow.java:84) ~[?:?] at org.jclouds.oauth.v2.filters.JWTBearerTokenFlow$AuthorizeToken.load(JWTBearerTokenFlow.java:68) ~[?:?] at org.apache.pulsar.jcloud.shade.co