fatal: unable to access 'https://android.googlesource.com/platform/frameworks/volley/': Received HTT
来源:互联网 发布:js后退页面同时刷新 编辑:程序博客网 时间:2024/05/01 17:41
问题来源
想感受下Volley的魅力,需要
git clone https://android.googlesource.com/platform/frameworks/volley
但是,出现这个!!
Cloning into 'volley'...fatal: unable to access 'https://android.googlesource.com/platform/frameworks/volley/': Received HTTP code 404 from proxy after CONNECT
于是,我google下 问题所在········
被误导
查看了搜索出来的很多解决方法,比如:
git无法clone远程代码库及git代理设置
git代理设置
解决git无法clone提示443以及配置git代理方法
但是,not work!!!
分析
网上给出的解决方法中都提到了相似的代码:
git config --global http.proxy "localhost:1080"
git config --global https.proxy http://proxy.com:1234
git config --global https.proxy https://127.0.0.1:8580
那些方法适用于别人,但不适用于我。对比发现解决方法的代码如此相似,唯一不同的是后面的端口不同而已。
而且1080是ss默认的端口
关于Shadowsocks,请看这里
但是我的科学上网工具不是ss,一定是翻墙工具的端口不同造成的,(我用的是Lantern)。
我要知道Lantern 的本机端口,或许有帮助,于是,我看到
“如何翻墙”系列:Lantern(蓝灯)——开源且跨平台的翻墙代理
其中有这句话
蓝灯默认会在【本机地址】上开启一个 HTTP 代理的端口,端口号是 8787
如果你的网络软件跟它运行在【同一个操作系统】,那么你只需在网络软件的代理界面上设置 HTTP 代理——地址填写 127.0.0.1 端口号填写 8787
(注:“127.0.0.1”表示“本机地址”)
于是我使用的下面代码:
git config --global http.proxy "localhost:8787"
然后:
git clone https://android.googlesource.com/platform/frameworks/volleyCloning into 'volley'...remote: Counting objects: 193, doneremote: Finding sources: 100% (193/193)remote: Total 3289 (delta 315), reused 3289 (delta 315)Receiving objects: 100% (3289/3289), 1.24 MiB | 202.00 KiB/s, done.Resolving deltas: 100% (315/315), done.Checking connectivity... done.
兴奋!!!!!!!!!!!
感谢
“如何翻墙”系列:Lantern(蓝灯)——开源且跨平台的翻墙代理
git无法clone远程代码库及git代理设置
git代理设置
解决git无法clone提示443以及配置git代理方法
0 0
- fatal: unable to access 'https://android.googlesource.com/platform/frameworks/volley/': Received HTT
- https://android.googlesource.com/platform/manifest/+refs
- fatal: unable to access 'https://github.com/...': Could not resolve host: github.com
- Git错误fatal: unable to access 'https://github.com/****.git/': Couldn't resolve host 'github.com'
- 【iOS开发】Git错误fatal: unable to access 'https://github.com/Hanrovey/Demo_RuntimeExchangeMethod.git/
- fatal: unable to access 'https://github.com/taoge1024/kityminder.git/': SSL cert ificate problem: un
- fatal: unable to access 'https://github.com/gmarik/Vundle.vim.git/': Could not resolve host: github.
- 【git】fatal: unable to access 'https://github.com/top-think/framework.git/'
- fatal: unable to access 'https://github.com/***': Failed to connect to github.com port 443:Timed out
- android N7.1 下载fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle 解决方法
- fatal: unable to access 'https://github.com/pirobot/rbx1/': Failed to connect to 127.0.0.1 port 3517
- repo1.22解决搭建Android报错:fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
- remote: Permission to xxxxx/javaeelzw.git denied to xxxx. fatal: unable to access 'https://git
- github unable to access 'https://github.com/...: Failed to connect to github.com port 443‘
- 解决github unable to access 'https://github.com/...: Failed to connect to github.com port 443
- github unable to access 'https://github.com/...: Failed to connect to github.com port 443‘
- 暂时解决unable to access 'https://github.com/Homebrew/brew/': Failed to connect to github.com
- github unable to access 'https://github.com/...: Failed to connect to github.com port 443‘
- 在SpringMVC中获取request对象的几种方式
- Adaboost - 新的角度理解权值更新策略
- Map的插入操作和按照value排序
- centos6.5 部署Python3.5.2版本 配置ipython环境
- Angular实现一个简单的多选复选框的弹出框指令
- fatal: unable to access 'https://android.googlesource.com/platform/frameworks/volley/': Received HTT
- 封装之路(四) BaseFragment BaseViewModel BaseModel
- java写一个Swing小程序:《我的时钟》
- 二维数组 /java初学
- SVN命令使用详解
- ubuntu中修改主机名方法
- HDU 2001(Java)
- java程序员—工作中开发经验总结
- CSS三大特性之层叠性