LoginSignup
1
0

git pushを試みた際にエラーが出てしまう件の備忘録(GnuTLS recv error (-54): Error in the pull function)

Last updated at Posted at 2023-12-12

昔々あるところに、いつも通り何気なくgithubで遊んでいたこ時期がありました。
git push時に以下のようなエラーが出てpushが失敗します。
(昨日までは元気に動いていたのに、、どうして、、)

$ git push
GnuTLS recv error (-54): Error in the pull function

検索結果、以下をすると解決した記録があった
(networkエラー、ライブラリ破損、バッファ溢れ、、)

https://root-forum.cern.ch/t/unable-to-access-https-github-com-vgvassilev-clad-git-gnutls-recv-error-54-error-in-the-pull-function/48574
The error you posted is an internet connection error. The installation procedure tries to download some dependencies and fails.

https://programmerah.com/solved-git-error-gnutls-recv-error-54-error-in-the-pull-function-35345/

sudo apt-get -y install build-essential nghttp2 libnghttp2-dev libssl-dev

https://tagsqa.com/detail/13617

git config --global http.postBuffer 524288000  
git config --global https.postBuffer 524288000

解決しない、、さらに調べてみた、、gnutls-binopensslを再インストールしたら解決したという記録もあった、、
(沼の予感、、)

https://stackoverflow.com/questions/38378914/how-to-fix-git-error-rpc-failed-curl-56-gnutls

apt install gnutls-bin

https://stackoverflow.com/questions/38378914/how-to-fix-git-error-rpc-failed-curl-56-gnutls

sudo apt install openssl

解決しない、、さらに調べてみた、、ダメもとで色々と試す、、

https://devopscube.com/gnutls-handshake-failed-aws-codecommit/

sudo apt-get install build-essential fakeroot dpkg-dev

ここまで試して、ふとgit pushしたら解決した(push成功した)
最後のトライというよりは、前提となるネットワークエラーが解決した可能性もある、。
この辺りはトライ&エラーノウハウがあると今後同じエラーに直面した人の役に立つかもしれないので備忘録として残してみます。

参考

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0