优秀的编程知识分享平台

网站首页 > 技术文章 正文

hexo博客搭建过程中的某个错误(hexo博客搭建过程中的某个错误怎么办)

nanyue 2024-09-15 23:19:54 技术文章 3 ℃

错误:fatal: unable to access


错误:

$ git clone https://github.com/theme-next/hexo-theme-next themes/next

Cloning into 'themes/next'...

fatal: unable to access 'https://github.com/theme-next/hexo-theme-next/':

OpenSSL SSL_read: Connection was reset, errno 10054

将https改为ssh时仍然报错

按照本方法进行处理

依次输入命令

$ git config --global http.proxy http://127.0.0.1:1080

$ git config --global https.proxy http://127.0.0.1:1080

$ git config --global --unset http.proxy

$ git config --global --unset https.proxy

即可解决本问题。

改完以后本错误解决,网站访问为http,在github网页设置页面可以强制开启https即可换为安全链接。

Tags:

最近发表
标签列表