goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
24.29k stars 4.77k forks source link

Login to Harbor reports password error #20869

Open CCTV-six opened 3 months ago

CCTV-six commented 3 months ago

Expected behavior: Resolve occasional login authentication failures CurrentBehavior After changing the authentication mode on the Harbor management page and changing the admin password, occasional login authentication failed

ainy0293 commented 3 months ago

Hi, I have the same problem.

Pushing the image, it returns unauthorized. After multiple attempts, it succeeds once.

My Harbor version v2.11.1.

MinerYang commented 3 months ago

Login may locked up while you entering false auth several times. However, we do need your logs and more details for triage...

szofar commented 2 months ago

could be related to #17041

I see the same intermittent issue due to timeout. Harbor has a very long response delay here which exceeds the timeout. This is making my GH automations fail intermittently (so I can assure you the password is being provided correctly every time through automation).

I don't think "loop any docker login/push/pull command until it passes" is an acceptable solution. Can we increase the timeout?

github-actions[bot] commented 2 weeks ago

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.