Received HTTP code 404 from proxy after CONNECT
错误提示
fatal: unable to access 'https://gitee.com/xxxxx.got/':Received HTTPcode 404 from proxy after CONNECT
问题原因
设置了代理导致git项目无法拉取
解决办法
找到.gitconfig文件路径 :cmd: where .gitconfig
(一)设置代理
(1)命令方式设置http代理:git config --global http.proxy xxxx
(2)命令方式设置https代理:git config --global https.proxy xxxx
(3)命令方式设置core代理:git config --global core.gitproxy xxxx
(4)配置文件方式设置代理:找到.gitconfig文件,添加如下内容:
[http]
proxy = xxx
[https]
proxy = xxx
[core]
gitproxy = xxx
(二)取消代理
(1)命令方式:
git config --global --unset http.proxy
git config --global --unset https.proxy
git config --global --unset core.gitproxy
(2)文件方式:找到.gitconfig文件,直接将http段下的proxy区块删除,https段下的proxy区块删除,core段下的gitproxy区块删除,删除后效果如下所示:
[http]
[https]
[core]
Received HTTP code 404 from proxy after CONNECT相关推荐
- 使用git clone的时候报错:Received HTTP code 503 from proxy after CONNECT
文章目录: 1 问题出现的原因 1.1 问题描述 1.2 尝试解决问题 2 解决错误:Received HTTP code 503 from proxy after CONNECT 2.1 我遇到这个 ...
- Received HTTP code 503 from proxy after CONNECT
用git clone下载时,总是出现错误.Received HTTP code 503 from proxy after CONNECT.自己不爱看英文,其实自己能静下心来把英文读懂了,多尝试,问题就 ...
- Clone from GitHub with Git extension shows: Received HTTP code 407 from proxy after CONNECT(Git 代理)
Clone from GitHub with Git extension shows: Received HTTP code 407 from proxy after CONNECT(Git 代理) ...
- 【Presto】Cannot connect to discovery server for announce: Announcement failed with status code 404
背景 Presto 0.22版本 启动报错 [deploy@kylin2 presto]$ bin/launcher runERROR Announcer-0 io.airlift.discovery ...
- Received status code 400 from server: Bad Request解决方案
Received status code 400 from server: Bad Request解决方案 Could not GET ' https://dl.google.com/dl/andro ...
- Received status code 400 from server: Bad Request
一.报错信息 FAILURE: Build failed with an exception.* What went wrong: A problem occurred configuring roo ...
- Could not GET “XXXXX.xml”Received status code 400
Could not GET "XXXXX.xml"Received status code 400 from seerver :Bad Request 解决方案如下: **×××确 ...
- Received status code 403 from server: ForbiddenDisable Gradle ‘offline mode‘ and sync project
Could not HEAD 'https://dl.bintray.com/umsdk/release/cn/rongcloud/sdk/im_lib/4.0.3.15/im_lib-4.0.3.1 ...
- 【已解决】Errors during downloading metadata for repository ‘appstream‘: - Status code: 404 for
1. 报错 Errors during downloading metadata for repository 'appstream': - Status code: 404 for http://m ...
最新文章
- 比较ArrayList、LinkedList、Vector
- 世界人口钟实时数据_用数字孪生重新定义智慧城市,美象VR推出MxDATA智慧城市CIM数据可视化平台...
- css中em单位详解,说明
- CSS书写技巧(转)
- windows环境下wampserver的配置教程
- python简单爬虫(一)
- Oracle收购后的Mysql目标市场
- LeetCode(1009)——十进制整数的反码(JavaScript)
- SQL注入漏洞入门(操作实现)
- [JSOI2012]玄武密码 题解(AC自动机)
- linux 运行可执行文件
- 戴尔微型计算机怎么换硬盘,教你如何给DELL台式电脑换硬盘
- 2022最新WiFi大师小程序3.0.9源码+独立版后台
- Python爬虫技巧--selenium解除webdriver特征值
- css中@media写法在ie 、firefox、Opera、Chrome、Safari 浏览器中的支持
- 搭建go语言开发环境
- 基于ICSharpCode.SharpZipLib组件的打包压缩目录的方法
- 2013年广州盛成php开发工程师第一轮笔试回顾
- uni-app的uni-ui组件使用
- PGP应用——PGP软件的安装