You need to connect to SonarQube via Cloud Connector if you want to use BAS, which means that you need to configure your Cloud Connector in order to reach out to OnPrem system.
If that’s the case, please try to check the Cloud Connector logs with Debug level. And share it so that we can see more details.
Yes, the cloud connector have the right configuration. I can reach the server with an CURL and this use the Cloud Connector.
So when i launch the sonarqube scanner, this don’t use the Cloud Connector … i use internet directly … i need to setup somethings to use cloud connector ?
So basically you have your project on BAS, and you want to run SonarQube analysis directly on BAS via terminal command line. Currently you are able to run analysis by setting up sonar.host.url=https://sonarqube.dest. But it doesn’t work with virtual URL which is sonarqube.mycie.com here. The scan failed.
You know when you set up the destination in Cloud Connector, you can set up the virtual host there. Did you check your configuration of Cloud Connector?
You may probably know that everything passing from BAS to onPrem system needs to go through Cloud Connector. This is the unique channel to communicate to public world in the context of BTP.
If the configuration is fine, while I would like to ask you check the logs in Cloud Connector. You may need to change logs level to Debug and run analysis with virtual url.
One last questions: is there any restriction to use virtual url rather than sonarqube.dest?