You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/03/15 19:01:16 UTC

[GitHub] [pulsar] geyrix57 opened a new issue #3833: Error offloading:

geyrix57 opened a new issue #3833: Error offloading:
URL: https://github.com/apache/pulsar/issues/3833
 
 
   I'm getting this error when trying to manually offload a topic to s3 bucket.
   
   #### Broker config
   managedLedgerOffloadDriver=aws-s3
   s3ManagedLedgerOffloadRegion=us-west-2
   s3ManagedLedgerOffloadBucket=mybucket
   s3ManagedLedgerOffloadServiceEndpoint=https://mybucket.blabla.blabla.com/
   
   #### Error
   Reason: Error offloading: org.apache.bookkeeper.mledger.ManagedLedgerException: java.util.concurrent.CompletionException: org.jclouds.aws.AWSResponseException: request POST https://mybucket.blabla.blabla.com/mybucket/3aab7c02-81ab-470b-badb-7e4e5c74bb2d-ledger-19?uploads HTTP/1.1 failed with code 400, error: AWSError{requestId='....', requestToken='....', code='AuthorizationHeaderMalformed', message='The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'', context='{Region=us-west-2, HostId=....}'}
   
   It doesn't matter what region a use in s3ManagedLedgerOffloadRegion I'm always getting the same error. (the right region is us-west-2 as shown on the config)  
   
   #### System configuration
   **Pulsar version**: 2.3.0
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services