Getting error while sonarqube implementation

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

Error Details

  • ##[error][SQ] API GET ‘/api/server/version’ failed, error was: {“code”:“ECONNREFUSED”,“errno”:“ECONNREFUSED”,“syscall”:“connect”,“address”:“127.0.0.1”,“port”:9000}

Hi,

Welcome to the community!

Where / in what circumstances did you see this error? What do you make of it? What have you tried?

 
HTH,
Ann

Hi Ann

We are getting below error

##[error][SQ] API GET ‘/api/server/version’ failed, error was: {“code”:“ETIMEDOUT”,“errno”:“ETIMEDOUT”,“syscall”:“connect”,“address”:“10.7.0.7”,“port”:9000}

We have integrated the Sonarqube integration with azure devops, Configured service connection between sonarqube and Azure Devops.

We have configured VM private IP with default port number.

We have added Inbound port rule for Port number 9000 to access outside VM using browser

Hi,

There is likely something on your network, e.g. a proxy, that’s blocking the connection between the build agent and SonarQube. You should talk to your network folks.

 
Ann

Hi Ann

We are trying to implement the first time sonarqube

If possible any guidence or any document will be helpful to proceed further