goharbor / harbor

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

Login to Harbor reports password error #20869

Open CCTV-six opened 2 months ago

CCTV-six commented 2 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 2 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 2 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 1 month 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?