Comments (14)
Might be a region thing or a VPN thing?
from api.adoptium.net.
Maybe a region thing - that's what I was asking with inconsistent shards. I don't think this customer uses VPNs (and if they did, why would it matter?)
from api.adoptium.net.
Maybe a region thing - that's what I was asking with inconsistent shards. I don't think this customer uses VPNs (and if they did, why would it matter?)
VPN might mean they're appearing to come from a different region (e.g., one that we're having challenges with on a given day)
from api.adoptium.net.
Is there a way to download the dataset in bulk and serve it myself as a fallback?
from api.adoptium.net.
Is there a way to download the dataset in bulk and serve it myself as a fallback?
https://api.adoptium.net/q/swagger-ui/#/ has all of the API options, you might be able to script a wrapper around some of that?
from api.adoptium.net.
@mikehearn I see in your log:
wget https://api.adoptopenjdk.net/v3/binary/latest/22/ga/windows/x64/jdk/hotspot/normal/adoptopenjdk
While we do have redirects in place, the old AdoptOpenJDK API is deprecated and you should preferably be going directly to api.adoptium.net
, i.e.
https://api.adoptium.net/v3/binary/latest/22/ga/windows/x64/jdk/hotspot/normal/eclipse
In reality, I suspect that redirect is not causing the problem your user is experiencing. I also cannot reproduce the problem and agree that there is possibly an intermediary causing the 404.
from api.adoptium.net.
Is the only difference the domain name? If so then it should be easy enough to update.
from api.adoptium.net.
Is the only difference the domain name? If so then it should be easy enough to update.
There are some subtle differences, but I'd start with that and see what falls out.
from api.adoptium.net.
Could someone with sufficient access please do a consistency check on the replicas? @ennerf is still seeing problems but only when accessing the service from Austria. Accessed from the USA it works. So there's definitely some buggy replication going on here, and it's not fixing itself.
from api.adoptium.net.
This should be resolved as we have merged a fix in #1053 but in general the adoptium api was working in all regions at:
https://api.adoptium.net/v3/binary/latest/22/ga/windows/x64/jdk/hotspot/normal/eclipse
and it was purely an api.adoptopenjdk.net issue. api.adoptopenjdk.net is deprecated, so even going forward you should migrate.
from api.adoptium.net.
Closing now that #1053 has landed.
from api.adoptium.net.
Thanks.
from api.adoptium.net.
If I understand correctly, there is no documentation or any other guidance on how to migrate from one domain name to the other? I just tried to do it and I'm getting a 404 for:
https://api.adoptium.net/v3/binary/latest/17/ga/mac/x64/jdk/hotspot/normal/adoptopenjdk
It's unclear why, as the URL appears to have the same form as the example given above. api.adoptopenjdk.net works just fine. The README states only that the old API is deprecated due to a rebrand, so the fact that it appears to have a different backend and gives different answers is a surprise.
This is a great service that's very useful to the JVM community, but I have to say, if you want people to do new work for some obscure reason (what was wrong with the old name anyway), it would really help to have some tutorial on how to migrate. Neither the API website nor the README give any hint of differences but there must be some!
from api.adoptium.net.
https://api.adoptium.net will take you to the swagger UI definition, that should give you what the new target URL should be, in your case it should be https://api.adoptium.net/v3/binary/latest/17/ga/mac/x64/jdk/hotspot/normal/eclipse (adoptopenjdk was renamed for legal reasons) - point taken on migration in the future.
from api.adoptium.net.
Related Issues (20)
- Inconsistency between legacy (api.adoptopenjdk.net) and new (api.adoptium.net) APIs HOT 5
- Implement http cache validation control in the API
- Wrong API URL https://api.adoptium.net/v3/info/available/releases HOT 1
- Temurin 24 binary builds not accessible through API HOT 3
- Add the ability to update configuration which triggers API reboot for latest JDK versions HOT 2
- mvnw clean install site -Padoptium fails in site reporting for api-v3-updater due to Quarkus code generation failure HOT 1
- v2 API is not working HOT 2
- v3/info/available_releases seems out of date HOT 3
- Temurin 22 binary builds not accessible through API HOT 6
- Going to api.adoptium.net with a browser returns 403/Forbidden HOT 1
- Improve the latest version updating to be dynamic HOT 1
- JDK 21 EA API request doesn't return latest build HOT 14
- api.adoptium.net broke with two list for 21.0.1+12 HOT 3
- Temurin 23 binary builds not accessible through API HOT 10
- Make SHA and GPG signatures easier to download HOT 2
- Mitigation for `invalidHostNameAllowed(true)` in MongoClient.kt HOT 3
- Documentation: Add Downloading Using The API via Powershell
- Not all versions returned in `available_releases` have a corresponding binary HOT 5
- 404 Not Found for /v3/assets/version/21.0.2+13 HOT 7
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 api.adoptium.net.