Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Docker issue with aws sdk. #108

@sbhawesh

Description

@sbhawesh

Hello, I am using hawkbit 0.3.0M9 tag with AWS s3 extention in my current setup on EC2 like docker version = 20.10.13, IAM role with all permission on s3 bucket. In this setup I was able to upload artifacts to my s3 bucket. But after updating docker version to 25.0.3 upload started failing in same hawkbit 0.3.0M9 tag with error as -> com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain: [EnvironmentVariableCredentialsProvider: Unable to load AWS credentials from environment variables (AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY)), SystemPropertiesCredentialsProvider: Unable to load AWS credentials from Java system properties (aws.accessKeyId and aws.secretKey), com.amazonaws.auth.profile.ProfileCredentialsProvider@796495d2: profile file cannot be null, com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper@7e477044: Unauthorized (Service: null; Status Code: 401; Error Code: null; Request ID: null)]. After this I tried updating aws s3 extention to latest and now getting this error -> com.amazonaws.services.s3.model.AmazonS3Exception: Forbidden (Service: Amazon S3; Status Code: 403; Error Code: 403 Forbidden; Request ID: 6XD8NDS2DRJ; S3 Extended Request ID: MUKRtos...QW=; Proxy: null). Not sure how docker version upgrade is causing this issue. Please let me know if anyone can help me out here for the fix.

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