Getting Sonar cloud time our issue with Sonar Prepare/ Publish tasks in Azure devops.
Error logs -
##[error][SQ] API GET ‘/api/metrics/search’ failed, error was: {“errno”:“ETIMEDOUT”,“code”:“ETIMEDOUT”,“syscall”:“connect”,“address”:“3.162.103.15”,“port”:443}
[error][SQ] API GET ‘/api/server/version’ failed, error was: {“errno”:“ETIMEDOUT”,“code”:“ETIMEDOUT”,“syscall”:“connect”,“address”:“3.162.103.8”,“port”:443}
All Pipeline were running successfully previously and then we are getting time out issue for sonar tasks (Its intermittent issue)
My gut tells me that the IP Address of SonarCloud (which changes regularly) is being cached on your system and not being refreshed (perhaps having a long DNS TTL configured). Can you check that?
Hi Colin,
Still facing same issue but now showing different IP
{“errno”:“ETIMEDOUT”,“code”:“ETIMEDOUT”,“syscall”:“connect”,“address”:“3.162.103.96”,“port”:443}