-
Notifications
You must be signed in to change notification settings - Fork 759
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
Failed to authenticate user, due to error 'Invalid credentials' #752
Comments
Me too.. i cleaned the password on database and restarted the core, then the password is updated on database.. but always invalid credentials... |
i met same issue and i checked redis logs |
Unfortunately seems that failed login issue will be shown for most deployment/misconfiguration cases. At first I tried to deploy this helm chart with expose type Then I configured
I said almost because i use istio-ingress and I had to edit ingress resource itself to make it work with istio:
I had to change order for backends and add
I hope that this info will be useful for others who recieve 'Invalid credentials' issue. |
Configure tls and expose type ingress and it will work expose: Set the way how to expose the service. Set the type as "ingress","clusterIP", "nodePort" or "loadBalancer" and fill the informationin the corresponding sectiontype: ingress |
I've checked almost everything, no relevant error message can be found. But it still isn't working. Anyway, I resolved it by replacing the password encrypting method. Please see the following SQL command:
It's working after I run this SQL in the database pod. It should be a bug if understand it correctly. |
I have a similar problem but I am trying to authenticate THROUGH harbor-core to the Notary server. |
Actually, why |
I didn't go deep into the code base. But I guess that there's a change in the password encryption method. |
thank you |
it works with External URL update, but has anyone tried updating user name password both |
harbor v2.1.0, i change admin password in web ui,But something bad happened,Success and unauthorized cross appear.
|
I had the same problem, I rosolved it through this steps, i used helm :
|
Is this bug addressed? I deploy Harbor in google marketplace on GKE, but meet the same problem, and I try updating password_version, doesn't work. And I even found the records in harbor_user table changes after I delete(thus will re-create) the harbor-core pod. Any tips? |
Facing the same issue with v2.11.0, deployed with Docker. The related Docker-compose logs show:
login command: docker login registry.xxxxxx.com --username 'robot$gitlab_bot' --password-stdin <<< 'BotTokenMasked'
Error response from daemon: Get "https://registry.xxxxxx.com/v2/": unauthorized: Finally solved by deleting the Not sure if this is an issue with brute force protection (account was locked so it always fail). |
I used harbor version 2.1.0,When I logged in, I encountered a user password error. I checked the log information of Core POD as follows:
The contents of my values.YAMl file are as follows:
The text was updated successfully, but these errors were encountered: