we are using SonarScanner 184.108.40.2061 in the Docker container with SonarQube server 8.4.1 and
we sometimes get following error upon plug-in downloading:
Caused by: java.net.ProtocolException: Expected leading [0-9a-fA-F] character but was 0x6a
It happens randomly on different plug-ins, most of the time a replay of the build pipeline fixes it, since plug-ins are cached in a volume one successful downloads lasts for many builds. If we disable the cache, however, there is almost always one random plug-in for which downloading fails.
We are running the scanner with the following command:
docker run --rm --user=113:119 -e SONAR_HOST_URL=https://sonar.domain.at -e SONAR_ACCESS_TOKEN=****** -v /var/lib/jenkins/workspace/L_Bitbucket_xy-api_develop@tmp/durable-c89ec5e4:/usr/src -v cachevolume:/opt/sonar-scanner/.sonar/cache sonarsource/sonar-scanner-cli -Dsonar.projectKey=xy-api-develop -Dsonar.scm.disabled=true
Unfortunately I couldn’t find any clues on the internet. Is it a bug or do we have an error in our server configuration? Thank you for your support!