通过代理上传Google App Engine 应用
这个是Google app engine的一个issue:
Seems to be no support for proxy in appcfg.py
http://code.google.com/p/googleappengine/issues/detail?id=126
解决方案:[Windows]
1、在命令行中Set evironment variables:
set http_proxy=http://proxy.blah.com.au:3128
set https_proxy=https://proxy.blah.com.au:31
C:\PROGRA~1\Google\GOOGLE~3>set https_proxy=https://proxy.blah.com.au:3128/
http_proxy=http://proxy.blah.com.au:3128/
2、下载Change the appcfg.py file:
http://googleappengine.googlecode.com/issues/attachment?aid=-622907771208491476&name=appcfg.py
替换掉:
C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py
appcfg.py
59.6 KB Download
3、如果替换后出现如下错误:
I replaced the appcfg.py file and now i get this error...
Traceback <most recent call last>:
File "C:\Program Files\Google\google_appengine\appcfg.py", line 53, in<module>
from google.appengine.api import appinfo
File "C:\Program Files\Google\google_appengine\google\appengine\api\appinfo.py",
line 31, in<module>
from google.appengine.api import validation
File "C:\Program Files\Google\google_appengine\google\appengine\api\validation.py",
line 44, in<module>
import yaml
ImportError: No module named yaml
就要安装yaml:
C:\Program Files\Google\google_appengine\lib\yaml>python setup.py install
[To solve the yaml trouble you have to install yaml, as described in
<your appengine path>\lib\yaml\README]
4、如果还有认证的问题:
Then to solve the authenticated proxy trouble, I used the arthurfreeman's appcfg.py
and I've tried to modify it according to elspoono suggestion, but I still had
troubles with my corporate NTLM authenticated proxy, then I've installed and
configured ntlmaps proxy and finally solved! (using the original arthurfreeman's
appcfg.py)
http://ntlmaps.sourceforge.net/
This Python proxy hides every issue about authenticated NTLM proxy, before running it
you have to input some infos in server.cfg file:
- port for ntlmaps listener
- your real proxy address
- your real proxy authentication domain/account/password
- your machine's nt_hostname
- friendly ips (in this case your machine ip)
Then , running the ntlmaps proxy on port 5865, I've configured the environment
variables in this way:
set https_proxy=https://localhost:5865
set http_proxy=http://localhost:5865
and finally succeed in uploading my first application in google app engine!
5、这下该可以了吧!!:)
分享到:
相关推荐
clock.rar 这是我今天做的一个基于google app engine写的一个在该平台上开发app的示例,通过该示例的学习,我们可以很快上手学会怎样在GAE上开发属于你的应用程序了,希望对大家有用!
Google Appengine详细安装应用,及时从零开始都能看懂,自己亲手制作的入门级教程文档,可自己参考,可以做培训教程讲解。
This practical guide shows intermediate and advanced web and mobile app developers how to build highly scalable Java applications in the cloud with Google App Engine. The flagship of Google's Cloud ...
A good book to learn Google App Engine.
在搭建WebRTC(AppRTC)时,我们会遇到需要部署Google App Engine的难题,并且最近墙的厉害,所以我特地把我珍藏的Google App Engine 最新版(2020-7-5)分享出来,希望可以方便想搭建WebRTC(AppRTC)的同学们
Google App Engine Documentation
云应用开发——Google App Engine & Google Web Toolkit入门指南 Google App Engine入门 Google App Engine 开发人员指南
一个应该在Google App Engine 上的一个实例。用Java语言编写,里面包含源代码。致以Google App Engine是什么,请Google。 实例部署的地址是:http://hellojavaweb.appspot.com
Google App Engine文档
Google App Engine 入门
云端代码Google App Engine编程指南 人民邮电出版社 高清带书签
Eclipse Google 插件 Google App Engine SDK for Java Google App Engine文档 按钮 Google App Engine 开发包
Google App Engine is a web application hosting service. By “web application,” we mean an application or service accessed over the Web, usually with a web browser: storefronts with shopping carts, ...
Using Google App Engine
google app engine开发实例,实现了GAE的插入,更改,删除,搜索功能
Google云端的一个重要部分,主要介绍了Google中App Engine的限制。
Google App Engine 入门教程 eclipse插件 详情请参考我的博客
Google App Engine is a key component of the Google Cloud Platform and one of the most comprehensive cloud services. Together with Python, the first programming language ever supported by the platform,...
Google App Engine for Java 中文指南,Google App Engine for Java 中文指南