isusanin / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

Problems deploying Node.js project to Google Cloud Platform #533

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
gcloud preview app deploy
You are about to deploy the following modules:
 - yes4mktsrv/default (from [C:\projects\yes4mkt\app.yaml])
     Deployed URL: [https://yes4mktsrv.appspot.com]

Do you want to continue (Y/n)?  y

What is the expected output? What do you see instead?
ERROR: gcloud crashed (ConnectionError): ('Connection aborted.', error(10054, 
'An existing connection was forcibly closed by the remote host'))

What is the output of 'gcloud info'?
C:\projects\yes4mkt>gcloud info
Google Cloud SDK [93.0.0]

Platform: [Windows, x86_64]
Python Version: [2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:40:30) [MSC 
v.1500 64 bit (AMD64)]]
Python Location: [C:\python27\python.exe]
Site Packages: [Disabled]

Installation Root: 
[C:\Users\miguel\AppData\Local\Google\Cloud-SDK\google-cloud-sdk]
Installed Components:
  core: [2016.01.14]
  bq-win: [2.0.18]
  core-win: [2016.01.12]
  gcloud: []
  windows-ssh-tools: [2015.09.21]
  beta: [2016.01.12]
  gsutil: [4.16]
  bq: [2.0.18]
  gsutil-win: [4.16]
System PATH: 
[C:\Users\miguel\AppData\Local\Google\Cloud-SDK\google-cloud-sdk\bin\..\bin\sdk;
C:\ProgramData\Oracle\Java\javapath;C:\Program Files 
(x86)\Lenovo\FusionEngine;C:\Program Files\Broadcom\Broadcom 802.11 Network 
Adapter;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS 
Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\Syste
m32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine 
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine 
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine 
Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine 
Components\IPT;C:\Program Files\Lenovo\Bluetooth Software\;C:\Program 
Files\Lenovo\Bluetooth Software\syswow64;C:\Program Files (x86)\Lenovo\Motion 
Control\;C:\Program Files\Microsoft SQL Server\Client 
SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL 
Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL 
Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL 
Server\120\DTS\Binn\;C:\Program Files\Microsoft SQL 
Server\110\DTS\Binn\;C:\Program Files (x86)\Common 
Files\lenovo\easyplussdk\bin;C:\Program Files (x86)\Skype\Phone\;C:\Program 
Files\nodejs\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance 
Toolkit\;C:\Program Files 
(x86)\Brackets\command;C:\Users\miguel\AppData\Roaming\npm;C:\Users\miguel\AppDa
ta\Local\Google\Cloud-SDK\google-cloud-sdk\bin;C:\Program 
Files\Git\bin\git.exe;C:\Program 
Files\Git\cmd;C:\Ruby193\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program 
Files (x86)\Lenovo\FusionEngine;C:\Program Files\Broadcom\Broadcom 802.11 
Network Adapter;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program 
Files\Intel\iCLS 
Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\Syste
m32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine 
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine 
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine 
Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine 
Components\IPT;C:\Program Files\Lenovo\Bluetooth Software\;C:\Program 
Files\Lenovo\Bluetooth Software\syswow64;C:\Program Files (x86)\Lenovo\Motion 
Control\;C:\Program Files\Microsoft SQL Server\Client 
SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL 
Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL 
Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL 
Server\120\DTS\Binn\;C:\Program Files\Microsoft SQL 
Server\110\DTS\Binn\;C:\Program Files (x86)\Common 
Files\lenovo\easyplussdk\bin;C:\Program Files (x86)\Skype\Phone\;C:\Program 
Files\nodejs\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance 
Toolkit\;C:\Program Files 
(x86)\Brackets\command;C:\Users\miguel\AppData\Roaming\npm;C:\Users\miguel\AppDa
ta\Local\Google\Cloud-SDK\google-cloud-sdk\bin;C:\Program 
Files\Git\bin\git.exe;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft 
VS Code\bin]
Cloud SDK on PATH: [True]

