Error 403 GET https://api.sonarcloud.io/analysis/jres?os=windows&arch=amd64

Hi, When I run my first project SonarQube 10.7 Jdk 17 and SonarScanner 6.2

07:55:18.686 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT] having [27] entries 07:55:18.718 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT-LOCALMACHINE] having [27] entries 07:55:18.735 DEBUG Successfully loaded KeyStore of the type [Windows-ROOT-CURRENTUSER] having [27] entries 07:55:18.735 DEBUG Successfully loaded KeyStore of the type [Windows-MY] having [0] entries 07:55:18.735 DEBUG Successfully loaded KeyStore of the type [Windows-MY-CURRENTUSER] having [0] entries 07:55:18.735 DEBUG Successfully loaded KeyStore of the type [Windows-MY-LOCALMACHINE] having [0] entries 07:55:18.799 DEBUG Loaded [81] system trusted certificates 07:55:19.069 INFO JRE provisioning: os[windows], arch[amd64] 07:55:19.100 DEBUG --> GET https://api.sonarcloud.io/analysis/jres?os=windows&arch=amd64 07:55:20.913 DEBUG <-- 403 https://api.sonarcloud.io/analysis/jres?os=windows&arch=amd64 (1803ms, 82-byte body) 07:55:20.919 INFO EXECUTION FAILURE 07:55:20.925 INFO Total time: 2.645s 07:55:20.925 ERROR Error during SonarScanner CLI execution java.lang.IllegalStateException: Error status returned by url [https://api.sonarcloud.io/analysis/jres?os=windows&arch=amd64]: 403 at org.sonarsource.scanner.lib.internal.http.ScannerHttpClient.callUrl(ScannerHttpClient.java:163) at org.sonarsource.scanner.lib.internal.http.ScannerHttpClient.callApi(ScannerHttpClient.java:126) at org.sonarsource.scanner.lib.internal.http.ScannerHttpClient.callRestApi(ScannerHttpClient.java:104) at org.sonarsource.scanner.lib.internal.JavaRunnerFactory.getJreMetadata(JavaRunnerFactory.java:159) at org.sonarsource.scanner.lib.internal.JavaRunnerFactory.getJreFromServer(JavaRunnerFactory.java:138) at org.sonarsource.scanner.lib.internal.JavaRunnerFactory.createRunner(JavaRunnerFactory.java:85) at org.sonarsource.scanner.lib.internal.ScannerEngineLauncherFactory.createLauncher(ScannerEngineLauncherFactory.java:53) at org.sonarsource.scanner.lib.ScannerEngineBootstrapper.bootstrap(ScannerEngineBootstrapper.java:123) at org.sonarsource.scanner.cli.Main.analyze(Main.java:75) at org.sonarsource.scanner.cli.Main.main(Main.java:63)

It seems you aren’t pointing to a specific SonarQube server (using sonar.host.url), so it defaults to SonarQube Cloud.