-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
JDK install on Ubuntu fails with HTTP 403 #554
Comments
@gdams is looking into this and is going to see if there is any problem on the JFrog side (JFrog host our installers) |
can confirm this issue on bionic arm64 as well on new installs as well as existing installs with this repo. seems to be the entire repo |
also change name of variable from server_type to server_category to more closely match the API of serverjars.com that now has a new "type" variable (ex: Vanilla, Modded, Servers, Bedrock, Proxies)
Is the version specified in the repo even deployed yet? The release of these versions is still open. |
do we have an ETA for fixing this. all our vmss builds are failing due to packer build dependencies: |
@vn09917 can you please try to perform an apt install with a bit lower version of the package and send us the output? I can't prove my guess rn cause my issue is related to an ansible role that uses the hardcoded latest version of the apt package. |
I believe this is fixed now. The issue was caused by us enabling the CDN on artificatory which doesn't seem to be working properly. For now, I've disabled the CDN and I'll raise a bug asking the jfrog team to look into why the CDN is giving us problems. |
@gdams Thank you so much! |
It seems that the issue still exists.
|
This is still happening. Is there a fix? |
@rylectro we rolled out a fix (#632 (comment)) and @nathan818fr confirmed it was working for him! Can you provide a log showing the issue? |
I'm having this issue also. The error when I run locally:
The error on my build agent:
|
@Stiverton I've just tried it in an Ubuntu 20.04 docker container and it looks ok for me with both |
I'm getting the same problem for Ubuntu 22.04 - while building packer image in AWS. Locally I can download the package manually without the issue. While executing ping in AWS packages.adoptium.net resolves for me to 199.232.27.42 and locally to s.sni.global.fastly.net (151.101.3.42) what probably makes the difference. |
Please note that we made a change yesterday to wrap Fastly around the JFrog instance. You might be experiencing DNS cache issues here. Can you try clearing cache? |
Is there a rate limit that could be causing 403s? |
@Stiverton No 403 errors in your logs. |
|
Same here, did work before without any problems.
|
@kalpaitch can you provide the full set of install commands that you're running? |
I have this problem a well. I'm trying to build a Docker container with Ubuntu 20 and Temurin 11:
However, when I try the version before that, it works:
For now, this works for me, but at some point I would like to be able to just use the first call and get the latest version of Temurin... |
@BillyLiou did the above command fix your issue? |
Weird... I had decided to use one of your docker images instead, but I wanted to test mentioned workaround -- I can't reproduce the error anymore: installing either curl or wget to get the repository key, also installs/updates ca-certs after which everything works as expected... Not sure what I did differently before... |
Hi @gdams, Thanks. |
I still see the issue after updating my ca-certs on Ubuntu 22.04 with error 400:
|
Seeing the same thing. Following the URL (https://packages.adoptium.net/artifactory/deb/pool/main/t/temurin-17/temurin-17-jdk_17.0.9.0+9_amd64.deb) fails with a 501. |
I tried below option. Firstly I download the deb package and installed manually. Its working fine for me.
Try this. |
Happening today:
This had been working for my build automation until now. |
Same thing on my side. It's been on and off for a while... Is there anyway to switch to something more stable ? |
Experiencing the same issue. We install the JDK as part of an init script for Jenkins Azure VM agents (Ubuntu 20.4). Seems to be happening sporadically. Sometimes the agents will be spun up without issue and other times we'll get the 403 error.
We're using the installation instructions from https://adoptium.net/en-GB/installation/linux/ for Ubuntu.
|
Getting the same issue when building AWS AMI using Packer.
|
+1 when building https://github.com/actions/runner-images/blob/main/images/ubuntu/templates/ubuntu-20.04.pkr.hcl. Seems to be intermittent. It only fails for version17: The installations of version 11 (and 8) work fine. Any way to improve availability of this repository? |
Not sure if this will help with the debugging but we've setup a job to download and install temurin-11-jdk. This job ran every hour for the past 2 days. You can see from the logs below that it's always the same 403 error. I was curious if there were certain times this was happening but there doesn't seem to be any consistency between the time the error occurred. The timezone is GMT. 2024-02-02T07:59:19.476+0000 403 Forbidden [IP: 146.75.75.42 443] |
This seems to be happening for me only for JDK 21, on Ubuntu 22.04. Selecting the previous version of the package ( |
i get the same error with my isp connection but when using VPN it goes away i think it is a area restriction on repo side. |
I can confirm this issue as well.
I'm coming from a Central European IP (mobile network and office did not work). Switching to a Californian IP it works. |
Not working for me as well:
|
Failed when trying to make an arm docker image (base image is ubuntu 20.04), the client is spawn with
|
Same issue for me on Debian |
Getting 403 when using apt for installing temurin packages from ASN: AS24940. Workaround: |
We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable. |
Issue still persists, just experienced it today on a new system - JDK 17 installed just fine, JDK 21 failed on the same system.
It also fails when using wget from the same machine, the connection gets closed mid-transfer.
It seems like some problem with fastly (possibly some WAF? or anti DDoS feature) |
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/
Expected Results
Obviously expecting the install to work :)
Actual Results
Result:
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?
Did you test with other Java versions?
Relevant log output
No response
The text was updated successfully, but these errors were encountered: