在要求输入邮箱的文本域,请填写真实的邮件地址。非真实邮件地址,将收不到回复信息。

OpenSSL SSL_read: Connection was aborted, errno 10053 异常处理

Git 清风 1438℃ 0评论

背景

运行一个Vue项目,使用npm进行依赖安装出现以下异常信息:

OpenSSL SSL_read: Connection was aborted, errno 10053 异常处理-第0张图片

异常信息

npm ERR! code 128
npm ERR! Command failed: git clone –depth=1 -q -b 2.2.0-c https://github.com/nhn/raphael.git D:\Program Files\nodejs\node_cache_cacache\tmp\git-clone-a498c440 –config core.longpaths=true
npm ERR! warning: templates not found in C:\Users\finder\AppData\Local\Temp\pacote-git-template-tmp\git-clone-c4102267
npm ERR! fatal: unable to access ‘https://github.com/nhn/raphael.git/’: OpenSSL SSL_read: Connection was aborted, errno 10053

异常处理

因为node使用了git克隆了github上的相关联的项目,所以这个异常需要对git进行相关设置。打开git命令行,依次输入以下命令回车即可:


git config --global http.postBuffer 524288000
git config --global http.sslVerify "false"

OpenSSL SSL_read: Connection was aborted, errno 10053 异常处理-第1张图片



转载请注明:清风亦平凡 » OpenSSL SSL_read: Connection was aborted, errno 10053 异常处理

喜欢 (3)or分享 (0)
支付宝扫码打赏 支付宝扫码打赏 微信打赏 微信打赏
头像
发表我的评论
取消评论

CAPTCHA Image
Reload Image
表情

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

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址