[google-appengine] Re: 400 Error when trying to deploy the Node.js helloworld app to appengine

2015-05-26 Thread James Hutton
I think it is the EU Data Center. But I can't remember for sure. How can I 
find out?

On Tuesday, 26 May 2015 16:18:15 UTC+1, Ryan (Cloud Platform Support) wrote:

 Where is the instance located?

 On Tuesday, May 26, 2015 at 10:57:29 AM UTC-4, James Hutton wrote:

 Hi Ryan

 I too have been getting this error. Here is the output from the 
 --verbosity debug option, per your request. I have replaced my app ID on 
 the 3rd line with X but it is otherwise verbatim.


 DEBUG: Host: appengine.google.com
 DEBUG: _Authenticate configuring auth; needs_auth=False
 DEBUG: Sending request to 
 https://appengine.google.com/api/vms/prepare?app_id=XXX 
 headers={'X-appcfg-api-version': '1', 'content-length': '0', 
 'Content-Type': 'application/octet-stream'} body=
 INFO: Attempting refresh to obtain initial access_token
 INFO: Refreshing access_token
 DEBUG: Got http error 400.
 DEBUG: Unexpected results: {'status': '400', 'alternate-protocol': 
 '443:quic,p=1', 'content-length': '82', 'expires': 'Fri, 01 Jan 1990 
 00:00:00 GMT', 'server': 'Google Frontend', 'cache-control': 'no-cache', 
 'date': 'Tue, 26 May 2015 14:49:35 GMT', 'content-type': 'text/plain'}
 DEBUG: (gcloud.preview.app.deploy) Server responded with code [400]:
   Bad Request Unexpected HTTP status 400
 Traceback (most recent call last):
   File 
 /home/james/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py, line 
 537, in Execute
 result = args.cmd_func(cli=self, args=args)
   File 
 /home/james/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py, 
 line 1089, in Run
 result = command_instance.Run(args)
   File 
 /home/james/google-cloud-sdk/lib/googlecloudsdk/appengine/app_commands/deploy.py,
  
 line 111, in Run
 client.PrepareVmRuntime()
   File 
 /home/james/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/appengine_client.py,
  
 line 281, in PrepareVmRuntime
 rpcserver.Send('/api/vms/prepare', app_id=self.project)
   File 
 /home/james/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/util.py, 
 line 347, in Send
 response = self._server.Send(*args, **kwargs)
   File 
 /home/james/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/external/tools/appengine_rpc_httplib2.py,
  
 line 269, in Send
 'Unexpected HTTP status %s' % status)
   File 
 /home/james/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/external/tools/appengine_rpc_httplib2.py,
  
 line 67, in RaiseHttpError
 raise urllib2.HTTPError(url, response_info.status, msg, 
 response_info, stream)
 RPCError: Server responded with code [400]:
   Bad Request Unexpected HTTP status 400
 ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:
   Bad Request Unexpected HTTP status 400




 On Monday, 25 May 2015 18:14:17 UTC+1, Ryan (Cloud Platform Support) 
 wrote:

 Salutations!

 Are you still seeing this issue? If you are please run the command with 
 the --verbosity debug flag and try in another region. 

 Thanks!

 On Friday, May 22, 2015 at 10:29:16 AM UTC-4, James Mortensen wrote:

 Hello,

 I'm going through all of the instructions here to deploy the helloworld 
 Node.js app to Google App Engine, and I get a 400 error with no other 
 details as to the problem.  
 https://cloud.google.com/nodejs/getting-started/hello-world#running_hello_world

 Below is the output from the terminal:

 gcloud preview app deploy app.yaml --set-default

 You are about to deploy the following modules:

  - nodejs-start/default/20150522t194829  From: 
 [/Users/jem/Dev/1-hello-world/app.yaml]

 Do you want to continue (Y/n)?  


 ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:

   Bad Request Unexpected HTTP status 400

 Jamess-MacBook-Pro-3:1-hello-world jem$ 



 Anyone know what the problem is?  Thanks,

 James



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/18439d9c-765d-4edb-80f1-75b92c10fc04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: 400 Error when trying to deploy the Node.js helloworld app to appengine

2015-05-26 Thread James Hutton
Hi Ryan, 

