Scanner fails with 'Read timed out' (in org.sonar.scanner.issue.ModuleIssues)

sonarqube
network_error

(Washington Almeida) #1

Hi everybody, i have an issue that not allowed me to scanner a Project in sonar.
I attach the error.

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project sri-eyr-util:
Unable to load component class org.sonar.scanner.sensor.DefaultSensorStorage:
Unable to load component class org.sonar.scanner.issue.ModuleIssues:
Unable to load component interface org.sonar.api.batch.rule.Rules:
Fail to request http://10.12.5.243:9000/api/rules/list.protobuf: Read timed out -> [Help 1]

Can you help me, what can i do ?


(Nicolas Bontoux) #2

Hi there,

This looks similar to:

You have the same Read timed out error, would recommend first investigating an network connectivity issue.


(Daniel Armijos) #3

Hello Nico,

The networking team claims that there is not a connectivity issue since they do not find any issue. However, we insisted to them to monitor the server.


(Nicolas Bontoux) #4

At the same time you could also further investigate the analysis logs on your side. Enable debug logs with sonar.verbose=true and try to review/understand how HTTP calls (between scanner and server) are performing.