harbor curated package unable to save ECR private registry is connection settings , gives internal server error
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 328
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 9
Description
We are installing Harbor as EKSA curated package , i followed the guide and was able add public ECR registry. But when i try to add private ECR registry it gives internal server error and on the core pod logs i see an error saying
2023-08-08T09:35:43Z [ERROR] [/lib/http/error.go:56]: {"errors":[{"code":"UNKNOWN","message":"unknown: crypto/aes: invalid key size 10"}]}
The test connection works with access key and secret but its unable to save the connection.
Contributor guide
Research direction
Start with the Harbor core pod logs and the error reported at /lib/http/error.go:56, then trace how private ECR connection settings are validated and persisted. Reproduce the failure using the EKSA curated-package guide and compare it with the working public ECR connection. Done means a private ECR registry connection saves successfully without the internal server error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, go, kubernetes
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100