zoukankan      html  css  js  c++  java
  • git clone 出现"error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received."

    1. 最近用git pull几个大项目,总是出现如下错误:

    error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
    fatal: The remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed
    

    2. 按照网上的方法,还是存在问题。

    // 配置代理
    git config --global http.proxy socks5://127.0.0.1:1081
    git config --global https.proxy socks5://127.0.0.1:1081
    // 增大缓存
    git config --global http.postBuffer 1048576000
    

    3. 最终增加如下操作,解决问题。

    // 把这个值改大点,完美解决,默认的是1500.
    ifconfig eth0 mtu 14000
    
  • 相关阅读:
    转码解码问题
    时间问题
    弹框
    获取地址栏参数
    vue返回上一页面如果没有上一页面返回首页
    html知识点
    传统的事件类型
    vue的指令
    事件取消
    事件处理程序
  • 原文地址:https://www.cnblogs.com/janbar/p/13974171.html
Copyright © 2011-2022 走看看