37,743
社区成员




[default7@localhost server]$ python uploader.zip
===============================================================
GoAgent服务端部署程序, 开始上传 gae 应用文件夹
Linux/Mac 用户, 请使用 python uploader.zip 来上传应用
===============================================================
请输入您的appid, 多个appid请用|号隔开
注意:appid 请勿包含 android/ios 字样,否则可能被某些网站识别成移动设备。
APPID:app4centos
Application: app4centos
Host: appengine.google.com
Rolling back the update.
Email: default7@zbphp.com
Password for default7@zbphp.com:
Application: app4centos; version: 1
Host: appengine.google.com
Starting update of app: app4centos, version: 1
Scanning files on local disk.
Email: default7@zbphp.com
Password for default7@zbphp.com:
Cloning 1 static file.
Cloning 2 application files.
Compilation starting.
Compilation completed.
Starting deployment.
Checking if deployment succeeded.
Deployment successful.
Checking if updated app version is serving.
Completed update of app: app4centos, version: 1
上传成功,请不要忘记编辑proxy.ini把你的appid填进去,谢谢。按回车键退出程序。
[default7@localhost local]$ python proxy.py
Traceback (most recent call last):
File "proxy.py", line 1490, in <module>
class AdvancedProxyHandler(SimpleProxyHandler):
File "proxy.py", line 1505, in AdvancedProxyHandler
openssl_context = OpenSSL.SSL.Context(OpenSSL.SSL.TLSv1_METHOD)
AttributeError: 'NoneType' object has no attribute 'SSL'
[default7@localhost local]$
if client_hello:
sock.sendall(client_hello)
if gevent and isinstance(sock, gevent.socket.socket):
sock.data = data = sock.recv(4096)
else:
data = sock.recv(4096, socket.MSG_PEEK)
if not data:
logging.debug('create_tcp_connection %r with client_hello return NULL byte, continue %r', ipaddr, time.time()-start_time)
raise socket.timeout('timed out')
# record TCP connection time with client hello
self.tcp_connection_time_with_clienthello[ipaddr] = time.time() - start_time
# set timeout
sock.settimeout(timeout)
# put tcp socket object to output queobj
queobj.put(sock)