Android SDK 管理器不会更新:连接到 https://dl-ssl.google.com 被拒绝 [英] Android SDK Manager won't update: connection to https://dl-ssl.google.com refused

查看:30
本文介绍了Android SDK 管理器不会更新:连接到 https://dl-ssl.google.com 被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这与许多其他人报告的问题相同,例如

This is the same problem as a number of other have reported, e.g.

无法获取 URL https://dl-ssl.google.com/android/repository/addons_list-1.xml,原因:与 https://dl-ssl.google.com 的连接被拒绝

Android SDK 未更新包

安卓SDK 管理器给出无法获取 URL https://dl-ssl.google.com/android/repository/repository.xml"选择存储库时出错

但所有建议的解决方案要么不相关,要么不起作用.

But all of the suggested solutions either aren't relevant or haven't worked.

我的问题是每当我尝试更新 Android SDK 管理器时都会收到连接被拒绝错误.这是 SDK Manager 的日志输出:

My problem is I get a connection refused error whenever I attempt to update the Android SDK Manager. This is the SDK Manager's log output:

Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
Done loading packages.
Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connection to https://dl-ssl.google.com refused

进入https://dl-ssl.google.com/android/repository/addons_list-2.xml 进入 Firefox 只是超时 - 我没有得到 XML 文档.

Entering https://dl-ssl.google.com/android/repository/addons_list-2.xml into Firefox just times out - I don't get an XML document.

我已经尝试过使用和不使用 force http:// 选项都没有运气.这是在家里,我没有使用任何类型的代理服务器,也没有设置防火墙.

I've tried it with and without the force http:// option with no luck. This is from home, I'm not using any kind of proxy server and I don't have a firewall set up.

我尝试的其他方法(为了消除我的机器作为问题的根源)正在输入 https://dl-ssl.google.com 在另一台使用相同互联网连接的计算机(Acer 笔记本电脑,Win7 64 位)上的网络浏览器中.另一台计算机上的连接也超时,这几乎让我认为我的 IP 以某种方式在服务器上被列入黑名单(我不知道这是怎么发生的)或者是 ISP 问题.

Something else I tried (in order to eliminate my machine as the source of the problem) is entering https://dl-ssl.google.com in a web browser on another computer that uses the same internet connection (Acer laptop w/ Win7 64-bit). The connection times out on the other computer as well, which almost leads me to think my IP is blacklisted on the server somehow (I have no idea how that would have happened) or it's an ISP issue.

所以我的问题是如何让 SDK Manager 更新?如果我的 IP 由于某种原因实际上被 Google 的服务器屏蔽了,我能做些什么来绕过它?例如.通过某种代理路由?dl-ssl.google.com 有镜像吗?

So my question is how can I get SDK Manager to update? If my IP is in fact being blocked by Google's server for some reason, is there anything I can do to get around it? E.g. by routing through some kind of proxy? Are there any mirrors for dl-ssl.google.com?

环境信息:我在 Kubuntu 12.04.2 LTS 上使用 ADT Rev 21.1.

Environment info: I'm using ADT Rev 21.1 on Kubuntu 12.04.2 LTS.

推荐答案

对我来说,解决方案就是不断重试.我发现的最简单的方法是在我的浏览器中定期点击刷新,一旦返回 XML,切换到 Eclipse -> SDK Manager.无论出于何种原因,https://dl-ssl.google.com 似乎严重限制了我的 IP 地址块一>.希望 Google 工程师可以检查此服务器的配置(拒绝主机设置??),因为它似乎是 Google 群组中许多主题的持续问题

The solution for me was just to keep retrying. The easiest way I found was to periodically hit refresh in my browser and once XML was returned, switch to Eclipse -> SDK Manager. For whatever reason it appears my IP address block is being severely throttled by https://dl-ssl.google.com. Hopefully a Google engineer can check out this server's configuration (denyhosts settings??) as it seems to be an ongoing problem with a number of topics in Google groups

这篇关于Android SDK 管理器不会更新:连接到 https://dl-ssl.google.com 被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