我正在尝试将网站部署到GoogleAppEngine 我的应用程序在localhost:8080上正常使用此命令
dev_appserver.py / Users / wasif / Downloads / maidinstyle
但是当我尝试在googleAppEngine上部署它时
appcfg.py update helloworld/
我收到这些错误
wasifs-MacBook-Pro:Downloads wasif$ appcfg.py update maidinstyle/
04:32 PM Application: maid-in-style; version: 1
04:32 PM Host: appengine.google.com
04:32 PM
Starting update of app: maid-in-style, version: 1
04:32 PM Getting current resource limits.
2014-09-07 16:32:51,909 ERROR appcfg.py:2411 An error occurred processing file '': [Errno 65] No route to host. Aborting.
Traceback (most recent call last):
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/appcfg.py", line 126, in <module>
run_file(__file__, globals())
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/appcfg.py", line 122, in run_file
execfile(_PATHS.script_file(script_name), globals_)
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/google/appengine/tools/appcfg.py", line 5360, in <module>
main(sys.argv)
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/google/appengine/tools/appcfg.py", line 5351, in main
result = AppCfgApp(argv).Run()
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/google/appengine/tools/appcfg.py", line 2978, in Run
self.action(self)
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/google/appengine/tools/appcfg.py", line 5008, in __call__
return method()
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/google/appengine/tools/appcfg.py", line 3771, in Update
self._UpdateWithParsedAppYaml(appyaml, self.basepath)
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/google/appengine/tools/appcfg.py", line 3824, in _UpdateWithParsedAppYaml
self.UpdateVersion(rpcserver, basepath, appyaml, APP_YAML_FILENAME)
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/google/appengine/tools/appcfg.py", line 3709, in UpdateVersion
return appversion.DoUpload(paths, openfunc)
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/google/appengine/tools/appcfg.py", line 2401, in DoUpload
self.error_fh)
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/google/appengine/tools/appcfg.py", line 484, in GetResourceLimits
resource_limits.update(_GetRemoteResourceLimits(logging_context))
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/google/appengine/tools/appcfg.py", line 454, in _GetRemoteResourceLimits
yaml_data = logging_context.Send('/api/appversion/getresourcelimits')
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/google/appengine/tools/appcfg.py", line 1740, in Send
result = self.rpcserver.Send(url, payload=payload, **kwargs)
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/google/appengine/tools/appengine_rpc_httplib2.py", line 228, in Send
url, method=method, body=payload, headers=headers)
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/lib/google-api-python-client/oauth2client/client.py", line 497, in new_request
redirections, connection_type)
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/lib/httplib2/httplib2/__init__.py", line 1584, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/lib/httplib2/httplib2/__init__.py", line 1332, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/lib/httplib2/httplib2/__init__.py", line 1306, in _conn_request
conn.connect()
File "/Users/wasif/google-cloud-sdk/platform/google_appengine/lib/httplib2/httplib2/__init__.py", line 1053, in connect
raise socket.error, msg
socket.error: [Errno 65] No route to host
任何帮助??
编辑:
application: maid-in-style
version: 1
runtime: php
api_version: 1
handlers:
- url: /contact.html
script: contact.html
- url: /about.html
script: about.html
- url: /css
static_dir: css
- url: /images
static_dir: images
- url: /js
static_dir: js
- url: /pop
static_dir: pop
- url: /pop2
static_dir: pop2
- url: /.*
script: index.html
答案 0 :(得分:0)
该错误代码表明网络连接存在问题,正如Ian所建议的那样。它们与您的应用程序无关,而与您拥有的网络配置无关。也许不允许SSL流量?