Skip to content

JDK install on Ubuntu (and Alpine) fails with HTTP 403 #554

@ppanyukov

Description

@ppanyukov

Please provide a brief summary of the bug

Something is wrong with SAS keys, maybe they expired?

Please provide steps to reproduce where possible

On Ubuntu 20.04, following instructions from here: https://blog.adoptium.net/2021/12/eclipse-temurin-linux-installers-available/

apt-get install -y wget apt-transport-https gnupg

wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | apt-key add -

echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list

apt-get update # update if you haven't already

apt-get install temurin-17-jdk

Expected Results

Obviously expecting the install to work :)

Actual Results

Result:

Err:28 https://packages.adoptium.net/artifactory/deb focal/main arm64 temurin-17-jdk arm64 17.0.4.0.0+8
  403  Forbidden [IP: 143.204.192.207 443]

E: Failed to fetch https://d3d227kvr2djy5.cloudfront.net/filestore/3e/3e51e8df20fe00a8b7f9e775a99594e20297b93e?response-content-type=application/x-debian-package&x-jf-traceId=960916e5c561db0a&X-Artifactory-repositoryKey=deb&X-Artifactory-projectKey=temurin&X-Artifactory-artifactPath=pool/main/t/temurin-17/temurin-17-jdk_17.0.4.0.0+8_arm64.deb&X-Artifactory-username=anonymous&Expires=1659354254&Signature=REDACTED

403  Forbidden [IP: 143.204.192.207 443]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

What Java Version are you using?

11

What is your operating system and platform?

Ubuntu 20.04: both x64 and ARM

How did you install Java?

No response

Did it work before?

Yes it did.

Did you test with other Java versions?

Yes, 11 and 17. Both broken. Both on ARM and x64.

On various machines too with different connectivity.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingkeepThis label can be applied to prevent the Stale bot from closing it after a period of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions