A container registry that uses the AT Protocol for manifest storage and S3 for blob storage. atcr.io

Credential Helper installer failures #22

Closed evan.jarrett.net
Closed opened by evan.jarrett.net
❯ curl -fsSL atcr.io/static/install.sh | bash
ATCR Credential Helper Installer

Detected: Darwin arm64
Resolving latest version...
Unexpected redirect location: /evan.jarrett.net/at-container-registry/tags/latest

Looks like there might be two problems:

  1. the curl doesn't follow enough redirects, so it gets latest as the version, which causes the 'unexpected redirect'
curl -s --max-time 10 -o /dev/null -D - "https://tangled.org/did:plc:e3kzdezk5gsirzh7eoqplc64/tags/latest"
HTTP/2 302
server: nginx
date: Sun, 17 May 2026 05:53:05 GMT
content-type: text/html; charset=utf-8
content-length: 74
location: /evan.jarrett.net/at-container-registry/tags/latest # the script assumes this 'latest' will be a string that starts with 'v', I think

# Add a -L
❯ curl -s --max-time 10 -o /dev/null -D - -L "https://tangled.org/did:plc:e3kzdezk5gsirzh7eoqplc64/tags/latest"
HTTP/2 302
server: nginx
date: Sun, 17 May 2026 05:53:15 GMT
content-type: text/html; charset=utf-8
content-length: 74
location: /evan.jarrett.net/at-container-registry/tags/latest

HTTP/2 307
server: nginx
date: Sun, 17 May 2026 05:53:16 GMT
content-type: text/html; charset=utf-8
content-length: 87
location: /evan.jarrett.net/at-container-registry/tags/v0.1.3

HTTP/2 200
server: nginx
date: Sun, 17 May 2026 05:53:16 GMT
content-type: text/html; charset=utf-8
vary: Accept-Encoding
  1. v0.1.3 only has the source tarball, and not the artifacts like v0.1.2. so even fixing the script results in a failure.

This has been fixed. I have releases for 0.1.3 and 0.1.4 now as well

Sign up or Sign in to add to the discussion.