Open wittybull opened 1 year ago
^ The above happened repeatedly between circa 15:00-17:00 GMT today 18th May 2023 Seems ok currently.
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"]
}
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]