I have never deployed anything to Google successfully. I'm a Google Cloud 
noob. What I and everyone else on this thread is trying to do is to follow 
Google's Hello world Node JS tutorial 
here: https://cloud.google.com/nodejs/getting-started/hello-world

The problem is that if you follow the instructions in the tutorial, then 
you get an error message when you try to deploy. Given that several people 
are having this problem, it looks like the instructions in the tutorial 
might be wrong.

I clicked on your link and it started prompting me to create a VM. I don't 
know whether that's a good or a bad thing.








On Tuesday, 26 May 2015 17:35:06 UTC+1, Ryan (Cloud Platform Support) wrote:

 If you have deployed it before without issue you can go here 
 https://console.developers.google.com/project/_/compute/instances?graph=GCE_CPU
  and 
 see what zone. If you have not then I need you to confirm you are deploying 
 the Node.js and the command line you used to deploy it.

 On Tuesday, May 26, 2015 at 12:28:04 PM UTC-4, James Hutton wrote:

 I think it is the EU Data Center. But I can't remember for sure. How can 
 I find out?

 On Tuesday, 26 May 2015 16:18:15 UTC+1, Ryan (Cloud Platform Support) 
 wrote:

 Where is the instance located?

 On Tuesday, May 26, 2015 at 10:57:29 AM UTC-4, James Hutton wrote:

 Hi Ryan

 I too have been getting this error. Here is the output from the 
 --verbosity debug option, per your request. I have replaced my app ID on 
 the 3rd line with X but it is otherwise verbatim.


 DEBUG: Host: appengine.google.com
 DEBUG: _Authenticate configuring auth; needs_auth=False
 DEBUG: Sending request to 
 https://appengine.google.com/api/vms/prepare?app_id=XXX 
 headers={'X-appcfg-api-version': '1', 'content-length': '0', 
 'Content-Type': 'application/octet-stream'} body=
 INFO: Attempting refresh to obtain initial access_token
 INFO: Refreshing access_token
 DEBUG: Got http error 400.
 DEBUG: Unexpected results: {'status': '400', 'alternate-protocol': 
 '443:quic,p=1', 'content-length': '82', 'expires': 'Fri, 01 Jan 1990 
 00:00:00 GMT', 'server': 'Google Frontend', 'cache-control': 'no-cache', 
 'date': 'Tue, 26 May 2015 14:49:35 GMT', 'content-type': 'text/plain'}
 DEBUG: (gcloud.preview.app.deploy) Server responded with code [400]:
   Bad Request Unexpected HTTP status 400
 Traceback (most recent call last):
   File 
 /home/james/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py, line 
 537, in Execute
 result = args.cmd_func(cli=self, args=args)
   File 
 /home/james/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py, 
 line 1089, in Run
 result = command_instance.Run(args)
   File 
 /home/james/google-cloud-sdk/lib/googlecloudsdk/appengine/app_commands/deploy.py,
  
 line 111, in Run
 client.PrepareVmRuntime()
   File 
 /home/james/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/appengine_client.py,
  
 line 281, in PrepareVmRuntime
 rpcserver.Send('/api/vms/prepare', app_id=self.project)
   File 
 /home/james/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/util.py, 
 line 347, in Send
 response = self._server.Send(*args, **kwargs)
   File 
 /home/james/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/external/tools/appengine_rpc_httplib2.py,
  
 line 269, in Send
 'Unexpected HTTP status %s' % status)
   File 
 /home/james/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/external/tools/appengine_rpc_httplib2.py,
  
 line 67, in RaiseHttpError
 raise urllib2.HTTPError(url, response_info.status, msg, 
 response_info, stream)
 RPCError: Server responded with code [400]:
   Bad Request Unexpected HTTP status 400
 ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:
   Bad Request Unexpected HTTP status 400




 On Monday, 25 May 2015 18:14:17 UTC+1, Ryan (Cloud Platform Support) 
 wrote:

 Salutations!

 Are you still seeing this issue? If you are please run the command 
 with the --verbosity debug flag and try in another region. 

 Thanks!

 On Friday, May 22, 2015 at 10:29:16 AM UTC-4, James Mortensen wrote:

 Hello,

 I'm going through all of the instructions here to deploy the 
 helloworld Node.js app to Google App Engine, and I get a 400 error with 
 no 
 other details as to the problem.  
 https://cloud.google.com/nodejs/getting-started/hello-world#running_hello_world

 Below is the output from the terminal:

 gcloud preview app deploy app.yaml --set-default

 You are about to deploy the following modules:

  - nodejs-start/default/20150522t194829  From: 
 [/Users/jem/Dev/1-hello-world/app.yaml]

 Do you want to continue (Y/n)?  


 ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:

   Bad Request Unexpected HTTP status 400

 Jamess-MacBook-Pro-3:1-hello-world jem$ 



 Anyone know what the problem is?  Thanks,

 James



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop

