Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker issue with aws sdk. #108

Open
sbhawesh opened this issue May 24, 2024 · 0 comments
Open

Docker issue with aws sdk. #108

sbhawesh opened this issue May 24, 2024 · 0 comments

Comments

@sbhawesh
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant