Osiris-Team / AutoPlug-Client

Server manager with automatic plugin- mod- server- java- self- updater, scheduled restarts, automatic backups, shared folders, and many more handy features to automate/boost your server maintenance.
https://autoplug.one/
MIT License
56 stars 23 forks source link

JavaUpdater Bad Request on java version 21 #223

Closed SirDank closed 11 months ago

SirDank commented 11 months ago
Show log ```log [02-11-2023 22:36:30][AP][WARN] Failed to start server: Java-Updater is enabled, but Java-Installation was not found! Enter '.check java' to install Java. Details: Java-Updater is enabled, but Java-Installation was not found! Enter '.check java' to install Java. .check java [22:38:34][AP][TASK] [1] > [JavaUpdater][100%] ing for updates... url: https://api.adoptium.net/v3/assets/version/%5B21.0.1%2B12.1.LTS%2C%29?architecture=x64&heap_size=normal&image_type=jdk&jvm_impl=hotspot<s=true&os=windows&page=0&page_size=20&project=jdk&release_type=ga&sort_method=DEFAULT&sort_order=DESC&vendor=eclipse message: Bad Request json: null[02-11-2023 22:38:35][AP][INFO] JavaUpdater: [02-11-2023 22:38:35][AP][WARN] url: https://api.adoptium.net/v3/assets/version/%5B21.0.1%2B12.1.LTS%2C%29?architecture=x64&heap_size=normal&image_type=jdk&jvm_impl=hotspot<s=true&os=windows&page=0&page_size=20&project=jdk&release_type=ga&sort_method=DEFAULT&sort_order=DESC&vendor=eclipse message: Bad Request json: null ```

Actual Bad Request

Steps updater.yml

updater: 
  java-updater: 
    enable: true
    profile: AUTOMATIC
    version: 21
Osiris-Team commented 11 months ago

@SirDank fixed in 7.3.12 thanks for @lkkuma 7.3.12