Caused by: java.lang.IllegalStateException: Fail to download plugin [csharp] into /Users/Z002KR5/.sonar/_tmp/fileCache7404003248879875221.tmp
at org.sonar.scanner.bootstrap.PluginFiles.downloadBinaryTo(PluginFiles.java:158)
at org.sonar.scanner.bootstrap.PluginFiles.download(PluginFiles.java:114)
i am trying SonarQube with gradle and Language is Kotlin. property “sonar.host.url”,
property " sonar.login",
property “sonar.password” ,
property “sonar.language”,
The error you are encountering seems like a network issue. Can you share some more context about this error:
Does it happen for an individual or many projects?
Does it happen on some specific SonarQube environment or all of them?
Does it happen on some particular build/scanning agent?
Can you try running an example scan from your workstation connecting to the same SonarQube server?
Basically, are you able to reproduce problem elsewhere? If so, then this pattern may need to fixed with your network team or network connection.
In order to assist you further, I will need debug logs. Can you add -d to your gradle command to get debug level logs? For example, ./gradlew clean build -d sonarqube
To keep the Gradle logs small, just copy and paste the lines that say org.sonarqube.gradle.SonarQubeTask here.