-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 push blob to local repo, error: http status code: 401 #18880
Comments
How many harbor-core pod in your env? |
we have 3 replicas each for harbor-core , harbor-registry and harbor-portal. |
I'm running into the same issue with |
Hi Wanted to check if any update on this ? |
Hi devulm for the replication of the core there was an error about bearer token has not set because of the difference between time difference of the replicas when I was searching in the forums setting NTP might help you to solve problem |
@ugurmendi these are all OpenShift nodes and have chrony configured, and sync with the same source, but using 1 replica does work and dont see the unauthorized messages but having only one replica will cause outages during cluster maintenance, is there any config that needs to be set for this to work with multiple replicas ? Also if you were referring to this issue goharbor/harbor-helm#1205 we dont see the token as mentioned there we do see below messages, but it seems to be a warning ?
|
Hello I am still trying to solve the issue and the status is same here,If I deploy one replica it works like charm but If I increase it the problem start again , |
I have this issue too. kops-managed k8s running on AWS EC2, must be good time-wise, yet probably miniscule differences affect this. |
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 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. |
hi details about the setup, using 2.5.1 version on OpenShift 4.11,
harbor-core:v2.5.1
So have configured proxy cache projects for upstream registries, when trying to pull images , we intermittently see the below message and we dont see the repo created in the UI as well, the folders are visible when I check the volume.
Unsuccessful
Failed to push blob to local repo, error: http status code: 401, body: {"errors":[{"code":"UNAUTHORIZED","message":"unauthorized to access repository:
successful
The text was updated successfully, but these errors were encountered: