unable to access 'https://github.com/langgenius/dify.git/': Failed to connect to github.com port 443 after 21111 ms: Could not connect to server

一般这种都是网络配置原因造成的, 但我这边的状态是浏览器可以正常打开github,终端无法ping通,那应该就是本地代理配置问题了

 

 

1、使用代理方式

 

git config --global http.proxy "127.0.0.1:7890"
git config --global https.proxy "127.0.0.1:7890"

2、不用代理,可以使用以下命令去除git代理

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

  

posted @ 2025-02-18 14:27  斌言  阅读(1227)  评论(0)    收藏  举报