Hi,
The error still isn’t resolved.
@yamamoto May I know where did you host your SonarQube server?
I assume, you configured SONAR_HOST_URL
in GitHub as http://localhost:9000
based on the error you found in the GitHub action trace logs.
GitHub runners are located in public network. If you hosted the SonarQube server in a private network i.e. domain/link that can be accessed only with an official/work VPN connection, then most likely you can’t run this GitHub action.
I had this connectivity issue as I described in this post HTTP FAILED: java.net.SocketTimeoutException: Connect timed out.
If you want to run your GitHub action successfully then you need to configure the SONAR_HOST_URL
to point the SonarQube server URL that can be accessed in public network. In case, if your SonarQube server located in a private network, you need to discuss with your DevOps team to provide you details that you can add it into your GitHub action that would allow you to connect to SonarQube server seamlessly from GitHub runners from public network.
I hope this helps.