java.lang.RuntimeException: Error whilst fetching 's3://snowplow-hosted-assets/common/emr/'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Expert tip

Set the S3 bucket to the same region as AmazonS3Client, otherwise it just throws this exception. Check if your bucket name is correct as well.

Solutions on the web

via GitHub by alexanderdean
, 1 year ago
Error whilst fetching 's3://snowplow-hosted-assets/common/emr/' The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. (Service: Amazon S3; Status Code: 301; Error Code: PermanentRedirect; Request ID: 79FBEC46ACB3ADB4), S3 Extended Request ID: buv1jZsTX3I3KknQvQ8eWKo5z0QTmD+I84S19InzpcvSkEfnefiGyZn7j3p+vMt7RgUjbMRowhQ=
at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(
at com.amazonaws.http.AmazonHttpClient.executeOneRequest(
at com.amazonaws.http.AmazonHttpClient.executeHelper(
at com.amazonaws.http.AmazonHttpClient.doExecute(
at com.amazonaws.http.AmazonHttpClient.executeWithTimer(
at com.amazonaws.http.AmazonHttpClient.execute(
at aws157.instancecontroller.util.S3Wrapper.copyS3ObjectToFile(
at aws157.instancecontroller.util.S3Wrapper.getFile(
at aws157.instancecontroller.util.S3Wrapper.fetchS3HadoopFileToLocal(
at aws157.instancecontroller.util.S3Wrapper.fetchHadoopFileToLocal(
at aws157.instancecontroller.util.S3Wrapper.fetchHadoopFileToLocal(
at aws157.instancecontroller.common.InstanceConfigurator.runScript(
at aws157.instancecontroller.common.InstanceConfigurator.runBootstrapAction(
at aws157.instancecontroller.common.InstanceConfigurator.runBootstrapActions(
at aws157.instancecontroller.common.InstanceConfigurator.doDistributionConfigure(
at aws157.instancecontroller.common.InstanceConfigurator.access$200(
at aws157.instancecontroller.common.InstanceConfigurator$

Users with the same issue

16 times, 1 month ago
3 times, 6 months ago
Once, 10 months ago
2 times, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.