aws-s3 connectivity Issue from Fuse using Java based DSL.
Issue
- AWS authentication requires a valid Date or x-amz-date header (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: XXXXYYYYY).
Caused by: com.amazonaws.services.s3.model.AmazonS3Exception: AWS authentication requires a valid Date or x-amz-date header (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: XXXXXXXXXXXX), S3 Extended Request ID: ZZZZZZZZZZZZZZ=
at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:937)
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:506)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:273)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3660)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3612)
at com.amazonaws.services.s3.AmazonS3Client.listObjects(AmazonS3Client.java:624)
at org.apache.camel.component.aws.s3.S3Endpoint.doStart(S3Endpoint.java:106)
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:2869)[2241:org.apache.camel.camel-core:2.15.1.redhat-621084]
at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:1097)[2241:org.apache.camel.camel-core:2.15.1.redhat-621084]
at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1058)[2241:org.apache.camel.camel-core:2.15.1.redhat-621084]
at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1054)[2241:org.apache.camel.camel-core:2.15.1.redhat-621084]
at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:574)[2241:org.apache.camel.camel-core:2.15.1.redhat-621084]
... 60 more
Environment
- Red Hat JBoss Fuse
- 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.