harbor
harbor copied to clipboard
New Registry Endpoint - Internal server error
Hi guys, I am trying to deploy the latest version of Harbor via docker-compose without SSL communication between Harbore components. All of the config files are left with the default configurations they come with.
The deployment step worked fine, but I am unable to create a new registry endpoint.
I get the following error while trying to do so:
Convert registry model to dao layer model error: crypto/aes: invalid key size 17 Add registry 'https://hub.docker.com' error: crypto/aes: invalid key size 17 {"errors":[{"code":"INTERNAL_SERVER_ERROR","message":"crypto/aes: invalid key size 17"}]}
.
Validations against the desired registry - Docker Hub are performed successfully, meaning that the credentials are properly getting checked against it. The value of both the CORE_SECRET and JOBSERVICE_SECRET environment variables are exactly 16 characters long.
Any ideas what I'm doing wrong? Please, let me know if you need further information.
@ninjadq should we validate the configurations during the preparing stage? Especially the length of the secret key and xsrf key.
note: maybe we can add verification of key length in prepare script in future
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.