Skip to content

signing error when using s3 alternatives #2790

@fboerman

Description

@fboerman

Apache Iceberg version

0.10.0 (latest release)

Please describe the bug 🐞

when I am using pyiceberg with a rest catalogue and a s3 backend on ovhcloud or hetzner I always get this error when pushing data (example ovhcloud but hetzner is similar):

pyiceberg.exceptions.SignError: Failed to sign request 401: {'method': 'PUT', 'region': 'de', 'uri': 'https://s3.de.io.cloud.ovh.net/dl-amunanalytics/iceberg/019ad68e-74d5-7b63-b17e-72ee4e468d3d/019ad68e-dd6d-7951-b5f5-435e38041856/metadata/snap-3963935388477483242-0-78604abf-4fac-4072-bec7-a33d40a3cabd.avro', 'headers': {'User-Agent': ['aiobotocore/2.17.0 md/Botocore#1.35.93 ua/2.0 os/macos#25.1.0 md/arch#arm64 lang/python#3.12.11 md/pyimpl#CPython cfg/retry-mode#legacy botocore/1.35.93'], 'Content-MD5': ['FRHffmvppTAlGR6yOEaWoQ=='], 'Expect': ['100-continue']}}

Spark works just fine. It seems that pyiceberg is expecting some form of signing which is not available and cannot get around it, while spark can. Is there a setting that fixes this? is this expected behaviour? I am a bit at a loss on this. Thanks in advance for any help!

Willingness to contribute

  • I can contribute a fix for this bug independently
  • I would be willing to contribute a fix for this bug with guidance from the Iceberg community
  • I cannot contribute a fix for this bug at this time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions