首页 新闻 赞助 找找看

git将文件上传至github时报错

-1
悬赏园豆:5 [已解决问题] 解决于 2019-02-05 15:58
$ git push -u origin master
fatal: TaskCanceledException encountered.
   ▒▒ȡ▒▒һ▒▒▒▒▒▒
Username for 'https://github.com': zanetti4
Counting objects: 5320, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4848/4848), done.
Writing objects: 100% (5320/5320), 4.47 MiB | 3.26 MiB/s, done.
Total 5320 (delta 1008), reused 0 (delta 0)
error: RPC failed; curl 55 SSL_write() returned SYSCALL, errno = 10053
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

我查了不少资料,尝试执行这个命令 git config http.postBuffer 524288000 后,再 push:

$ git push -u origin master
fatal: TaskCanceledException encountered.
   ▒▒ȡ▒▒һ▒▒▒▒▒▒
Username for 'https://github.com': zanetti4
Counting objects: 5320, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4848/4848), done.
Writing objects: 100% (5320/5320), 4.47 MiB | 3.27 MiB/s, done.
Total 5320 (delta 1015), reused 0 (delta 0)
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

错误有一点儿变化。然后我又尝试 git config http.sslVerify "false",再 push:

$ git push -u origin master
Counting objects: 5320, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4848/4848), done.
Writing objects: 100% (5320/5320), 4.47 MiB | 3.33 MiB/s, done.
Total 5320 (delta 1016), reused 0 (delta 0)
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

请问这个问题该怎么解决?谢谢~

zanetti的主页 zanetti | 初学一级 | 园豆:128
提问于:2019-02-05 04:02

上传的文件夹有多大?

dudu 5年前

@dudu: 23.8MB

zanetti 5年前
< >
分享
最佳答案
0

可能是网络线路问题

收获园豆:5
dudu | 高人七级 |园豆:31075 | 2019-02-05 15:17

刚才又试了一下,居然可以了,看来确实是网络问题,害我折腾一宿

zanetti | 园豆:128 (初学一级) | 2019-02-05 15:58
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册