我正在尝试使用gcloud来部署nodejs应用程序。我遵循这个tutorial。gcloud应用程序部署出错
当我运行:
gcloud preview app deploy
我有2个可能的问题:
第一:
Beginning deployment... If this is your first deployment, this may take a while...failed. ERROR: gcloud crashed (ResponseNotReady)
或者有时过程走得更远:
Verifying that Managed VMs are enabled and ready. ERROR: gcloud crashed (ResponseNotReady)
日志看起来像这样:
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin..\lib\third_party\httplib2__init__.py", line 1308, in _conn_request response = conn.getresponse()
File "C:\python27_x64\lib\httplib.py", line 1119, in getresponse raise ResponseNotReady() ResponseNotReady 2016-02-22 15:13:00,937 ERROR root gcloud crashed (ResponseNotReady):
谢谢!
它看起来像是在一个不稳定的网络连接上,或者在不允许流量通过的防火墙/代理之后。此处的ResponseNotReady表示网络问题。 –