You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed harbor and setup ingress and added a proxy registry with Google GCR provider but with Artifact registry as the Endpoint URL(https://us-docker.pkg.dev/<GCP_PROJECT>).
But when i am trying to pull from the harbor endpoint, it is giving the below error.
Error response from daemon: unknown: repository proxy-cache/prod-docker-us/hello-world not found
Docker login works and i am using the command in the format as below:
docker pull <HARBOR_ENDPOINT>/<HARBOR_PROJECT_NAME>/<GAR_REPO_NAME>/hello-world:latest
And i was able to pull the image from GAR successfully using Google Artifact Registry endpoint.
After checking the harbor-core pod logs, i could see the below logs:
2024-07-01T19:43:19Z [ERROR] [/server/middleware/repoproxy/proxy.go:121]: failed to proxy manifest, fallback to local, request uri: /v2/proxy-cache/hello-world/manifests/latest, error: http status code: 405, body:
The text was updated successfully, but these errors were encountered:
Thank you for your response. I did follow the same PR but while creating a registry and giving Endpoint URL as "https://us-docker.pkg.dev" it is not letting me create the registry stating "the registry is unhealthy".
Upon checking harbor core logs, i can see the below errors:
2024-07-16T17:58:52Z [ERROR] [/pkg/reg/adapter/native/adapter.go:126]: failed to ping registry https://us-docker.pkg.dev: http status code: 401, body: {"errors":[{"code":"UNAUTHORIZED","message":"authentication failed"}]}
But if i add my project at the end of the url like "https://us-docker.pkg.dev/<GCP_PROJECT>" then i am able to create the registry. That is the reason why i used Endpoint URL in that particular format ignoring the comment in the PR.
I have installed harbor and setup ingress and added a proxy registry with Google GCR provider but with Artifact registry as the Endpoint URL(https://us-docker.pkg.dev/<GCP_PROJECT>).
But when i am trying to pull from the harbor endpoint, it is giving the below error.
Error response from daemon: unknown: repository proxy-cache/prod-docker-us/hello-world not found
Docker login works and i am using the command in the format as below:
docker pull <HARBOR_ENDPOINT>/<HARBOR_PROJECT_NAME>/<GAR_REPO_NAME>/hello-world:latest
And i was able to pull the image from GAR successfully using Google Artifact Registry endpoint.
After checking the harbor-core pod logs, i could see the below logs:
2024-07-01T19:43:19Z [ERROR] [/server/middleware/repoproxy/proxy.go:121]: failed to proxy manifest, fallback to local, request uri: /v2/proxy-cache/hello-world/manifests/latest, error: http status code: 405, body:
The text was updated successfully, but these errors were encountered: