最新消息:20190717 VPS服务器:Vultr新加坡,WordPress主题:大前端D8,统一介绍入口:关于

【已解决】git上传出错:error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

Git crifan 1468浏览 0评论

Gitbook去更新,调用git push结果试了几次都还是失败:

        modified:   smart_speaker_disassemble_summary/website/tmall_genie_candy_cube/teardown_process/index.html

[master 9c672e1] 1. update book smart_speaker_disassemble_summary

30 files changed, 28 insertions(+), 28 deletions(-)

On branch master

Your branch is ahead of ‘origin/master’ by 2 commits.

  (use "git push" to publish your local commits)

nothing to commit, working tree clean

Counting objects: 237, done.

Delta compression using up to 4 threads.

Compressing objects: 100% (233/233), done.

error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

fatal: The remote end hung up unexpectedly

Writing objects: 100% (237/237), 101.08 MiB | 1.53 MiB/s, done.

Total 237 (delta 58), reused 0 (delta 0)

fatal: The remote end hung up unexpectedly

Everything up-to-date

make: *** [commit] Error 1

再去试了一次,问题依旧。

单独去终端中试试push:

问题依旧:

➜  crifan.github.io git:(master) git push

Counting objects: 237, done.

Delta compression using up to 4 threads.

Compressing objects: 100% (233/233), done.

error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

fatal: The remote end hung up unexpectedly

Writing objects: 100% (237/237), 101.08 MiB | 1.54 MiB/s, done.

Total 237 (delta 58), reused 0 (delta 0)

fatal: The remote end hung up unexpectedly

Everything up-to-date

此处本地git记得是用了ss代理了。

当前是us1节点,去换个jp的节点试试

果然可以了:

➜  crifan.github.io git:(master) git push

Counting objects: 237, done.

Delta compression using up to 4 threads.

Compressing objects: 100% (233/233), done.

Writing objects: 100% (237/237), 101.08 MiB | 2.04 MiB/s, done.

Total 237 (delta 58), reused 0 (delta 0)

remote: Resolving deltas: 100% (58/58), completed with 5 local objects.

To https://github.com/crifan/crifan.github.io.git

   1f9c4da..9c672e1  master -> master

看来就是ss代理的us的节点网速的问题。。。

【总结】

此处本地git用了代理,ss的us1的节点

其网速有问题。导致

git push

出错:

error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

后来换用了速度快的jp1节点,即可正常。

转载请注明:在路上 » 【已解决】git上传出错:error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
66 queries in 0.122 seconds, using 18.83MB memory