[goagent]urllib2.URLError:

win7 x64的系统。公司是xp系统。都遇到这个错误。


同事传来的goagent 2.19 源码,自己下了switchsharp插件和option.bk,虽然uploader不成功,

uploader 遇到这样的错误,但是还是可以使用:


urllib2.URLError: <urlopen error [Errno timed out] counld not connect to 'appeng
ine.google.com'>

Exception KeyError: KeyError(35657568,) in <module 'threading' from 'K:\Software
Store\unGFW\goagent-goagent-v2.1.9-19-g91cd5e4\goagent-goagent-91cd5e4\local\pro
xy.exe\threading.pyo'> ignored


在公司就无法使用,很奇怪。

发现原因应该是deploy失败。


纠结了很久,加入hosts文件还是不管用。


[goagent]urllib2.URLError: <urlopen error [Errno timed out] counld not connect to 'appeng ine.google_第1张图片


还是在issues上看到了方法:

参考https://code.google.com/p/goagent/


方法如下:

(1)打开goagent ,确保可以访问google的网站。

(2)设置代理

[goagent]urllib2.URLError: <urlopen error [Errno timed out] counld not connect to 'appeng ine.google_第2张图片


(3)重新uploader

这个时候会提示输入邮箱和密码。之前很久没有遇到要我输入了。

而后就上传成功了


Host: appengine.google.com
Rolling back the update.
Email: [email protected]
Password for [email protected]: *****************
Application: commsharezb; version: 1
Host: appengine.google.com


Starting update of app: commsharezb, version: 1
Scanning files on local disk.
Cloning 1 static file.
Cloning 9 application files.
Compilation starting.
Compilation completed.
Starting deployment.
Checking if deployment succeeded.
Will check again in 1 seconds.
Checking if deployment succeeded.
Will check again in 2 seconds.
Checking if deployment succeeded.
Will check again in 4 seconds.
Checking if deployment succeeded.
Deployment successful.
Checking if updated app version is serving.
Completed update of app: commsharezb, version: 1
Exception KeyError: KeyError(37484384,) in <module 'threading' from 'K:\Software
Store\unGFW\goagent-goagent-v2.1.9-19\goagent-goagent-91cd5e4\local\proxy.exe\th
reading.pyo'> ignored


上传成功,请忽略Exception KeyError错误, 编辑proxy.ini把你的appid填进去,谢谢。请
按任意键退出程序。

(4) 实际使用goagent上网的时候,要关闭IE的代理。


(5)在这里看是否部署成功

https://appengine.google.com/
打开这个网站需要设置一下chrome的安全设置,否则无法访问。



PS:

这个问题与二次验证无关。我打开之后发现二次验证有点麻烦,索性又关闭了。


[goagent]urllib2.URLError: <urlopen error [Errno timed out] counld not connect to 'appeng ine.google_第3张图片

打开goagent的主页确实好多了,最新的goagent我也可以下载了。

[goagent]urllib2.URLError: <urlopen error [Errno timed out] counld not connect to 'appeng ine.google_第4张图片



后来,在ubuntu上安装过 firefox的goagent  :   http://blog.csdn.net/commshare/article/details/18846087
20140822在ubuntu上安装过chrome的goagent     http://blog.csdn.net/commshare/article/details/38756651




你可能感兴趣的:([goagent]urllib2.URLError: