Fail to download sonar-scanner-cli-${SONAR_SCANNER_VERSION}.zip

Hi There:

There seems to be an issue downloading sonar-scanner-cli.

  • versions used (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarSource/sonarcloud-github-action@v1.2

  • error observed (wrap logs/code around triple quote ``` for proper formatting)

Step 16/21 : RUN wget -U "sonarcloud-github-action" -q -O sonar-scanner-cli.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_SCANNER_VERSION}.zip     && unzip sonar-scanner-cli.zip     && rm sonar-scanner-cli.zip     && mv sonar-scanner-${SONAR_SCANNER_VERSION} ${SONAR_SCANNER_HOME}
 ---> Running in 69289d5dbb93
The command '/bin/sh -c wget -U "sonarcloud-github-action" -q -O sonar-scanner-cli.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_SCANNER_VERSION}.zip     && unzip sonar-scanner-cli.zip     && rm sonar-scanner-cli.zip     && mv sonar-scanner-${SONAR_SCANNER_VERSION} ${SONAR_SCANNER_HOME}' returned a non-zero code: 4

curl https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.3.0.1492.zip
curl: (7) Failed to connect to binaries.sonarsource.com port 443: Connection refused
  • steps to reproduce
    Trigger from CI

  • potential workaround
    kenhuang/sonarcloud-github-action@2644a69

Update:
Is from this line: sonarcloud-github-action/Dockerfile at 5f4162d349f54e4e45438dca0336fb3c36146ebb · SonarSource/sonarcloud-github-action · GitHub

Update 2:
Tested works with my own fork by using docker hub image kenhuang/sonarcloud-github-action@2644a69

Regards
Ken

2 Likes

I have started experiencing this this morning as well. :frowning:

same here.
i see its indeed not reachable

Hi @kenhuang, @IdanAdar, @clevi

Thanks for your feedback. We have resolved this incident. We are sorry for the inconvenience caused.
You can subscribe to incident and maintenance notices on our status page

2 Likes

@AlxO Its back to normal now, thanks for resolving this issue.

My jobs are still failing in the same step.

Step 16/21 : RUN wget -U "sonarcloud-github-action" -q -O sonar-scanner-cli.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_SCANNER_VERSION}.zip && unzip sonar-scanner-cli.zip && rm sonar-scanner-cli.zip && mv sonar-scanner-${SONAR_SCANNER_VERSION} ${SONAR_SCANNER_HOME}

[410](https://github.com/davidggevorgyan/js-aca/runs/724622804?check_suite_focus=true#step:2:410) ---> Running in 9ed0c339b644

[411](https://github.com/davidggevorgyan/js-aca/runs/724622804?check_suite_focus=true#step:2:411)The command '/bin/sh -c wget -U "sonarcloud-github-action" -q -O sonar-scanner-cli.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_SCANNER_VERSION}.zip && unzip sonar-scanner-cli.zip && rm sonar-scanner-cli.zip && mv sonar-scanner-${SONAR_SCANNER_VERSION} ${SONAR_SCANNER_HOME}' returned a non-zero code: 5

[412](https://github.com/davidggevorgyan/js-aca/runs/724622804?check_suite_focus=true#step:2:412)##[error]Docker build failed with exit code 5

Here is an example: https://github.com/davidggevorgyan/js-aca/runs/724622804?check_suite_focus=true

EDIT: more information is available in this ticket ##[error]Docker build failed with exit code 5

Thanks for responding, it looks like we’ve just got to wait for fixes :slight_smile:

I think is down again, created a PR hope we wont run into this issue again.

Hi there, same here.
#!/bin/bash -eo pipefail
if test ! -d /tmp/sonar-scanner; then
wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-{SONAR_VERSION}.zip unzip sonar-scanner-cli-{SONAR_VERSION}.zip
rm sonar-scanner-cli-{SONAR_VERSION}.zip mv sonar-scanner-{SONAR_VERSION} /tmp/sonar-scanner
fi

--2020-06-02 03:12:49--  https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.2.0.1873-linux.zip

Resolving binaries.sonarsource.com (binaries.sonarsource.com)... 91.134.125.245

Connecting to binaries.sonarsource.com (binaries.sonarsource.com)|91.134.125.245|:443... failed: Connection refused.


Exited with code exit status 4

CircleCI received exit code 4

Also facing same issue while downloading source code:

    --2020-06-02 04:52:27--  https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-8.3.1.34397.zip
    Resolving binaries.sonarsource.com (binaries.sonarsource.com)... 91.134.125.245
    Connecting to binaries.sonarsource.com (binaries.sonarsource.com)|91.134.125.245|:443... connected.
    Unable to establish SSL connection.

Any pointers please?

Hi Team, its down again with the same issue.

--2020-06-02 05:08:19--  https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.3.0.2102.zip
Resolving binaries.sonarsource.com (binaries.sonarsource.com)... 91.134.125.245
Connecting to binaries.sonarsource.com (binaries.sonarsource.com)|91.134.125.245|:443... failed: Connection refused.

I have the same problem, impacting the deployment in production, it is difficult to trust something that has been happening for 06 days.

PR merged, you can use the latest on master.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.