2015-09-17 69 views
1

我正在嘗試亞馬遜codecommit爲我的項目之一。在所有的亞馬遜提到這個文件的步驟 - http://docs.aws.amazon.com/codecommit/latest/userguide/codecommit-user.pdfaws codecommit - gnutls_handshake()失敗:解密錯誤

當我試圖克隆存儲庫。我收到以下錯誤。 雖然我有相關的gnutl_handshake()錯誤的答案,但沒有發現解密錯誤。有誰知道爲什麼發生這種情況?我該如何解決這個問題。

git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/mycode code 
Cloning into 'code'... 
fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/mycode/': gnutls_handshake() failed: Decrypt error 
+0

http://askubuntu.com/questions/186847/error-gnutls-handshake-failed-when-connecting-to-https-servers? – jarmod

+0

謝謝@jarmod。這工作。 – SanS

+0

太棒了!我會將其添加爲答案,以便您可以接受它,未來的人員將能夠更快地找到答案。 – jarmod

回答

3

這裏的問題似乎是與GNUTLS包,特別是如果連接到HTTPS服務器後面代理工作時。有關使用openssl替換gnutls的選項,請參閱this article