Comments (9)
I can confirm. This started failing today. Akamai is returning a 403 when retrieving the GPG key using curl or wget.
from cli.
It looks like the 403 error is because of the curl user agent. Doing the same request without the user agent (option -A ""
) works okay for me.
curl -A "" -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v7&source=github"
Further to the above:
curl -A "cur"
workscurl -A "curl"
fails with 403
So it really looks like it's the curl user agent that's rejected.
from cli.
This access denied is also returned when trying to download compressed binaries with:
curl -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v7&source=github"
from cli.
Getting the same access denied
`
<TITLE>Access Denied</TITLE>Access Denied
You don't have permission to access "http://packages.cloudfoundry.org/stable?" on this server.
Reference #18.26701102.1679991638.9dbfd60
This was working well until yesterday late afternoon UTC+1
from cli.
It is also possible to use a custom user agent like for a standard Chrome browser to be able to retrieve the pgp key.
curl -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36" https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key
from cli.
Thanks for all the validation here! I was creating a build process using the CF cli for the first time yesterday. It worked in my first workflow but failed in my second and I couldn't understand what I had done wrong. Bad luck/timing it seems! 😆
from cli.
Thanks for all the validation here! I was creating a build process using the CF cli for the first time yesterday. It worked in my first workflow but failed in my second and I couldn't understand what I had done wrong. Bad luck/timing it seems! 😆
Haha, yes. Using it also in a couple of pipelines for my customers and they all mentioned the issue.
I've provided a fix on a alternative location from a manually download of the cli files.
This will be used if the endpoint would return a statuscode != 200
from cli.
We're looking into this issue. CC @ccjaimes
from cli.
This issue should be resolved by now. The primary reason is a new CDN security rule to fight bots. We will take additional steps to improve monitoring to respond faster to such incidents.
from cli.
Related Issues (20)
- high cpu usage behaviour HOT 1
- cf service --params doesn't comply with openservicebrokerapi Fetch Service Instance
- V3 view field Suspended for orgs
- GSA new HOT 1
- ietf.org/rfc/rfc1893.txt
- GPG key expired / regression on Linux repository (EXPKEYSIG) HOT 19
- yaseenaljamal.gov
- keys.openpgp.org
- "cf router-groups" fails with "unsupported protocol scheme" error HOT 2
- Trailing Slash in api url leads to failure in cf curl
- unbind-security-group is not working as intended HOT 2
- Cannot install CF CLI error: gpg: no valid OpenPGP data found HOT 2
- Don't fetch unneeded pages HOT 4
- CF CLI binaries unavailable HOT 22
- Cli fails to list repo plugins HOT 6
- cf share-service fails with exit code 1 if it is already shared HOT 2
- cf tasks should print the reason for FAILED tasks HOT 1
- Unmapping route: Something unexpected happened. HOT 3
- Typo in the V8 CLI Installation Guide wiki HOT 1
- Display service offerings metadata
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.