首页 > 解决方案 > 无法从 github 获取代码到 azure 管道代理(自托管)

问题描述

git -c http.extraheader="AUTHORIZATION: basic " -c http.proxy="https://xxxxx: @xxxxxxxxxxxx.local:8080/" -c http.sslVerify=false fetch --force --tags --prune --progress --no-recurse-submodules origin 致命:无法访问' https://github.com/xxxxxxxxxxxxxxx ':错误:1408F10B:SSL 例程:ssl3_get_record:错误的版本号

[警告]Git fetch 失败,退出代码 128,在重试前退后 2.097 秒。

git -c http.extraheader="AUTHORIZATION: basic " -c http.proxy="https://xxxxxx: @mproxy.xxxxxxxxxxxx.local:8080/" -c http.sslVerify=false fetch --force --tags - -prune --progress --no-recurse-submodules origin 致命:无法访问“ https://github.com/repo-name/branch/ ”:错误:1408F10B:SSL 例程:ssl3_get_record:错误的版本号

[警告]Git fetch 失败,退出代码 128,在重试前退后 3.099 秒。

git -c http.extraheader="AUTHORIZATION: basic " -c http.proxy="https://xxxxx: @mproxy.xxxxxxxx.local:8080/" -c http.sslVerify=false fetch --force --tags - -prune --progress --no-recurse-submodules origin 致命:无法访问“ https://github.com/repo-name/branch/ ”:错误:1408F10B:SSL 例程:ssl3_get_record:错误的版本号

[错误]Git 提取失败,退出代码:128

标签: azure-devops-rest-apiazure-devops-self-hosted-agent

解决方案


您可以尝试使用http://而不是https://inhttp.proxy="https://xxxxx:***@xxxxxxxxxxxx.local:8080/"


推荐阅读