Skip to main content

gnutls_handshake() failed: Access was denied



Error when running apt-get:

sudo apt-get update && sudo apt-get install yarn

gnutls_handshake() failed: Access was denied

The problem:

There is proxy configuration error of apt-get

The fix:

Define proxy for apt-get

1. sudo vim /etc/apt/apt.conf
2. Add line:
 Acquire::http::proxy "http://web-proxy.il.hpecorp.net:8080";

Comments

Popular posts from this blog

SSL in pictures

Here is my summary on SSL (or as I like to call it 'SSL for dummies')

Digital signature in pictures

I never remember what happens when digital signature is used. So here is my summary 'Digital signature for dummies'.

Jenkins error: groovy.lang.MissingPropertyException

I tried to run groovy build step and got below error. This post will describe how I solved the problem. Caught: groovy.lang.MissingPropertyException: No such property: hudson for class: script