错误提示

 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相关推荐

  1. 使用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 我遇到这个 ...

  2. Received HTTP code 503 from proxy after CONNECT

    用git clone下载时,总是出现错误.Received HTTP code 503 from proxy after CONNECT.自己不爱看英文,其实自己能静下心来把英文读懂了,多尝试,问题就 ...

  3. 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 代理) ...

  4. 【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 ...

  5. 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 ...

  6. Received status code 400 from server: Bad Request

    一.报错信息 FAILURE: Build failed with an exception.* What went wrong: A problem occurred configuring roo ...

  7. Could not GET “XXXXX.xml”Received status code 400

    Could not GET "XXXXX.xml"Received status code 400 from seerver :Bad Request 解决方案如下: **×××确 ...

  8. 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 ...

  9. 【已解决】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 ...

最新文章

  1. 比较ArrayList、LinkedList、Vector
  2. 世界人口钟实时数据_用数字孪生重新定义智慧城市,美象VR推出MxDATA智慧城市CIM数据可视化平台...
  3. css中em单位详解,说明
  4. CSS书写技巧(转)
  5. windows环境下wampserver的配置教程
  6. python简单爬虫(一)
  7. Oracle收购后的Mysql目标市场
  8. LeetCode(1009)——十进制整数的反码(JavaScript)
  9. SQL注入漏洞入门(操作实现)
  10. [JSOI2012]玄武密码 题解(AC自动机)
  11. linux 运行可执行文件
  12. 戴尔微型计算机怎么换硬盘,教你如何给DELL台式电脑换硬盘
  13. 2022最新WiFi大师小程序3.0.9源码+独立版后台
  14. Python爬虫技巧--selenium解除webdriver特征值
  15. css中@media写法在ie 、firefox、Opera、Chrome、Safari 浏览器中的支持
  16. 搭建go语言开发环境
  17. 基于ICSharpCode.SharpZipLib组件的打包压缩目录的方法
  18. 2013年广州盛成php开发工程师第一轮笔试回顾
  19. uni-app的uni-ui组件使用
  20. PGP应用——PGP软件的安装

热门文章

  1. Rocket Chip 介绍
  2. 王兆星|贷款风险分类和损失拨备制度变革
  3. 【Java余元面向对象】(23)抽象方法/抽象类
  4. Pytorch实战 | 第P1周:实现mnist手写数字识别
  5. JAVAWEB学习笔记--Day3
  6. FPGA流水灯(间隔1S)
  7. Unity 中国区总经理符国新:3D引擎开发
  8. 个人项目 小跟班——蓝牙小车控制(UI篇)
  9. 学习累了休息一下——————看完不笑你厉害
  10. 广州二手房价分析与预测