Sonar Scanner CLI Error on Manager's PC: Authentication or Proxy Settings?

We are using the Sonar Scanner CLI. Are there any authentication settings that need to be configured?

The network environment and PC settings (including proxy settings) are identical between me and the project manager.
On my PC, the analysis runs without any issues.
However, on the manager’s PC, the following error occurs:

11:08:46.407 INFO  Communicating with SonarQube Cloud
11:09:06.490 ERROR Failed to query JRE metadata: Call to URL [https://api.sonarcloud.io/analysis/jres?os=windows&arch=amd64] failed: Connect timed out

Hi,

This is really, really bad practice.

(Build and) Analysis should be run from a centralized CI. Not from individuals’ desktops.

But if you feel you really must go this way, you should talk to your network folks about the project manager’s problem.

 
Ann

1 Like