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 can login to the UI as the admin user using the password defined in the secret. I can also login via Docker:
docker login https://harbor.mydomain.tld
Username: admin
Password:
WARNING! Your password will be stored unencrypted in /home/tinyadmin/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credential-stores
Login Succeeded
However, whenever i try to push an image to the registry, e.g. to the "library" (which is even set to public btw!), i get this:
docker image push harbor.mydomain.tld/library/ollama:latest
The push refers to repository [harbor.mydomain.tld/library/ollama]
9845471ab4aa: Preparing
03bf83b571f6: Preparing
0a320356e5ee: Preparing
2573e0d81582: Preparing
unauthorized: unauthorized to access repository: library/ollama, action: push: unauthorized to access repository: library/ollama, action: push
2025-01-31T22:16:48Z [DEBUG] [/core/service/token/authutils.go:102]: user: , access: &{repository library/ollama [pull]}
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/log/log.go:31]: attach request id cd71b2a3-793b-4a1a-afec-1379310a9ffb to the logger for the request HEAD /v2/library/ollama/blobs/sha256:bbc15f5291c898f35e89f6efae11c0ecd49f6aa19789f36af4fd5fc61640c032
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/artifactinfo/artifact_info.go:55]: In artifact info middleware, url: /v2/library/ollama/blobs/sha256:bbc15f5291c898f35e89f6efae11c0ecd49f6aa19789f36af4fd5fc61640c032
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/log/log.go:31]: attach request id 18f829d0-6d64-4e87-8024-a38c0aff086f to the logger for the request HEAD /v2/library/ollama/blobs/sha256:434f39e9aa8ed6d632ba077401089f1011c5172058463ab81a32368f8e9bdf6c
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/artifactinfo/artifact_info.go:55]: In artifact info middleware, url: /v2/library/ollama/blobs/sha256:434f39e9aa8ed6d632ba077401089f1011c5172058463ab81a32368f8e9bdf6c
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/log/log.go:31]: attach request id 6c114a4c-cb9b-41a1-908b-7764df1d94f4 to the logger for the request HEAD /v2/library/ollama/blobs/sha256:6414378b647780fee8fd903ddb9541d134a1947ce092d08bdeb23a54cb3684ac
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/artifactinfo/artifact_info.go:55]: In artifact info middleware, url: /v2/library/ollama/blobs/sha256:6414378b647780fee8fd903ddb9541d134a1947ce092d08bdeb23a54cb3684ac
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/log/log.go:31]: attach request id 05debb72-351a-42f9-b979-cdb9a0412566 to the logger for the request HEAD /v2/library/ollama/blobs/sha256:ce386310af0b2ad3776a94803422f4a2b9c0a9026480064295949aa309581ca4
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/artifactinfo/artifact_info.go:55]: In artifact info middleware, url: /v2/library/ollama/blobs/sha256:ce386310af0b2ad3776a94803422f4a2b9c0a9026480064295949aa309581ca4
2025-01-31T22:16:48Z [DEBUG] [/lib/http/error.go:62]: {"errors":[{"code":"NOT_FOUND","message":"blob sha256:bbc15f5291c898f35e89f6efae11c0ecd49f6aa19789f36af4fd5fc61640c032 not found"}]}
2025-01-31T22:16:48Z [DEBUG] [/lib/http/error.go:62]: {"errors":[{"code":"NOT_FOUND","message":"blob sha256:6414378b647780fee8fd903ddb9541d134a1947ce092d08bdeb23a54cb3684ac not found"}]}
2025-01-31T22:16:48Z [DEBUG] [/lib/http/error.go:62]: {"errors":[{"code":"NOT_FOUND","message":"blob sha256:434f39e9aa8ed6d632ba077401089f1011c5172058463ab81a32368f8e9bdf6c not found"}]}
2025-01-31T22:16:48Z [DEBUG] [/lib/http/error.go:62]: {"errors":[{"code":"NOT_FOUND","message":"blob sha256:ce386310af0b2ad3776a94803422f4a2b9c0a9026480064295949aa309581ca4 not found"}]}
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/log/log.go:31]: attach request id 834cc331-a682-415f-8e68-b39c42725382 to the logger for the request POST /v2/library/ollama/blobs/uploads/
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/artifactinfo/artifact_info.go:55]: In artifact info middleware, url: /v2/library/ollama/blobs/uploads/
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/log/log.go:31]: attach request id 0d81dc81-bb4e-49cb-8906-a3bf5812df2b to the logger for the request POST /v2/library/ollama/blobs/uploads/
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/artifactinfo/artifact_info.go:55]: In artifact info middleware, url: /v2/library/ollama/blobs/uploads/
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/log/log.go:31]: attach request id e2ab65c5-ccd5-45ca-af7a-48f632a64270 to the logger for the request POST /v2/library/ollama/blobs/uploads/
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/log/log.go:31]: attach request id 4842a049-a117-4531-9297-c34f49f6921a to the logger for the request POST /v2/library/ollama/blobs/uploads/
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/artifactinfo/artifact_info.go:55]: In artifact info middleware, url: /v2/library/ollama/blobs/uploads/
2025-01-31T22:16:48Z [DEBUG] [/server/middleware/artifactinfo/artifact_info.go:55]: In artifact info middleware, url: /v2/library/ollama/blobs/uploads/
2025-01-31T22:16:48Z [DEBUG] [/lib/http/error.go:62]: {"errors":[{"code":"UNAUTHORIZED","message":"unauthorized to access repository: library/ollama, action: push: unauthorized to access repository: library/ollama, action: push"}]}
2025-01-31T22:16:48Z [DEBUG] [/lib/http/error.go:62]: {"errors":[{"code":"UNAUTHORIZED","message":"unauthorized to access repository: library/ollama, action: push: unauthorized to access repository: library/ollama, action: push"}]}
2025-01-31T22:16:48Z [DEBUG] [/lib/http/error.go:62]: {"errors":[{"code":"UNAUTHORIZED","message":"unauthorized to access repository: library/ollama, action: push: unauthorized to access repository: library/ollama, action: push"}]}
2025-01-31T22:16:48Z [DEBUG] [/lib/http/error.go:62]: {"errors":[{"code":"UNAUTHORIZED","message":"unauthorized to access repository: library/ollama, action: push: unauthorized to access repository: library/ollama, action: push"}]}
The registry pod does not log anything as the request seems to be rejected at the core already. Help would be very much appreciated, as im stuck with this issue for multiple days now.
The text was updated successfully, but these errors were encountered:
Hi thanks for providing your config, I am currently facing other issues.
As far as I read into the documentation it seems that you will need to use a TLS cert to be able to push/pull.
Besides that you are using traefik and nginx? If you set expose.type to clusterIP a nginx container will be deployed.
as stated in my initial message of the issue, im using Traefik and a valid TLS Cert for the Ingress Routes. I previously tried using the built-in Ingress settings, which produced valid ingress routes in Traefik, but i had the same issue there was well that i was unable to push to the registry.
Hello,
i have installed the Helm Chart on a K3S Cluster with the following values:
Additionally, i have created a Traefik Ingress Route:
The Middleware used "default-headers" looks like this:
I can login to the UI as the admin user using the password defined in the secret. I can also login via Docker:
However, whenever i try to push an image to the registry, e.g. to the "library" (which is even set to public btw!), i get this:
In the Traefik Logs:
In the Logs of the Core Pod:
The registry pod does not log anything as the request seems to be rejected at the core already. Help would be very much appreciated, as im stuck with this issue for multiple days now.
The text was updated successfully, but these errors were encountered: