【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
当在复杂的环境中面临问题,格物之道需:浊而静之徐清,安以动之徐生。 云中,恰是如此!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
2022-09-26 【Azure 应用服务】App Service频繁出现 Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener 异常分析