2 Replies Latest reply on Oct 28, 2016 1:28 PM by Kévin Senechal

    Modeshape 5.2 S3 Binary storage AWS redirection

    Kévin Senechal Newbie

      Hi everybody,

       

      I'm trying to configure the storage of binary to S3 but I get this error:

       

      Caused by: org.modeshape.jcr.value.binary.BinaryStoreException: com.amazonaws.services.s3.model.AmazonS3Exception: Moved Permanently (Service: Amazon S3; Status Code: 301; Error Code: 301 Moved Permanently; Request ID: ****************), S3 Extended Request ID: ***************************

              at org.modeshape.jcr.value.binary.S3BinaryStore.storeValue(S3BinaryStore.java:213) ~[modeshape-jcr-5.2.0.Final.jar:5.2.0.Final]

              at org.modeshape.jcr.value.binary.BinaryStoreValueFactory.create(BinaryStoreValueFactory.java:230)

       

      I'm using the last version of amazon aws java SDK (com.amazonaws:aws-java-sdk-osgi:1.11.48).

       

      Do you have an idea if the error come from S3BinaryStore or from aws sdk?

       

      Thank you in advance!

       

      Kevin