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

Issues accessing https://dl-cdn.alpinelinux.org #569

Open
wittybull opened this issue May 18, 2023 · 3 comments
Open

Issues accessing https://dl-cdn.alpinelinux.org #569

wittybull opened this issue May 18, 2023 · 3 comments

Comments

@wittybull
Copy link

#7 [stage-1 2/6] RUN     set -ex &&         apk --no-cache add bash
#0 0.938 + apk --no-cache add bash
#0 0.967 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz
#0 5.974 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/main: temporary error (try again later)
#0 5.975 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz
#7 sha256:1ad5ad0fcbc6f8eb714a4766e825abafe7d093c8ba6e3417b4ade9392cbdd913 20.06MB / 115.10MB 42.5s
#7 10.98 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: temporary error (try again later)
#7 10.98 ERROR: unable to select packages:
#7 10.98   bash (no such package):
#7 10.98     required by: world[bash]
#7 ...

#6 [builder 2/4] RUN     set -ex &&         apk --no-cache add gcc g++ make python3 git netcat-openbsd
#6 11.06 WARNING: #7 sha256:1ad5ad0fcbc6f8eb714a4766e825abafe7d093c8ba6e3417b4ade9392cbdd913 26.21MB / 115.10MB 43.4s
  g++ (no such package):
#6 11.08     required by: world[g++]
#6 11.08   gcc (no such package):
#6 11.08     required by: world[gcc]
#6 11.08   git (no such package):
#6 11.08     required by: world[git]
#6 11.08   make (no such package):
#6 11.08     required by: world[make]
#6 11.08   netcat-openbsd (no such package):
#6 11.08     required by: world[netcat-openbsd]
#6 11.08   python3 (no such package):
#6 11.08     required by: world[python3]
#6 11.08 Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: temporary error (try again later)
#6 11.08 ERROR: unable to select packages:
#6 ERROR: process "/bin/sh -c set -ex &&         apk --no-cache add gcc g++ make python3 git netcat-openbsd" did not complete successfully: exit code: 6

#7 [stage-1 2/6] RUN     set -ex &&         apk --no-cache add bash
#7 ERROR: process "/bin/sh -c set -ex &&         apk --no-cache add bash" did not complete successfully: exit code: 1
------
 > [stage-1 2/6] RUN     set -ex &&         apk --no-cache add bash:
#0 0.938 + apk --no-cache add bash
#0 0.967 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz
#0 5.974 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/main: temporary error (try again later)
#0 5.975 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz
#7 10.98 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: temporary error (try again later)
#7 10.98 ERROR: unable to select packages:
#7 10.98   bash (no such package):
#7 10.98     required by: world[bash]
------
------
 > [builder 2/4] RUN     set -ex &&         apk --no-cache add gcc g++ make python3 git netcat-openbsd:
#6 11.08   git (no such package):
#6 11.08     required by: world[git]
#6 11.08   make (no such package):
#6 11.08     required by: world[make]
#6 11.08   netcat-openbsd (no such package):
#6 11.08     required by: world[netcat-openbsd]
#6 11.08   python3 (no such package):
#6 11.08     required by: world[python3]
#6 11.08 Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: temporary error (try again later)
#6 11.08 ERROR: unable to select packages:
------
#5 CANCELED
#7 CANCELED
@wittybull
Copy link
Author

wittybull commented May 18, 2023

^ The above happened repeatedly between circa 15:00-17:00 GMT today 18th May 2023
Seems ok currently.

@wittybull wittybull changed the title Issuses accessing https://dl-cdn.alpinelinux.org/alpine/v3.17/main Issuses accessing https://dl-cdn.alpinelinux.org May 18, 2023
@wittybull wittybull changed the title Issuses accessing https://dl-cdn.alpinelinux.org Issues accessing https://dl-cdn.alpinelinux.org May 18, 2023
@exotexot
Copy link

exotexot commented Aug 21, 2023

I have the same with https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz on my ubuntu machine.

docker compose up --build

[+] Building 11.8s (6/12)
 => [internal] load build definition from Dockerfile                                                                                                                   0.0s
 => => transferring dockerfile: 32B                                                                                                                                    0.0s
 => [internal] load .dockerignore                                                                                                                                      0.0s
 => => transferring context: 34B                                                                                                                                       0.0s
 => [internal] load metadata for docker.io/library/node:18-alpine                                                                                                      0.9s
 => CACHED [1/8] FROM docker.io/library/node:18-alpine@sha256:3482a20c97e401b56ac50ba8920cc7b5b2022bfc6aa7d4e4c231755770cf892f                                         0.0s
 => [internal] load build context                                                                                                                                      0.1s
 => => transferring context: 18.42kB                                                                                                                                   0.1s
 => ERROR [2/8] RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev                                          10.7s
------
 > [2/8] RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev:
#0 0.625 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
#0 5.632 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
#0 5.632 WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.18/main: temporary error (try again later)
#0 10.64 WARNING: updating and opening https://dl-cdn.alpinelinux.org/alpine/v3.18/community: temporary error (try again later)
#0 10.64 4 unavailable, 0 stale; 17 distinct packages available
------
failed to solve: executor failed running [/bin/sh -c apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev]: exit code: 4

Results of:
curl -v -s https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz > /dev/null

*   Trying 151.101.66.132:443...
* TCP_NODELAY set
* Connected to dl-cdn.alpinelinux.org (151.101.66.132) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [19 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [3986 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=dl-cdn.alpinelinux.org
*  start date: Aug  2 19:13:32 2023 GMT
*  expire date: Oct 31 19:13:31 2023 GMT
*  subjectAltName: host "dl-cdn.alpinelinux.org" matched cert's "dl-cdn.alpinelinux.org"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x55a4754bf360)
} [5 bytes data]
> GET /alpine/v3.18/main/x86_64/APKINDEX.tar.gz HTTP/2
> Host: dl-cdn.alpinelinux.org
> user-agent: curl/7.68.0
> accept: */*
>
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [193 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
< HTTP/2 200
< content-security-policy: script-src 'self'
< content-type: application/octet-stream
< etag: "64dde13b-69966"
< last-modified: Thu, 17 Aug 2023 08:58:35 GMT
< referrer-policy: origin-when-cross-origin
< server: nginx/1.23.1
< strict-transport-security: max-age=63072000; includeSubDomains; preload
< x-content-type-options: nosniff
< x-frame-options: DENY
< via: 1.1 varnish, 1.1 varnish
< accept-ranges: bytes
< date: Mon, 21 Aug 2023 09:04:55 GMT
< age: 4
< x-served-by: cache-ams21070-AMS, cache-lcy-eglc8600041-LCY
< x-cache: HIT, HIT
< x-cache-hits: 41, 2
< x-timer: S1692608695.452411,VS0,VE0
< vary: Origin
< content-length: 432486
<
{ [5 bytes data]
* Connection #0 to host dl-cdn.alpinelinux.org left intact

In my /var/snap/docker/current/config/daemon.json:

{
    "log-level":        "error",
    "dns": ["8.8.8.8", "8.8.4.4"]
}

@anoosing
Copy link

Facing same issue with https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
Docker Image Used: node:18-alpine
Code used to add AWS CLI, Bash and Jq: apk add aws-cli bash jq
Error Log
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz ERROR: unable to select packages: aws-cli (no such package): required by: world[aws-cli]

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

3 participants