Skip to content
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

Unauthorised IP error #8

Open
arturwplantecs opened this issue Nov 21, 2024 · 1 comment
Open

Unauthorised IP error #8

arturwplantecs opened this issue Nov 21, 2024 · 1 comment

Comments

@arturwplantecs
Copy link

Hi, we can't build actions, because it's failing due to this error:

/usr/bin/docker build -t 64f124:a26405a14e61445d91088f32f73e405f -f "/home/runner/actions-runner/_work/_actions/citizen-of-planet-earth/cf-cli-action/master/Dockerfile" "/home/runner/actions-runner/_work/_actions/citizen-of-planet-earth/cf-cli-action/master"
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 363B done
#1 DONE 0.1s

#2 [internal] load metadata for docker.io/library/ubuntu:18.04
#2 DONE 2.3s

#3 [internal] load .dockerignore
#3 transferring context:
#3 transferring context: 2B done
#3 DONE 0.2s

#4 [internal] load build context
#4 transferring context: 260B done
#4 DONE 0.1s

#5 [1/7] FROM docker.io/library/ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98
#5 resolve docker.io/library/ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98 0.1s done
#5 sha256:f9a80a55f492e823bf5d51f1bd5f87ea3eed1cb31788686aa99a2fb61a27af6a 2.30kB / 2.30kB done
#5 sha256:7c457f213c7634afb95a0fb2410a74b7b5bc0ba527033362c240c7a11bef4331 0B / 25.69MB 0.1s
#5 sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98 1.33kB / 1.33kB done
#5 sha256:dca176c9663a7ba4c1f0e710986f5a25e672842963d95b960191e2d9f7185ebe 424B / 424B done
#5 sha256:7c457f213c7634afb95a0fb2410a74b7b5bc0ba527033362c240c7a11bef4331 3.15MB / 25.69MB 0.4s
#5 sha256:7c457f213c7634afb95a0fb2410a74b7b5bc0ba527033362c240c7a11bef4331 25.69MB / 25.69MB 0.6s
#5 extracting sha256:7c457f213c7634afb95a0fb2410a74b7b5bc0ba527033362c240c7a11bef4331
#5 sha256:7c457f213c7634afb95a0fb2410a74b7b5bc0ba527033362c240c7a11bef4331 25.69MB / 25.69MB 0.7s done
#5 extracting sha256:7c457f213c7634afb95a0fb2410a74b7b5bc0ba527033362c240c7a11bef4331 1.1s done
#5 DONE 2.2s

#6 [2/7] RUN apt-get update
#6 0.476 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [102 kB]
#6 0.637 Get:2 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
#6 0.736 Get:3 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1688 kB]
#6 1.012 Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [3373 kB]
#6 1.276 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [102 kB]
#6 1.312 Get:6 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [23.8 kB]
#6 1.372 Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1637 kB]
#6 1.795 Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [102 kB]
#6 2.330 Get:9 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
#6 2.874 Get:10 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
#6 4.001 Get:11 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
#6 4.275 Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]
#6 5.107 Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3786 kB]
#6 6.109 Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1728 kB]
#6 6.890 Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [30.8 kB]
#6 7.147 Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2411 kB]
#6 7.985 Get:17 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [20.6 kB]
#6 8.160 Get:18 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [64.0 kB]
#6 8.253 Fetched 28.2 MB in 8s (3579 kB/s)
#6 8.253 Reading package lists...
#6 DONE 10.3s

