Gradle fetching library from oss.sontatype.org throws 403 although library is public #25201
-
We have a java application that depends on two snapshot libraries from oss.sonatype.org Manually fetching that library on my system or accessing it in the browser works Are the runners from github actions blacklisted?
|
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
I’m seeing the exact same issue as of a few days ago. I can copy-paste the URL into my web browser and access maven-metadata.xml, but apparently the GitHub Actions runner can’t. |
Beta Was this translation helpful? Give feedback.
-
You should probably add that this only affects macOS runners, as far as I can see?! |
Beta Was this translation helpful? Give feedback.
-
I think its due to caching, we had not enabled gradle caching on Mac because the limit was exceeded. |
Beta Was this translation helpful? Give feedback.
-
Hi @siedlerchr, I confirm the two snapshot libraries can be accessed from my side, could you please try again? If it persists, could you please share more details about the yaml file/action? Thanks. |
Beta Was this translation helpful? Give feedback.
-
I’m still getting the rror: https://github.com/JabRef/jabref/runs/510500180 Here is the relevant yaml part: Gradle contains: implementation ‘de.undercouch:citeproc-java:2.1.0-SNAPSHOT’ |
Beta Was this translation helpful? Give feedback.
-
I’m also seeing the same issue since 3/12/2019, everything was working fine before that. |
Beta Was this translation helpful? Give feedback.
-
Hi @siedlerchr , Thanks for your reply! Confirmed with Maven center, the macOS hosted runner ip is blocked, and they has re-enabled this ip. some info for you: “We need to ask the customer to enable Gradle caching on their workflow, or we will hit this issue again. This also blocks all other users on the same mac pool when the public IP is blocked.” I forked your repo, and re-run the workflow, it’s passed on all platform including macOS now! Please check your workflow for confirmation, thanks. |
Beta Was this translation helpful? Give feedback.
-
Thanks, it works now! >“We need to ask the customer to enable Gradle caching on their workflow, or we will hit this issue again. This also blocks all other users on the same mac pool when the public IP is blocked.” We have caching now enabled on mac os as well. We had it disabled, because previously the cache was over the initial 2GB limit. Now as the cache limit got increased to 5.0 it’s working again |
Beta Was this translation helpful? Give feedback.
Hi @siedlerchr ,
Thanks for your reply! Confirmed with Maven center, the macOS hosted runner ip is blocked, and they has re-enabled this ip.
some info for you:
“We need to ask the customer to enable Gradle caching on their workflow, or we will hit this issue again. This also blocks all other users on the same mac pool when the public IP is blocked.”
I forked your repo, and re-run the workflow, it’s passed on all platform including macOS now! Please check your workflow for confirmation, thanks.