Ubable to use dependency proxy feature
Describe your question in as much detail as possible:
- What are you seeing, and how does that differ from what you expect to see?
when trying to pull image from my pipeline, I’m getting this error:
WARNING: Failed to pull image with policy “Always”: image pull failed: rpc error: code = Unknown desc = failed to pull and unpack image “url:443/xyz-ops/dependency_proxy/containers/alpine:latest”: failed to read expected number of bytes: unexpected EOF
17ERROR: Job failed: prepare environment: waiting for pod running: pulling image “git.k8s.prod.toolops-infra.bmw-fleet.net:443/xyz-ops/dependency_proxy/containers/alpine:latest”: image pull failed: rpc error: code = Unknown desc = failed to pull and unpack image “git.k8s.prod.toolops-infra.bmw-fleet.net:443/xyz-ops/dependency_proxy/containers/alpine:latest”: failed to read expected number of bytes: unexpected EOF. Check Types of shells supported by GitLab Runner | GitLab for more information
-
Consider including screenshots, error messages, and/or other helpful visuals
-
What version are you on? Are you using self-managed or GitLab.com?
- GItlab: we are using self managed gitlab v16.7.2
- Runner: runner version is 16.5.0
-
Add the CI configuration from
.gitlab-ci.yml
and other configuration if relevant (e.g. docker-compose.yml)
I am checking this feature with a simple job:
test:
tags:
- “toolops-prod.eks”
image: ${CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX}/alpine:latest
script:
- echo “hello world” -
What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
- I tried to pull image using dependency proxy but getting error: Error response from daemon: unexpected EOF
- access token is there on my local, so there should not be authentication issue
- when I do curl for this dependency proxy URL:
HTTP/1.1 308 Permanent Redirect
Date: Wed, 07 Feb 2024 06:29:33 GMT
Content-Type: text/html
Content-Length: 164
Connection: keep-alive
Location: https://url/xyz-ops/dependency_proxy/containers/alpine:latest