使用goagent 更新 Android SDK 失敗解決版本,goagentandroid

來源:互聯網
上載者:User

使用goagent 更新 Android SDK 失敗解決版本,goagentandroid

之前使用goagent 更新 android SDK 基本都是可以的,但是最近幾個月總是失敗。不過可以正常開發,也沒太在意。

今天在家的筆記本更新SDK總是失敗,提示:

INFO - [Nov 12 09:40:03] 192.168.0.189:49456 "AGENT CONNECT twitter.com:443 HTTP/1.1" - -ERROR - [Nov 12 09:40:03] ssl.wrap_socket(self.connection=<socket._socketobject object at 0x77056d50>) failed: [Errno 8] _ssl.c:504: EOF occurred in violation of protocolTraceback (most recent call last):  File "/opt/etc/goagent/proxy.py", line 2237, in do_CONNECT_AGENTINFO - [Nov 12 09:40:03] 192.168.0.189:49457 "AGENT CONNECT twitter.com:443 HTTP/1.1" - -    ssl_sock = ssl.wrap_socket(self.connection, keyfile=certfile, certfile=certfile, server_side=True)  File "/opt/usr/lib/python2.7/ssl.py", line 381, in wrap_socketERROR - [Nov 12 09:40:03] ssl.wrap_socket(self.connection=<socket._socketobject object at 0x770655e0>) failed: [Errno 8] _ssl.c:504: EOF occurred in violation of protocolTraceback (most recent call last):  File "/opt/etc/goagent/proxy.py", line 2237, in do_CONNECT_AGENT    ssl_sock = ssl.wrap_socket(self.connection, keyfile=certfile, certfile=certfile, server_side=True)  File "/opt/usr/lib/python2.7/ssl.py", line 381, in wrap_socket

幾經中轉終於在 goagent 的 Issue 18029: 這個中找到答案了。
終於:
xudong.s...@dianping.com在proxy.ini裡的[profile]下加上如下配置即可更新android SDK了dl-ssl.google.com = nofakehttpsOct 26, 2014 #2 2828qw...@gmail.com上面所說的方法確實有效,只加了那一行代碼就可以了。但是不知道為什麼以前版本的GoAgent不需要做這一步呢?



只需要配置下這個就可以了
在proxy.ini裡的[profile]下加上如下配置即可更新android SDK了
dl-ssl.google.com = nofakehttps




















聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.