Skip to content

401 when downloading the sonar-scanner-cli #15

@developher-net

Description

@developher-net

The path provided in this project to SonarQube's binary downloads is returning in a 401 as of October 7, 2018:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions