Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23877

Don't provide both region and endpoint to S3 connector

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.3
    • Fix Version/s: 9.10
    • Component/s: S3

      Description

      If a configuration with an explicit endpoint is done, the connector fails to initialize:

      ERROR [http-nio-0.0.0.0-8080-exec-1] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] java.lang.IllegalStateException: Only one of Region or EndpointConfiguration may be set.
      	at com.amazonaws.client.builder.AwsClientBuilder.setRegion(AwsClientBuilder.java:359)
      	at com.amazonaws.client.builder.AwsClientBuilder.configureMutableProperties(AwsClientBuilder.java:337)
      	at com.amazonaws.client.builder.AwsSyncClientBuilder.build(AwsSyncClientBuilder.java:46)
      	at org.nuxeo.ecm.core.storage.sql.S3BinaryManager.setupCloudClient(S3BinaryManager.java:350)
      	at org.nuxeo.ecm.blob.AbstractCloudBinaryManager.initialize(AbstractCloudBinaryManager.java:114)
      	at org.nuxeo.ecm.core.blob.BlobManagerComponent.getBlobProvider(BlobManagerComponent.java:167)
      	at org.nuxeo.ecm.core.blob.DocumentBlobManagerComponent.getBlobProvider(DocumentBlobManagerComponent.java:105)
      	at org.nuxeo.ecm.core.blob.DocumentBlobManagerComponent.getBlobProvider(DocumentBlobManagerComponent.java:145)
      	at org.nuxeo.ecm.core.blob.DocumentBlobManagerComponent.readBlob(DocumentBlobManagerComponent.java:128)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m