question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error offloading:

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
lukestephenson-zendeskcommented, Oct 26, 2020

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.

1reaction
addisonjcommented, Dec 29, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found