指尖上的记忆指尖上的记忆
首页
  • 基础
  • Laravel框架
  • Symfony框架
  • 基础
  • Gin框架
  • 基础
  • Spring框架
  • 命令
  • Nginx
  • Ai
  • Deploy
  • Docker
  • K8s
  • Micro
  • RabbitMQ
  • Mysql
  • PostgreSsql
  • Redis
  • MongoDb
  • Html
  • Js
  • 前端
  • 后端
  • Git
  • 知识扫盲
  • Golang
🌟 gitHub
首页
  • 基础
  • Laravel框架
  • Symfony框架
  • 基础
  • Gin框架
  • 基础
  • Spring框架
  • 命令
  • Nginx
  • Ai
  • Deploy
  • Docker
  • K8s
  • Micro
  • RabbitMQ
  • Mysql
  • PostgreSsql
  • Redis
  • MongoDb
  • Html
  • Js
  • 前端
  • 后端
  • Git
  • 知识扫盲
  • Golang
🌟 gitHub

git提交的OPEN_SSL和Time_Out问题以及解决办法:

$ git push -u origin master  
fatal: unable to access 'https://github.com/gspgsp/vue-blog.git/': Failed to connect to github.com port 443 after 21045 ms: Timed out  

git config --global --unset https.proxy


$ git push -u origin master  
fatal: unable to access 'https://github.com/gspgsp/vue-blog.git/': OpenSSL SSL_read: Connection was reset, errno 10054  

git config --global http.sslVerify "false"

//可能是因为本地开启了代理的缘故
直接恢复,使用代理:
git config --global http.proxy "http://127.0.0.1:7890"
git config --global https.proxy "https://127.0.0.1:7890"

再执行 $ git push -u origin master 就好了

host文件配置:

140.82.112.3 github.com
185.199.108.153	assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com