jenkins gnutls_handshake() failed: Handshake failed

Viewed 2608

I'm trying to install jenkins on Ubuntu14.04 following this site.

After executing the last step, the terminal shows this error:

Err https://pkg.jenkins.io/debian-stable/ binary/ jenkins 2.235.5
  gnutls_handshake() failed: Handshake failed
E: Failed to fetch https://pkg.jenkins.io/debian-stable/binary/jenkins_2.235.5_all.deb  gnutls_handshake() failed: Handshake failed

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I tried to run sudo apt-get update --fix-missing (no errow shown after running this cmd) but it doesn't help.

I also tried to install by downloading jenkins.war but the jenkins service isn't enabled after installing.

Please show me how to fix this issue.

1 Answers

The issue seems to be upstream (I have hit the same snag this morning trying to update one of my jenkins installls).

You could use wget and dpkg to fetch and install the deb package:

wget https://pkg.jenkins.io/debian-stable/binary/jenkins_2.235.5_all.deb && sudo dpkg -i jenkins_2.235.5_all.deb

Which will get you Jenkins installed.

Related