ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Cloud Workload Protection for Storage fails to scan S3 bucket


Article ID: 225529


Updated On:


Cloud Workload Protection for Storage


Cloud Workload Protection for Storage was failing to scan S3 buckets.  The following errors were found in the spe-s3-protection-controller-service.log.

2021-09-02 23:12:07,722 [pool-13-thread-1] ERROR SqsPollerTask:217 - Encountered exception in SQS poller run. Exception Message: 
2021-09-02 23:12:07,722 [pool-13-thread-1] ERROR SqsPollerTask:220 - Exception Stack Trace: 
com.amazonaws.SdkClientException: Unable to execute HTTP request: Connect to [] failed: connect timed out
 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleRetryableException(
 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(
 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(
 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(
 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(
 at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(
 at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(
 at com.amazonaws.http.AmazonHttpClient.execute(
 at com.amazonaws.http.AmazonHttpClient.execute(
 at java.util.concurrent.Executors$ Source)
 at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
 at java.util.concurrent.ScheduledThreadPoolExecutor$ Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$ Source)
 at Source)


The AWS Auto Scaling Groups settings where changed to the following.

Desired Capacity 0

Minimum Capacity 0

Maximum Capacity 0


This allowed the instance to spin down. After this completed, the settings where changed back to the previous settings.   

Setting Capacity Limits AWS