[google-appengine] Re: 400 Error when trying to deploy the Node.js helloworld app to appengine

2015-05-26 Thread James Hutton
Hi Ryan

I too have been getting this error. Here is the output from the 
--verbosity debug option, per your request. I have replaced my app ID on 
the 3rd line with X but it is otherwise verbatim.


DEBUG: Host: appengine.google.com
DEBUG: _Authenticate configuring auth; needs_auth=False
DEBUG: Sending request to 
https://appengine.google.com/api/vms/prepare?app_id=XXX 
headers={'X-appcfg-api-version': '1', 'content-length': '0', 
'Content-Type': 'application/octet-stream'} body=
INFO: Attempting refresh to obtain initial access_token
INFO: Refreshing access_token
DEBUG: Got http error 400.
DEBUG: Unexpected results: {'status': '400', 'alternate-protocol': 
'443:quic,p=1', 'content-length': '82', 'expires': 'Fri, 01 Jan 1990 
00:00:00 GMT', 'server': 'Google Frontend', 'cache-control': 'no-cache', 
'date': 'Tue, 26 May 2015 14:49:35 GMT', 'content-type': 'text/plain'}
DEBUG: (gcloud.preview.app.deploy) Server responded with code [400]:
  Bad Request Unexpected HTTP status 400
Traceback (most recent call last):
  File /home/james/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py, 
line 537, in Execute
result = args.cmd_func(cli=self, args=args)
  File 
/home/james/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py, 
line 1089, in Run
result = command_instance.Run(args)
  File 
/home/james/google-cloud-sdk/lib/googlecloudsdk/appengine/app_commands/deploy.py,
 
line 111, in Run
client.PrepareVmRuntime()
  File 
/home/james/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/appengine_client.py,
 
line 281, in PrepareVmRuntime
rpcserver.Send('/api/vms/prepare', app_id=self.project)
  File 
/home/james/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/util.py, 
line 347, in Send
response = self._server.Send(*args, **kwargs)
  File 
/home/james/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/external/tools/appengine_rpc_httplib2.py,
 
line 269, in Send
'Unexpected HTTP status %s' % status)
  File 
/home/james/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/external/tools/appengine_rpc_httplib2.py,
 
line 67, in RaiseHttpError
raise urllib2.HTTPError(url, response_info.status, msg, response_info, 
stream)
RPCError: Server responded with code [400]:
  Bad Request Unexpected HTTP status 400
ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:
  Bad Request Unexpected HTTP status 400




On Monday, 25 May 2015 18:14:17 UTC+1, Ryan (Cloud Platform Support) wrote:

 Salutations!

 Are you still seeing this issue? If you are please run the command with 
 the --verbosity debug flag and try in another region. 

 Thanks!

 On Friday, May 22, 2015 at 10:29:16 AM UTC-4, James Mortensen wrote:

 Hello,

 I'm going through all of the instructions here to deploy the helloworld 
 Node.js app to Google App Engine, and I get a 400 error with no other 
 details as to the problem.  
 https://cloud.google.com/nodejs/getting-started/hello-world#running_hello_world

 Below is the output from the terminal:

 gcloud preview app deploy app.yaml --set-default

 You are about to deploy the following modules:

  - nodejs-start/default/20150522t194829  From: 
 [/Users/jem/Dev/1-hello-world/app.yaml]

 Do you want to continue (Y/n)?  


 ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:

   Bad Request Unexpected HTTP status 400

 Jamess-MacBook-Pro-3:1-hello-world jem$ 



 Anyone know what the problem is?  Thanks,

 James



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/05dd0a78-038c-4133-a15e-36738aeaf4b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.