#7 [3/7] RUN apt-get install -y ca-certificates jq
#7 0.356 Reading package lists...
#7 2.093 Building dependency tree...
#7 2.369 Reading state information...
#7 2.661 The following additional packages will be installed:
#7 2.663 libjq1 libonig4 libssl1.1 openssl
#7 2.803 The following NEW packages will be installed:
#7 2.805 ca-certificates jq libjq1 libonig4 libssl1.1 openssl
#7 3.175 0 upgraded, 6 newly installed, 0 to remove and 1 not upgraded.
#7 3.175 Need to get 2343 kB of archives.
#7 3.175 After this operation, 6610 kB of additional disk space will be used.
#7 3.175 Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.1 amd64 1.1.1-1ubuntu2.118.04.23 [1303 kB]
#7 4.108 Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssl amd64 1.1.1-1ubuntu2.1
18.04.23 [614 kB]
#7 4.922 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 ca-certificates all 20230311ubuntu0.18.04.1 [151 kB]
#7 5.482 Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libonig4 amd64 6.7.0-1 [119 kB]
#7 6.051 Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libjq1 amd64 1.5+dfsg-2 [111 kB]
#7 6.541 Get:6 http://archive.ubuntu.com/ubuntu bionic/universe amd64 jq amd64 1.5+dfsg-2 [45.6 kB]
#7 6.850 debconf: delaying package configuration, since apt-utils is not installed
#7 6.893 Fetched 2343 kB in 4s (604 kB/s)
#7 7.034 Selecting previously unselected package libssl1.1:amd64.
#7 7.034 (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 4050 files and directories currently installed.)
#7 7.044 Preparing to unpack .../0-libssl1.1_1.1.1-1ubuntu2.118.04.23_amd64.deb ...
#7 7.057 Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1
18.04.23) ...
#7 7.261 Selecting previously unselected package openssl.
#7 7.263 Preparing to unpack .../1-openssl_1.1.1-1ubuntu2.118.04.23_amd64.deb ...
#7 7.274 Unpacking openssl (1.1.1-1ubuntu2.1
18.04.23) ...
#7 7.399 Selecting previously unselected package ca-certificates.
#7 7.401 Preparing to unpack .../2-ca-certificates_20230311ubuntu0.18.04.1_all.deb ...
#7 7.408 Unpacking ca-certificates (20230311ubuntu0.18.04.1) ...
#7 7.491 Selecting previously unselected package libonig4:amd64.
#7 7.494 Preparing to unpack .../3-libonig4_6.7.0-1_amd64.deb ...
#7 7.500 Unpacking libonig4:amd64 (6.7.0-1) ...
#7 7.590 Selecting previously unselected package libjq1:amd64.
#7 7.591 Preparing to unpack .../4-libjq1_1.5+dfsg-2_amd64.deb ...
#7 7.598 Unpacking libjq1:amd64 (1.5+dfsg-2) ...
#7 7.693 Selecting previously unselected package jq.
#7 7.693 Preparing to unpack .../5-jq_1.5+dfsg-2_amd64.deb ...
#7 7.700 Unpacking jq (1.5+dfsg-2) ...
#7 7.758 Setting up libonig4:amd64 (6.7.0-1) ...
#7 7.776 Setting up libjq1:amd64 (1.5+dfsg-2) ...
#7 7.795 Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.118.04.23) ...
#7 7.889 debconf: unable to initialize frontend: Dialog
#7 7.889 debconf: (TERM is not set, so the dialog frontend is not usable.)
#7 7.889 debconf: falling back to frontend: Readline
#7 7.890 debconf: unable to initialize frontend: Readline
#7 7.890 debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
#7 7.890 debconf: falling back to frontend: Teletype
#7 7.929 Setting up openssl (1.1.1-1ubuntu2.1
18.04.23) ...
#7 7.960 Setting up ca-certificates (20230311ubuntu0.18.04.1) ...
#7 8.057 debconf: unable to initialize frontend: Dialog
#7 8.057 debconf: (TERM is not set, so the dialog frontend is not usable.)
#7 8.057 debconf: falling back to frontend: Readline
#7 8.059 debconf: unable to initialize frontend: Readline
#7 8.059 debconf: (Can't locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
#7 8.059 debconf: falling back to frontend: Teletype
#7 8.570 Updating certificates in /etc/ssl/certs...
#7 9.371 137 added, 0 removed; done.
#7 9.459 Setting up jq (1.5+dfsg-2) ...
#7 9.495 Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
#7 9.540 Processing triggers for ca-certificates (20230311ubuntu0.18.04.1) ...
#7 9.552 Updating certificates in /etc/ssl/certs...
#7 10.15 0 added, 0 removed; done.
#7 10.15 Running hooks in /etc/ca-certificates/update.d...
#7 10.15 done.
#7 DONE 10.3s

#8 [4/7] RUN echo "deb [trusted=yes] https://packages.cloudfoundry.org/debian stable main" > /etc/apt/sources.list.d/cloudfoundry-cli.list
#8 DONE 0.6s

