Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0.1
-
None
-
None
-
Mac OSX and on Ubuntu
Java 1.8.0_112
Description
I'm regularly getting an Unexpected end of file from server ERROR when using the ComputeService with AWS. This does not happen every time.
The simplest way to reproduce is with a call to listImages(). Seems to be specific to the sa-east-1 region. The stack trace is below.
11:34:46.766 ERROR [user thread 0] o.j.h.i.JavaUrlHttpCommandExecutorService - Command not considered safe to retry because request method is POST: [method=org.jclouds.ec2.features.AvailabilityZoneAndRegionApi.public abstract java.util.Set org.jclouds.ec2.features.AvailabilityZoneAndRegionApi.describeAvailabilityZonesInRegion(java.lang.String,org.jclouds.ec2.options.DescribeAvailabilityZonesOptions[])[sa-east-1, [Lorg.jclouds.ec2.options.DescribeAvailabilityZonesOptions;@714370e1], request=POST https://ec2.sa-east-1.amazonaws.com/ HTTP/1.1] 11:34:46.772 WARN [main] jclouds.compute - Error parsing images in query owner-id=137112412989;state=available;image-type=machine java.util.concurrent.ExecutionException: org.jclouds.http.HttpResponseException: Unexpected end of file from server connecting to POST https://ec2.sa-east-1.amazonaws.com/ HTTP/1.1 at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:476) ~[guava-19.0.jar:na] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:455) ~[guava-19.0.jar:na] at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79) ~[guava-19.0.jar:na] at org.jclouds.aws.ec2.compute.suppliers.AWSEC2ImageSupplier.get(AWSEC2ImageSupplier.java:115) [aws-ec2-2.0.1.jar:2.0.1] at org.jclouds.aws.ec2.compute.suppliers.AWSEC2ImageSupplier.get(AWSEC2ImageSupplier.java:58) [aws-ec2-2.0.1.jar:2.0.1] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:57) [jclouds-core-2.0.1.jar:2.0.1] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.get(LocalCache.java:3953) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875) [guava-19.0.jar:na] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:150) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.compute.suppliers.ImageCacheSupplier.get(ImageCacheSupplier.java:106) [jclouds-compute-2.0.1.jar:2.0.1] at org.jclouds.compute.suppliers.ImageCacheSupplier.get(ImageCacheSupplier.java:58) [jclouds-compute-2.0.1.jar:2.0.1] at org.jclouds.compute.internal.BaseComputeService.listImages(BaseComputeService.java:384) [jclouds-compute-2.0.1.jar:2.0.1] at io.committed.coldfront.controller.impl.DelegatingComputeService.listImages(DelegatingComputeService.java:58) [classes/:na] at io.committed.coldfront.controller.impl.JCloudImageFinder.getImages(JCloudImageFinder.java:27) [classes/:na] at io.committed.coldfront.test.controller.link.AbstractJCloudImageFinderTest.testCanListImages(AbstractJCloudImageFinderTest.java:44) [test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_112] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_112] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_112] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_112] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [junit-4.12.jar:4.12] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.12.jar:4.12] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [junit-4.12.jar:4.12] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.12.jar:4.12] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.12.jar:4.12] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [junit-4.12.jar:4.12] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [junit-4.12.jar:4.12] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12] at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86) [.cp/:na] at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) [.cp/:na] at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) [.cp/:na] at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678) [.cp/:na] at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) [.cp/:na] at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) [.cp/:na] Caused by: org.jclouds.http.HttpResponseException: Unexpected end of file from server connecting to POST https://ec2.sa-east-1.amazonaws.com/ HTTP/1.1 at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:122) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:90) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:73) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:44) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117) ~[jclouds-core-2.0.1.jar:2.0.1] at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87) ~[guava-19.0.jar:na] at com.sun.proxy.$Proxy70.describeAvailabilityZonesInRegion(Unknown Source) ~[na:na] at org.jclouds.ec2.suppliers.DescribeAvailabilityZonesInRegion.get(DescribeAvailabilityZonesInRegion.java:52) ~[ec2-2.0.1.jar:2.0.1] at org.jclouds.ec2.suppliers.DescribeAvailabilityZonesInRegion.get(DescribeAvailabilityZonesInRegion.java:36) ~[ec2-2.0.1.jar:2.0.1] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:57) [jclouds-core-2.0.1.jar:2.0.1] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.get(LocalCache.java:3953) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875) [guava-19.0.jar:na] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:150) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.location.suppliers.derived.ZoneIdsFromRegionIdToZoneIdsValues.get(ZoneIdsFromRegionIdToZoneIdsValues.java:43) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.location.suppliers.derived.ZoneIdsFromRegionIdToZoneIdsValues.get(ZoneIdsFromRegionIdToZoneIdsValues.java:31) ~[jclouds-core-2.0.1.jar:2.0.1] at com.google.common.base.Suppliers$SupplierComposition.get(Suppliers.java:68) ~[guava-19.0.jar:na] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:57) [jclouds-core-2.0.1.jar:2.0.1] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.get(LocalCache.java:3953) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875) [guava-19.0.jar:na] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:150) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.location.suppliers.all.ZoneToRegionToProviderOrJustProvider.get(ZoneToRegionToProviderOrJustProvider.java:72) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.location.suppliers.all.ZoneToRegionToProviderOrJustProvider.get(ZoneToRegionToProviderOrJustProvider.java:46) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:57) [jclouds-core-2.0.1.jar:2.0.1] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.get(LocalCache.java:3953) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875) [guava-19.0.jar:na] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:150) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.ec2.compute.functions.EC2ImageParser.apply(EC2ImageParser.java:110) ~[ec2-2.0.1.jar:2.0.1] at org.jclouds.ec2.compute.functions.EC2ImageParser.apply(EC2ImageParser.java:55) ~[ec2-2.0.1.jar:2.0.1] at com.google.common.collect.Iterators$8.transform(Iterators.java:817) ~[guava-19.0.jar:na] at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) ~[guava-19.0.jar:na] at com.google.common.collect.Iterators$7.computeNext(Iterators.java:674) ~[guava-19.0.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-19.0.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-19.0.jar:na] at com.google.common.collect.Iterators.size(Iterators.java:200) ~[guava-19.0.jar:na] at com.google.common.collect.Iterables.size(Iterables.java:107) ~[guava-19.0.jar:na] at org.jclouds.aws.ec2.compute.suppliers.CallForImages.call(CallForImages.java:79) ~[aws-ec2-2.0.1.jar:2.0.1] at org.jclouds.aws.ec2.compute.suppliers.CallForImages.call(CallForImages.java:44) ~[aws-ec2-2.0.1.jar:2.0.1] at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:108) ~[guava-19.0.jar:na] at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:41) ~[guava-19.0.jar:na] at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:77) ~[guava-19.0.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_112] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_112] at java.lang.Thread.getStackTrace(Thread.java:1556) ~[na:1.8.0_112] at org.jclouds.aws.ec2.compute.suppliers.AWSEC2ImageSupplier.images(AWSEC2ImageSupplier.java:139) [aws-ec2-2.0.1.jar:2.0.1] at org.jclouds.aws.ec2.compute.suppliers.AWSEC2ImageSupplier.get(AWSEC2ImageSupplier.java:95) [aws-ec2-2.0.1.jar:2.0.1] ... 42 common frames omitted Caused by: java.net.SocketException: Unexpected end of file from server at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_112] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_112] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_112] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_112] at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1926) ~[na:1.8.0_112] at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1921) ~[na:1.8.0_112] at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_112] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1920) ~[na:1.8.0_112] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1490) ~[na:1.8.0_112] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474) ~[na:1.8.0_112] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[na:1.8.0_112] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338) ~[na:1.8.0_112] at org.jclouds.http.internal.JavaUrlHttpCommandExecutorService.invoke(JavaUrlHttpCommandExecutorService.java:104) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.http.internal.JavaUrlHttpCommandExecutorService.invoke(JavaUrlHttpCommandExecutorService.java:65) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:100) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:90) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:73) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:44) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.reflect.FunctionalReflection$FunctionalInvocationHandler.handleInvocation(FunctionalReflection.java:117) ~[jclouds-core-2.0.1.jar:2.0.1] at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87) ~[guava-19.0.jar:na] at com.sun.proxy.$Proxy70.describeAvailabilityZonesInRegion(Unknown Source) ~[na:na] at org.jclouds.ec2.suppliers.DescribeAvailabilityZonesInRegion.get(DescribeAvailabilityZonesInRegion.java:52) ~[ec2-2.0.1.jar:2.0.1] at org.jclouds.ec2.suppliers.DescribeAvailabilityZonesInRegion.get(DescribeAvailabilityZonesInRegion.java:36) ~[ec2-2.0.1.jar:2.0.1] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:57) [jclouds-core-2.0.1.jar:2.0.1] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.get(LocalCache.java:3953) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875) [guava-19.0.jar:na] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:150) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.location.suppliers.derived.ZoneIdsFromRegionIdToZoneIdsValues.get(ZoneIdsFromRegionIdToZoneIdsValues.java:43) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.location.suppliers.derived.ZoneIdsFromRegionIdToZoneIdsValues.get(ZoneIdsFromRegionIdToZoneIdsValues.java:31) ~[jclouds-core-2.0.1.jar:2.0.1] at com.google.common.base.Suppliers$SupplierComposition.get(Suppliers.java:68) ~[guava-19.0.jar:na] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:57) [jclouds-core-2.0.1.jar:2.0.1] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.get(LocalCache.java:3953) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875) [guava-19.0.jar:na] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:150) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.location.suppliers.all.ZoneToRegionToProviderOrJustProvider.get(ZoneToRegionToProviderOrJustProvider.java:72) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.location.suppliers.all.ZoneToRegionToProviderOrJustProvider.get(ZoneToRegionToProviderOrJustProvider.java:46) ~[jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:75) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier$SetAndThrowAuthorizationExceptionSupplierBackedLoader.load(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:57) [jclouds-core-2.0.1.jar:2.0.1] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3542) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2323) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.get(LocalCache.java:3953) [guava-19.0.jar:na] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957) [guava-19.0.jar:na] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875) [guava-19.0.jar:na] at org.jclouds.rest.suppliers.MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.get(MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.java:150) [jclouds-core-2.0.1.jar:2.0.1] at org.jclouds.ec2.compute.functions.EC2ImageParser.apply(EC2ImageParser.java:110) ~[ec2-2.0.1.jar:2.0.1] at org.jclouds.ec2.compute.functions.EC2ImageParser.apply(EC2ImageParser.java:55) ~[ec2-2.0.1.jar:2.0.1] at com.google.common.collect.Iterators$8.transform(Iterators.java:817) ~[guava-19.0.jar:na] at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48) ~[guava-19.0.jar:na] at com.google.common.collect.Iterators$7.computeNext(Iterators.java:674) ~[guava-19.0.jar:na] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) ~[guava-19.0.jar:na] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-19.0.jar:na] at com.google.common.collect.Iterators.size(Iterators.java:200) ~[guava-19.0.jar:na] at com.google.common.collect.Iterables.size(Iterables.java:107) ~[guava-19.0.jar:na] at org.jclouds.aws.ec2.compute.suppliers.CallForImages.call(CallForImages.java:79) ~[aws-ec2-2.0.1.jar:2.0.1] at org.jclouds.aws.ec2.compute.suppliers.CallForImages.call(CallForImages.java:44) ~[aws-ec2-2.0.1.jar:2.0.1] at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:108) ~[guava-19.0.jar:na] at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:41) ~[guava-19.0.jar:na] at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:77) ~[guava-19.0.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_112] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_112] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_112] Caused by: java.net.SocketException: Unexpected end of file from server at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:792) ~[na:1.8.0_112] at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:647) ~[na:1.8.0_112] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569) ~[na:1.8.0_112] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474) ~[na:1.8.0_112] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) ~[na:1.8.0_112] at org.jclouds.http.internal.JavaUrlHttpCommandExecutorService.invoke(JavaUrlHttpCommandExecutorService.java:96) ~[jclouds-core-2.0.1.jar:2.0.1] ... 62 common frames omitted
Attachments
Issue Links
- is a clone of
-
JCLOUDS-1293 AWS ERROR - Unexpected end of file from server
- Resolved