Sonar-scanner hangs while downloading bootstrap index

I’m using SonarScanner 4.7.0.2747. I’m scanning a small directory that contains a single Python file.

Running:

sonar-scanner --debug -Dsonar.projectKey=project_key -Dsonar.sources=. -Dsonar.host.url=http://localhost:9000 -Dsonar.login=sqp_7edb3e11dc720f094704bbcc6c4f5039d69XXXX

just hangs at:
Download: http://localhost:9000/batch/index

which is odd because doing

wget http://localhost:9000/batch/index

works.

Hey there.

A few questions that might point you in the right direction:

  • Does the logs/access.log of your SonarQube instance show that the request was received by your SonarQube server at all?
  • What does memory utilization on your machine look like while the scanner is executing (while it’s hanging)