Error offloading:
See original GitHub issueI’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
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (11 by maintainers)
Top Results From Across the Web
WP Offload Media Common Errors Support Docs
Pro Features Disabled Notice · Too many open files error · Missing table error notice · Block All Public Access to Bucket ·...
Read more >Files not uploading to S3 - WordPress.org
If a bucket is created and managed via WP Offload Media then this kind of error will not happen, it only happens with...
Read more >Effects of interruptions and errors on the offload process - IBM
Db2 can handle some types of interruptions during the offloading process. ... A Db2 failure during offload causes offload to begin again from...
Read more >Offloading - Wireshark Wiki
If you're trying to capture traffic it can result in false errors and strange or even missing traffic. Table of Contents. Offloading; Checksum...
Read more >Error Message on Offload workflow in Data Shuttle
Facing error message "Workflow Execute: The resource could not be found." while offloading a smartsheet to a Sharepoint Excel.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t think this should have been closed. Yes it is related to the configuration of pulsar / S3, but the fact the pulsar logs don’t indicate the problem correctly make it almost impossible to debug.
I opened a new issue https://github.com/apache/pulsar/issues/9084, to help improve this within core Pulsar.
I agree that there can be improvements made to make this more straight forward! Some of the logging issues would also be a good improvement but it may take us understanding jcloud internals a bit more, as the error is seen essentially in part of initializing jcloud, so it may be difficult to get clearest context about these sort of issues