相关疑难解决方法(0)

Git pull/push - 无法访问HTTPS,SSL例程似乎已关闭

我每天都在使用Git(和GitHub),一切都运行正常,突然之间,我无法通过我的Git命令与我的远程GitHub存储库进行通信.当我尝试"Git pull"时,它会出现以下错误:

致命:无法访问' https://github.com/snahrvar/eatibl.git/ ':错误:1407742E:SSL例程:SSL23_GET_SERVER_HELLO:tlsv1警报协议版本

所以,我测试了多个存储库,我在计算机上遇到了同样的错误.我让其他人与那些相同的存储库进行交互,它对他们来说很好.在此错误之前,我在项目上执行了"npm install sharp"并且最终失败了,我怀疑这可能与某些SSL设置混乱,但这是一个疯狂的猜测!

任何一般的想法或指导将不胜感激!

如果它有用,那么这是我的环境:

  • Git版本:1.9.4.msysgit.2
  • Windows版本:Windows 8.1

git github

103
推荐指数
6
解决办法
4万
查看次数

致命:无法访问'https://github.com/xxx':LibreSSL SSL_connect:SSL_ERROR_SYSCALL连接到github.com:443

直到昨天,我都成功使用了git“ push”和“ pull”命令,但是今天它不起作用,并给我这个错误: Push failed: Unable to access 'https://github.com/username/repository.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

我尝试了许多解决方案,但没有成功。我尝试的解决方案:
1.使用SSH密钥
2.更新git
3.使用openssl安装curl(安装时出现相同错误)

这是由于curl github.com -v

* Rebuilt URL to: github.com/
*   Trying 192.30.253.112...
* TCP_NODELAY set
* Connected to github.com (127.0.0.1) port 80 (#0)
> GET / HTTP/1.1
> Host: github.com
> User-Agent: curl/7.54.0
> Accept: */*
> 
* Recv failure: Connection reset by peer
* stopped the pause stream!
* Closing connection 0
curl: (56) Recv failure: Connection reset …
Run Code Online (Sandbox Code Playgroud)

git openssl

4
推荐指数
1
解决办法
8006
查看次数

无法访问“https://github.com/Homebrew/brew/”:LibreSSL SSL_connect

我无法在 MacBook Pro(Catalina 操作系统)中安装 Home-brew。我尝试过使用 home-brew 网站中的当前命令

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Run Code Online (Sandbox Code Playgroud)

我通过了第一阶段,但之后出现以下 git 错误在此输入图像描述

git homebrew

2
推荐指数
1
解决办法
7951
查看次数

标签 统计

git ×3

github ×1

homebrew ×1

openssl ×1