#9 [5/7] RUN apt-get update
#9 0.482 Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
#9 0.679 Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
#9 1.070 Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
#9 1.219 Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
#9 1.281 Get:2 https://cf-cli-debian-repo.s3.amazonaws.com stable InRelease [4368 B]
#9 1.425 Ign:2 https://cf-cli-debian-repo.s3.amazonaws.com stable InRelease
#9 1.619 Get:6 https://cf-cli-debian-repo.s3.amazonaws.com stable/main amd64 Packages [15.8 kB]
#9 1.640 Fetched 20.1 kB in 1s (16.0 kB/s)
#9 1.640 Reading package lists...
#9 3.385 W: GPG error: https://cf-cli-debian-repo.s3.amazonaws.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 172B5989FCD21EF8
#9 DONE 3.5s

#10 [6/7] RUN apt-get install -y cf7-cli
#10 0.314 Reading package lists...
#10 1.939 Building dependency tree...
#10 2.184 Reading state information...
#10 2.477 The following NEW packages will be installed:
#10 2.479 cf7-cli
#10 3.387 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
#10 3.387 Need to get 5736 kB of archives.
#10 3.387 After this operation, 22.1 MB of additional disk space will be used.
#10 3.387 Err:1 https://packages.cloudfoundry.org/debian stable/main amd64 cf7-cli amd64 7.7.15
#10 3.387 401 Unauthorized [IP: 185.199.108.133 443]
#10 3.399 E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/122[23](https://git.i.mercedes-benz.com/plantecs/e2e-automated/actions/runs/10818942/job/38868840#step:3:23)350/3c53f8f3-e2ab-4465-9caa-a36b0ba366e7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction/20[24](https://git.i.mercedes-benz.com/plantecs/e2e-automated/actions/runs/10818942/job/38868840#step:3:24)1119/us-east-1/s3/aws4_request&X-Amz-Date=20241119T101451Z&X-Amz-Expires=300&X-Amz-Signature=b471519fca64a30ee731d37f55189f92ece05b3952b13b9296c02d84ebc807da&X-Amz-SignedHeaders=host&response-content-disposition=attachment; filename=cf7-cli-installer_7.7.15_x86-64.deb&response-content-type=application/octet-stream 401 Unauthorized [IP: 185.199.108.133 443]
#10 3.399 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
#10 ERROR: process "/bin/sh -c apt-get install -y cf7-cli" did not complete successfully: exit code: 100

