-
Notifications
You must be signed in to change notification settings - Fork 254
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
显示username和password错误 #70
Comments
先确定下 unsername 和 password 是不是填对了哈~,可以用 docker 命令试试 |
同步命令是./image-syncer --config=./config.json --namespace=sh-aliyun-cr |
解决了么?我也遇到这个问题,密码手动登录是对的,但是写到配置文件里去执行一直报错 |
使用仓库的token登录试试 |
根据其他issue,请确认是否有可能您的密码中有 $ 符号。可能是它导致了问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我想把企业版cr 同步到本地的harbor里。
报错日志如下,我设置的账号和密码是管理员权限
配置在config.json
{
"auth": {
"xxx-registry.cn-shanghai.cr.aliyuncs.com": {
"username": "sh-container01",
"password": "xxx"
},
"harbor.xxx.cn": {
"username": "admin",
"password": "xxx"
}
},
"images": {
"xxx-registry.cn-shanghai.cr.aliyuncs.com/sh-aliyun-cr": "harbor.xxx.cn/sh-aliyun-cr"
}
}
ERRO[2021-04-25 12:35:15] Generate sync task xxx-registry.cn-shanghai.cr.aliyuncs.com/sh-aliyun-cr to harbor.xxxx.cn/sh-aliyun-cr error: get tags failed from xxx-registry.cn-shanghai.cr.aliyuncs.com/sh-aliyun-cr error: unable to retrieve auth token: invalid username/password: errors:
denied: requested access to the resource is denied
unauthorized: authentication required
The text was updated successfully, but these errors were encountered: