On Saturday, we observed unusual error on azure builds regarding the Sonarcloud resources unavailable.
-
versions used (SonarQube, Scanner, Plugin, and any relevant extension)
Sonarcloud -
error observed (wrap logs/code around triple quote ``` for proper formatting)
SonarScanner for MSBuild 4.7.1
Using the .NET Core version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories...
21:35:50.217 Updating build integration targets...
21:35:50.421 Fetching analysis configuration settings...
##[error]21:36:05.841 Failed to request and parse 'https://sonarcloud.io/api/server/version': Resource temporarily unavailable Resource temporarily unavailable
21:36:05.841 Failed to request and parse 'https://sonarcloud.io/api/server/version': Resource temporarily unavailable Resource temporarily unavailable
##[error]Unhandled Exception:
##[error]System.Net.WebException: Resource temporarily unavailable Resource temporarily unavailable ---> System.Net.Http.HttpRequestException: Resource temporarily unavailable ---> System.Net.Sockets.SocketException: Resource temporarily unavailable
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
-
steps to reproduce
Observed the error on 11/16/2019, 3:05:29 AM -
potential workaround
Looks like the sonarcloud URL was not accessible.
P.S.: use the #bug:fault sub-category if you’re hitting a specific crash/error , or the #bug:fp sub-category for rules-related behaviour