WARNING: There are old versions of the Google Cloud Platform tools on your 
system PATH.
  C:\WINDOWS\system32\gsutil.cmd

Installation Properties: 
[C:\Users\miguel\AppData\Local\Google\Cloud-SDK\google-cloud-sdk\properties]
User Config Directory: [C:\Users\miguel\AppData\Roaming\gcloud]
User Properties: [C:\Users\miguel\AppData\Roaming\gcloud\properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Account: [mrsilva@yesmkt.com]
Project: [yes4mktsrv]

Current Properties:
  [core]
    project: [yes4mktsrv]
    account: [mrsilva@yesmkt.com]
    disable_usage_reporting: [False]
  [app]
    suppress_change_warning: [true]
  [compute]
    region: [us-central1]
    zone: [us-central1-f]

Logs Directory: [C:\Users\miguel\AppData\Roaming\gcloud\logs]
Last Log File: 
[C:\Users\miguel\AppData\Roaming\gcloud\logs\2016.02.09\21.25.18.780000.log]

Please provide any additional information below.

Original issue reported on code.google.com by mrsi...@yesmkt.com on 9 Feb 2016 at 9:43

Attachments:

GoogleCodeExporter commented 8 years ago
Please try again with the setting `gcloud config set app/use_cloud_build true`.

Original comment by z...@google.com on 9 Feb 2016 at 9:46

GoogleCodeExporter commented 8 years ago
You are about to deploy the following modules:
 - yes4mktsrv/default (from [C:\projects\yes4mkt\app.yaml])
     Deployed URL: [https://yes4mktsrv.appspot.com]

Do you want to continue (Y/n)?  y

Beginning deployment...
If this is your first deployment, this may take a while...done.

WARNING: Could not find any remote repositories associated with 
[C:\projects\yes4mkt]. Cloud diagnostic tools may not be able to display the 
correct source code for this deployment.
Verifying that Managed VMs are enabled and ready.
Building and pushing image for module [default]
Started cloud build [ZTNlMWJjOWUtMjQ1Yy00MDBiLTljYzktZGFkMDE5N2QwYTM5OlVT].
Logs at: 
https://console.developers.google.com/logs?project=yes4mktsrv&service=cloudbuild
.googleapis.com&key1=ZTNlMWJjOWUtMjQ1Yy00MDBiLTljYzktZGFkMDE5N2QwYTM5OlVT
Waiting for cloud build 
[ZTNlMWJjOWUtMjQ1Yy00MDBiLTljYzktZGFkMDE5N2QwYTM5OlVT]...done.
Updating module [default]...failed.
ERROR: (gcloud.preview.app.deploy) Response error: Unable to find the server at 
appengine.googleapis.com

Original comment by mrsi...@yesmkt.com on 9 Feb 2016 at 10:17

GoogleCodeExporter commented 8 years ago
Can you ping that host (appengine.googleapis.com)? This behavior points to a 
network issue of some sort.

Original comment by z...@google.com on 9 Feb 2016 at 10:26

GoogleCodeExporter commented 8 years ago
ping appengine.googleapis.com

Pinging appengine.googleapis.com [74.125.24.239] with 32 bytes of data:
Reply from 74.125.24.239: bytes=32 time=58ms TTL=49
Reply from 74.125.24.239: bytes=32 time=59ms TTL=49
Reply from 74.125.24.239: bytes=32 time=57ms TTL=49
Reply from 74.125.24.239: bytes=32 time=59ms TTL=49

Ping statistics for 74.125.24.239:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 57ms, Maximum = 59ms, Average = 58ms

Original comment by mrsi...@yesmkt.com on 9 Feb 2016 at 11:35

GoogleCodeExporter commented 8 years ago
Are you behind a proxy, or do you have any other unusual network settings?

Is the error in #2 reproducible? Can you upload the full log file (after 
scrubbing any personal information)?

Original comment by z...@google.com on 10 Feb 2016 at 10:09