Skip to content

Conversation

@tico88612
Copy link

@tico88612 tico88612 commented Nov 22, 2025

If you're requesting on /v2/ with basic auth, AWS ECR will return 400 Bad Request and won't provide www-authenticate information.

Retry the request after removing the Authorization header.

Fixed apple/container#847

@dcantah
Copy link
Member

dcantah commented Nov 22, 2025

Hi @tico88612, thanks! Please run make fmt to fix the formatting here

@tico88612 tico88612 force-pushed the fix/bad-request-remove-auth branch from 1ce6c9d to dae001e Compare November 22, 2025 08:38
@tico88612
Copy link
Author

tico88612 commented Nov 22, 2025

@dcantah Oh, I forgot it. Done.

@tico88612 tico88612 force-pushed the fix/bad-request-remove-auth branch 2 times, most recently from 6d76197 to 45ec596 Compare November 22, 2025 13:18
If you're requesting on /v2/ with basic auth, AWS ECR will return 400 Bad Request and won't provide www-authenticate information.
Retry the request after removing the Authorization header.

Signed-off-by: ChengHao Yang <[email protected]>
@tico88612 tico88612 force-pushed the fix/bad-request-remove-auth branch from 45ec596 to 51ebf50 Compare November 22, 2025 13:18
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

Successfully merging this pull request may close these issues.

[Bug]: registry login fails with AWS ECR

2 participants