我正在嘗試使用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表示網絡問題。 –