【Azure App Service】Local Git App Service的仓库代码遇见卡住不Clone代码的问题

问题描述

启用App Service Local Git 部署,在Clone 代码库到本地时候,卡在Clone ‘xxxxxx’ ... ... 一动不动的问题?

 

问题解答

因为Git Clone没有任何日志输出,所以在其他IDE上也尝试Git App Service的代码库。在intellj的git操作,报错“unable to access, SSL certificate problem: unable to get local issuer certificate”。 

根据这个错误,怀疑问题的根源是:git无法验证自签证书导致。

解决方法

1)尝试在本地的git操作中跳过验证,如使用:

$ git -c http.sslVerify=false clone [URL]

2)完成操作后重新开启验证:

$ git config --global http.sslVerify true。

3)也可以尝试重新配置git:

$ git config --global http.sslBackend schannel

 

参考资料

Cant clone from GitHub : SSL certificate problem: unable to get local issuer certificate  : https://github.com/desktop/desktop/issues/9293

 

posted @   路边两盏灯  阅读(14)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2022-09-26 【Azure 应用服务】App Service频繁出现 Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener 异常分析
点击右上角即可分享
微信分享提示