title: SCDF S3 Source app (version 3.0.1) com.amazonaws.SdkClientException
body: <p><strong>(SCDF 2.7.1 &amp; Skipper 2.6.1)</strong>
  Deployment -&gt; Local Kubernetes Instance</p>
  <p><strong>(Starter App)</strong>
  Applications version 3.0.1
  kafka docker</p>
  <p>Created a stream S3 Source -&gt; Log, on deploy the 'S3 Source' app throws below exception. But the stream gets deployed and works as expected. Any info on how to get rid of the exception.</p>
  <blockquote>
  <p>com.amazonaws.SdkClientException: Failed to connect to service endpoint:
  at com.amazonaws.internal.EC2ResourceFetcher.doReadResource(EC2ResourceFetcher.java:100) ~[aws-java-&gt;sdk-core-1.11.792.jar:na]
  at com.amazonaws.internal.EC2ResourceFetcher.doReadResource(EC2ResourceFetcher.java:70) ~[aws-java-&gt;sdk-core-1.11.792.jar:na]
  at &gt;com.amazonaws.internal.InstanceMetadataServiceResourceFetcher.readResource(InstanceMetadataServiceResour&gt;ceFetcher.java:75) ~[aws-java-sdk-core-1.11.792.jar:na]
  at com.amazonaws.internal.EC2ResourceFetcher.readResource(EC2ResourceFetcher.java:66) ~[aws-java-sdk-&gt;core-1.11.792.jar:na]
  at com.amazonaws.util.EC2MetadataUtils.getItems(EC2MetadataUtils.java:402) ~[aws-java-sdk-core-&gt;1.11.792.jar:na]
  at com.amazonaws.util.EC2MetadataUtils.getData(EC2MetadataUtils.java:371) ~[aws-java-sdk-core-&gt;1.11.792.jar:na]
  at &gt;org.springframework.cloud.aws.context.support.env.AwsCloudEnvironmentCheckUtils.isRunningOnCloudEnvironm&gt;ent(AwsCloudEnvironmentCheckUtils.java:38) ~[spring-cloud-aws-context-2.2.6.RELEASE.jar:2.2.6.RELEASE]
  at &gt;org.springframework.cloud.aws.context.annotation.OnAwsCloudEnvironmentCondition.matches(OnAwsCloudEnviro&gt;nmentCondition.java:38) ~[spring-cloud-aws-context-2.2.6.RELEASE.jar:2.2.6.RELEASE]
  at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:108) &gt;~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]
  at &gt;org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader$TrackedConditionEvaluator.&gt;shouldSkip(ConfigurationClassBeanDefinitionReader.java:477) ~[spring-context-&gt;5.2.13.RELEASE.jar:5.2.13.RELEASE]
  at &gt;org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConf&gt;igurationClass(ConfigurationClassBeanDefinitionReader.java:131) ~[spring-context-&gt;5.2.13.RELEASE.jar:5.2.13.RELEASE]
  at &gt;org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(Config&gt;urationClassBeanDefinitionReader.java:120) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]
  at &gt;org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(Conf&gt;igurationClassPostProcessor.java:331) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]
  at &gt;org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry&gt;(ConfigurationClassPostProcessor.java:236) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]
  at &gt;org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostPr&gt;ocessors(PostProcessorRegistrationDelegate.java:280) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]
  at &gt;org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(Po&gt;stProcessorRegistrationDelegate.java:96) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]
  at &gt;org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractA&gt;pplicationContext.java:707) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]
  at &gt;org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:5&gt;33) ~[spring-context-5.2.13.RELEASE.jar:5.2.13.RELEASE]
  at &gt;org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServer&gt;ApplicationContext.java:143) ~[spring-boot-2.3.9.RELEASE.jar:2.3.9.RELEASE]
  at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758) ~[spring-boot-&gt;2.3.9.RELEASE.jar:2.3.9.RELEASE]
  at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750) ~[spring-boot-&gt;2.3.9.RELEASE.jar:2.3.9.RELEASE]
  at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) ~[spring-&gt;boot-2.3.9.RELEASE.jar:2.3.9.RELEASE]
  at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-&gt;2.3.9.RELEASE.jar:2.3.9.RELEASE]
  at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) ~[spring-boot-&gt;2.3.9.RELEASE.jar:2.3.9.RELEASE]
  at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) ~[spring-boot-&gt;2.3.9.RELEASE.jar:2.3.9.RELEASE]
  at &gt;org.springframework.cloud.stream.app.s3.source.kafka.S3SourceKafkaApplication.main(S3SourceKafkaApplicat&gt;ion.java:29) ~[classes/:na]
  Caused by: java.net.SocketTimeoutException: connect timed out
  at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:na]
  at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) ~[na:na]</p>
  </blockquote>