[6/7] RUN apt-get install -y cf7-cli:
2.184 Reading state information...
2.477 The following NEW packages will be installed:
2.479 cf7-cli
3.387 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
3.387 Need to get 5736 kB of archives.
3.387 After this operation, 22.1 MB of additional disk space will be used.
3.387 Err:1 https://packages.cloudfoundry.org/debian stable/main amd64 cf7-cli amd64 7.7.15
3.387 401 Unauthorized [IP: 185.199.108.133 443]
3.399 E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/12223350/3c53f8f3-e2ab-4465-9caa-a36b0ba366e7?X-Amz-Algorithm=AWS4-HMAC-SHA[25](https://git.i.mercedes-benz.com/plantecs/e2e-automated/actions/runs/10818942/job/38868840#step:3:25)6&X-Amz-Credential=releaseassetproduction/20241119/us-east-1/s3/aws4_request&X-Amz-Date=20241119T101451Z&X-Amz-Expires=300&X-Amz-Signature=b471519fca64a30ee731d37f55189f92ece05b3952b13b9296c02d84ebc807da&X-Amz-SignedHeaders=host&response-content-disposition=attachment; filename=cf7-cli-installer_7.7.15_x86-64.deb&response-content-type=application/octet-stream 401 Unauthorized [IP: 185.199.108.133 443]
3.399 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


Dockerfile:8

 6 |     RUN echo "deb [trusted=yes] https://packages.cloudfoundry.org/debian stable main" > /etc/apt/sources.list.d/cloudfoundry-cli.list
 7 |     RUN apt-get update
 8 | >>> RUN apt-get install -y cf7-cli
 9 |     
10 |     ADD entrypoint.sh /entrypoint.sh

ERROR: failed to solve: process "/bin/sh -c apt-get install -y cf7-cli" did not complete successfully: exit code: 100
Warning: Docker build failed with exit code 1, back off 3.4 seconds before retry.
/usr/bin/docker build -t 64f124:a26405a14e61445d91088f32f73e405f -f "/home/runner/actions-runner/_work/_actions/citizen-of-planet-earth/cf-cli-action/master/Dockerfile" "/home/runner/actions-runner/_work/_actions/citizen-of-planet-earth/cf-cli-action/master"
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 363B done
#1 DONE 0.0s

#2 [internal] load metadata for docker.io/library/ubuntu:18.04
#2 DONE 0.7s

#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s

#4 [1/7] FROM docker.io/library/ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98
#4 DONE 0.0s

#5 [2/7] RUN apt-get update
#5 CACHED

#6 [3/7] RUN apt-get install -y ca-certificates jq
#6 CACHED

#7 [4/7] RUN echo "deb [trusted=yes] https://packages.cloudfoundry.org/debian stable main" > /etc/apt/sources.list.d/cloudfoundry-cli.list
#7 CACHED

#8 [5/7] RUN apt-get update
#8 CACHED

#9 [internal] load build context
#9 transferring context: 35B done
#9 DONE 0.0s

#10 [6/7] RUN apt-get install -y cf7-cli
#10 0.435 Reading package lists...
#10 2.198 Building dependency tree...
#10 2.458 Reading state information...
#10 2.789 The following NEW packages will be installed:
#10 2.792 cf7-cli
#10 3.385 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
#10 3.385 Need to get 5736 kB of archives.
#10 3.385 After this operation, 22.1 MB of additional disk space will be used.
#10 3.385 Err:1 https://packages.cloudfoundry.org/debian stable/main amd64 cf7-cli amd64 7.7.15
#10 3.386 401 Unauthorized [IP: 185.199.110.133 443]
#10 3.396 E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/12223350/3c53f8f3-e2ab-4465-9caa-a36b0ba366e7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction/20241119/us-east-1/s3/aws4_request&X-Amz-Date=20241119T101451Z&X-Amz-Expires=300&X-Amz-Signature=b471519fca64a30ee731d37f55189f92ece05b3952b13b9296c02d84ebc807da&X-Amz-SignedHeaders=host&response-content-disposition=attachment; filename=cf7-cli-installer_7.7.15_x86-64.deb&response-content-type=application/octet-stream 401 Unauthorized [IP: 185.199.110.133 443]
#10 3.396 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
#10 ERROR: process "/bin/sh -c apt-get install -y cf7-cli" did not complete successfully: exit code: 100

[6/7] RUN apt-get install -y cf7-cli:

2.789 The following NEW packages will be installed:
2.792 cf7-cli
3.385 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
3.385 Need to get 5736 kB of archives.
3.385 After this operation, 22.1 MB of additional disk space will be used.
3.385 Err:1 https://packages.cloudfoundry.org/debian stable/main amd64 cf7-cli amd64 7.7.15
3.386 401 Unauthorized [IP: 185.199.110.133 443]
3.396 E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/12223350/3c53f8f3-e2ab-4465-9caa-a36b0ba366e7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction/20241119/us-east-1/s3/aws4_request&X-Amz-Date=20241119T101451Z&X-Amz-Expires=300&X-Amz-Signature=b471519fca64a30ee731d37f55189f92ece05b3952b13b9296c02d84ebc807da&X-Amz-SignedHeaders=host&response-content-disposition=attachment; filename=cf7-cli-installer_7.7.15_x86-64.deb&response-content-type=application/octet-stream 401 Unauthorized [IP: 185.199.110.133 443]
3.396 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Dockerfile:8

 6 |     RUN echo "deb [trusted=yes] https://packages.cloudfoundry.org/debian stable main" > /etc/apt/sources.list.d/cloudfoundry-cli.list
 7 |     RUN apt-get update
 8 | >>> RUN apt-get install -y cf7-cli
 9 |     
10 |     ADD entrypoint.sh /entrypoint.sh

ERROR: failed to solve: process "/bin/sh -c apt-get install -y cf7-cli" did not complete successfully: exit code: 100
Warning: Docker build failed with exit code 1, back off 8.739 seconds before retry.
/usr/bin/docker build -t 64f124:a26405a14e61445d91088f32f73e405f -f "/home/runner/actions-runner/_work/_actions/citizen-of-planet-earth/cf-cli-action/master/Dockerfile" "/home/runner/actions-runner/_work/_actions/citizen-of-planet-earth/cf-cli-action/master"
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 363B done
#1 DONE 0.1s

#2 [internal] load metadata for docker.io/library/ubuntu:18.04
#2 DONE 0.7s

#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s

#4 [1/7] FROM docker.io/library/ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98
#4 DONE 0.0s

#5 [3/7] RUN apt-get install -y ca-certificates jq
#5 CACHED

#6 [4/7] RUN echo "deb [trusted=yes] https://packages.cloudfoundry.org/debian stable main" > /etc/apt/sources.list.d/cloudfoundry-cli.list
#6 CACHED

#7 [2/7] RUN apt-get update
#7 CACHED

#8 [5/7] RUN apt-get update
#8 CACHED

#9 [internal] load build context
#9 transferring context: 35B done
#9 DONE 0.0s

#10 [6/7] RUN apt-get install -y cf7-cli
#10 0.314 Reading package lists...
#10 1.952 Building dependency tree...
#10 2.205 Reading state information...
#10 2.537 The following NEW packages will be installed:
#10 2.540 cf7-cli
#10 3.228 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
#10 3.228 Need to get 5736 kB of archives.
#10 3.228 After this operation, 22.1 MB of additional disk space will be used.
#10 3.228 Err:1 https://packages.cloudfoundry.org/debian stable/main amd64 cf7-cli amd64 7.7.15
#10 3.228 401 Unauthorized [IP: 185.199.111.133 443]
#10 3.241 E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/12223350/3c53f8f3-e2ab-4465-9caa-a36b0ba366e7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction/20241119/us-east-1/s3/aws4_request&X-Amz-Date=20241119T101451Z&X-Amz-Expires=300&X-Amz-Signature=b471519fca64a30ee731d37f55189f92ece05b3952b13b9[29](https://git.i.mercedes-benz.com/plantecs/e2e-automated/actions/runs/10818942/job/38868840#step:3:29)6c02d84ebc807da&X-Amz-SignedHeaders=host&response-content-disposition=attachment; filename=cf7-cli-installer_7.7.15_x86-64.deb&response-content-type=application/octet-stream 401 Unauthorized [IP: 185.199.111.133 443]
#10 3.241 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
#10 ERROR: process "/bin/sh -c apt-get install -y cf7-cli" did not complete successfully: exit code: 100

[6/7] RUN apt-get install -y cf7-cli:
2.205 Reading state information...
2.537 The following NEW packages will be installed:
2.540 cf7-cli
3.228 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
3.228 Need to get 5736 kB of archives.
3.228 After this operation, 22.1 MB of additional disk space will be used.
3.228 Err:1 https://packages.cloudfoundry.org/debian stable/main amd64 cf7-cli amd64 7.7.15
3.228 401 Unauthorized [IP: 185.199.111.133 443]
3.241 E: Failed to fetch https://objects.githubusercontent.com/github-production-release-asset-2e65be/12223350/3c53f8f3-e2ab-4465-9caa-a36b0ba366e7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction/20241119/us-east-1/s3/aws4_request&X-Amz-Date=20241119T101451Z&X-Amz-Expires=[30](https://git.i.mercedes-benz.com/plantecs/e2e-automated/actions/runs/10818942/job/38868840#step:3:30)0&X-Amz-Signature=b471519fca64a30ee731d37f55189f92ece05b3952b13b9296c02d84ebc807da&X-Amz-SignedHeaders=host&response-content-disposition=attachment; filename=cf7-cli-installer_7.7.15_x86-64.deb&response-content-type=application/octet-stream 401 Unauthorized [IP: 185.199.111.133 443]
3.241 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


Dockerfile:8

 6 |     RUN echo "deb [trusted=yes] https://packages.cloudfoundry.org/debian stable main" > /etc/apt/sources.list.d/cloudfoundry-cli.list
 7 |     RUN apt-get update
 8 | >>> RUN apt-get install -y cf7-cli
 9 |     
10 |     ADD entrypoint.sh /entrypoint.sh

ERROR: failed to solve: process "/bin/sh -c apt-get install -y cf7-cli" did not complete successfully: exit code: 100
Error: Docker build failed with exit code 1

@mscherbinek
Copy link

Hi,

actually there is a PR which would fix the problem (and updates the cf client version).

The issue is due to the missing signature which is required for accessing the cf client.

Regards,
Marcel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants