question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't install v1.40: does not match expected SHA-256

See original GitHub issue
  • Jenkins version: Jenkins ver. 2.222.3 in Docker (image: jenkins/jenkins:lts)
  • Plugin version: 1.40
  • OS: Linux

Description

I am getting the error does not match expected SHA-256, expected while installing the plugin:

java.io.IOException: Downloaded file /var/jenkins_home/plugins/configuration-as-code.jpi.tmp does not match expected SHA-256, expected 'GY0T+9OSMa1UDYYInN59BsYHQpAil1PPhuEFPMYnE+E=', actual 'qYQpkSE9v4JY1oGsaOXdmVVb+h8UIRQAyqFhL1A/I9Q='
	at hudson.model.UpdateCenter.throwVerificationFailure(UpdateCenter.java:1982)
	at hudson.model.UpdateCenter.verifyChecksums(UpdateCenter.java:2017)
	at hudson.model.UpdateCenter$InstallationJob.replace(UpdateCenter.java:2196)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.install(UpdateCenter.java:1306)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1835)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2110)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1806)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:111)
	at java.lang.Thread.run(Thread.java:748)

I can confirm that the Docker container can reach internet:

% docker exec -it gitlab_jenkins_1 curl --head https://www.jenkins.io/
HTTP/2 200 
server: openresty/1.15.8.2
[...]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jetersencommented, May 10, 2020

Not really a issue for us, please report to the infra project at https://issues.jenkins-ci.org/ cc @olblak @daniel-beck

0reactions
daniel-beckcommented, Nov 14, 2020

Commenting on similar looking issues relating to infra problems from half a year ago is not helpful, please file a new issue instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image can't be pulled due to digest mismatch, expected ...
Image can't be pulled due to digest mismatch, expected sha256 not found · Environment · Issue · Resolution · Root Cause · Diagnostic...
Read more >
Error writing blog Digest did not match, expected sha256 ... - IBM
When we run the cpd-linux install or apply patch command,./cpd-linux patch --repo ../repo.yaml --assembly wkc --version 3.2.72 --patch-name ...
Read more >
HTTP status and error codes for JSON | Cloud Storage
Missing a SHA256 hash of the encryption key, or it is not Base64 encoded, or it does not match the encryption key. invalidAltValue,...
Read more >
Troubleshooting Applications | Kubernetes
If a Pod is stuck in Pending it means that it can not be scheduled onto a node. ... Verify that the list...
Read more >
docker images - Docker Documentation
This means that, for example, docker images jav does not match the image java . If both REPOSITORY and TAG are provided, only...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found