NPM sonarqube扫描仪故障,401未经授权

NPM sonarqube扫描仪故障,401未经授权,npm,sonarqube,sonarqube-scan,Npm,Sonarqube,Sonarqube Scan,我们使用npm软件包sonarqube scanner版本2.1.1来分析angular/typescript项目。但是从昨天开始,sonarqube分析在从网站下载声纳扫描仪时失败了,401 我检查了url,确实需要验证。有人知道为什么或者有解决办法吗 09-Oct-2018 13:24:08 [11:24:08] Starting SonarQube analysis... 09-Oct-2018 13:24:08 [11:24:08] Checking if executabl

我们使用npm软件包sonarqube scanner版本2.1.1来分析angular/typescript项目。但是从昨天开始,sonarqube分析在从网站下载声纳扫描仪时失败了,401

我检查了url,确实需要验证。有人知道为什么或者有解决办法吗

09-Oct-2018 13:24:08    [11:24:08] Starting SonarQube analysis...
09-Oct-2018 13:24:08    [11:24:08] Checking if executable exists: /root/.sonar/native-sonar-scanner/sonar-scanner-3.2.0.1227-linux/bin/sonar-scanner
09-Oct-2018 13:24:08    [11:24:08] Could not find executable in "/root/.sonar/native-sonar-scanner".
09-Oct-2018 13:24:08    [11:24:08] Proceed with download of the platform binaries for SonarQube Scanner...
09-Oct-2018 13:24:08    [11:24:08] Creating /root/.sonar/native-sonar-scanner
09-Oct-2018 13:24:08    [11:24:08] Downloading from https://sonarsource.bintray.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.2.0.1227-linux.zip
09-Oct-2018 13:24:08    [11:24:08] (executable will be saved in cache folder: /root/.sonar/native-sonar-scanner)
09-Oct-2018 13:24:09    [11:24:09] ERROR: impossible to download and extract binary: Response code 401 (Unauthorized)
09-Oct-2018 13:24:09    [11:24:09]        SonarQube Scanner binaries probably don't exist for your OS (linux).
09-Oct-2018 13:24:09    [11:24:09]        In such situation, the best solution is to install the standard SonarQube Scanner (requires a JVM).
09-Oct-2018 13:24:09    [11:24:09]        Check it out at https://redirect.sonarsource.com/doc/install-configure-scanner.html
09-Oct-2018 13:24:09    

看起来他们更改了二进制下载的url。如果您使用的是npm软件包,您需要安装2.1.2,我今天就点击了。经过调查,看起来sonar将他们的二进制文件从“sonaresource.bintray.com”移到了“binaries.sonaresource.com”。url结构的其余部分看起来相同

以下是sonar页面,链接到下载: