您尚未登录。

#1 2020-10-24 20:19:09

worldme
会员
注册时间: 2020-10-07
帖子: 3

[求助] git在push和clone遇到了错误

git push             
fatal: unable to access 'https://github.com/little-boy52/c-homework.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

git clone https://github.com/little-boy52/c-homework               
Cloning into 'c-homework'...
fatal: unable to access 'https://github.com/little-boy52/c-homework/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

这是我的配置
git config -l
http.sslverify=false
user.name=little-boy52
user.email=1144612318@qq.com
email.name=1144612318@qq.com
credential.helper=store
github.user=little-boy52
github.token=/*这个就不写了*/
https.proxy=socks5://127.0.0.1:1089//我用的端口是1089
http.proxy=socks5://127.0.0.1:1089
http.sslbackend=openssl
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/little-boy52/c-homework.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.main.remote=origin
branch.main.merge=refs/heads/main

离线

#2 2020-10-24 20:28:05

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: [求助] git在push和clone遇到了错误

http.sslverify=false

找死?

不要写些莫名其妙的配置项啊。另外 github 匿名 https clone 的话可以用 https://github.com.cnpmjs.org/
你也可以去找个你访问比较快的 IP 直连: https://blog.lilydjwg.me/2019/8/16/gh-check.214730.html

在线

页脚