Skip to content

azureblob-sdk provider does not work with aws-sdk-java-v2 < 2.35 #906

@klaudworks

Description

@klaudworks

There is the following error popping up for every tool that uses s3proxy via the aws-sdk-java-v2 to access an azure backend: "Input is expected to be encoded in multiple of 2 bytes". The underlying issue is an AWS bug that expects even byte length Etags. Same issue as here: #96 but the workarounds don't work anymore with aws-sdk-java-v2.

The bug is fixed in version 2.35.0 of the aws-sdk-java-v2. However, most tools still use older versions of the sdk.
I worked around it by patching the aws sdk dependency directly in the affected jar. Ugly but works until projects update their aws sdk dependency: https://x.com/klaudworks/status/1980283274007081411

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions