isusanin / google-cloud-sdk

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

NodeJS Managed VM receiving 403 on datastore writes (after using gcloud ...deploy --remote) #194

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Dear Google Team & GAE Enthusiasts:

I just tried deploying my NodeJS app to my project with the new remote 
dockerless option: 
"gcloud preview app deploy app.yaml --set-default --remote"
The deployment process seemed to be fine -- meaning no errors occurred while 
deploying.

After the deployment was performed, Interestingly all my GET requests that read 
data from the datastore are successful.

However, when I try to POST where the data is supposed to be written to the 
datastore, I keep receiving the 'Forbidden' 403.

This is very weird and awkard since when I run my node app on my localhost, I 
am able to read/store to my datastore cloud instance without issues.

Please let me know if this might not be the proper place to address this issue 
although I've already opened tickets on multiple places already.

I already opened a similar ticket here:
https://github.com/GoogleCloudPlatform/gcloud-node/issues/783
https://github.com/GoogleCloudPlatform/gcloud/issues/31
https://code.google.com/p/googleappengine/issues/detail?id=12222&thanks=12222&ts
=1438875706

What steps will reproduce the problem?
"gcloud preview app deploy app.yaml --set-default --remote"

What is the output of 'gcloud info'?

$ gcloud preview app deploy app.yaml --set-default --remote
You are about to deploy the following modules:
 - bq-datapipeline/dupestores (from [/Users/camilosilva/Dev/ctx/datacon/dupestores/app.yaml])
     Deployed URL: [https://dupestores-dot-bq-datapipeline.appspot.com]

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

Beginning deployment...
Verifying that Managed VMs are enabled and ready.

Provisioning remote build service.
Created 
[https://www.googleapis.com/compute/v1/projects/bq-datapipeline/global/firewalls
/allow-gae-builder].
NAME              NETWORK SRC_RANGES RULES    SRC_TAGS TARGET_TAGS
allow-gae-builder default 0.0.0.0/0  tcp:2376          gae-builder
Copying certificates for secure access. You may be prompted to create an SSH 
keypair.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Warning: Permanently added '104.197.118.148' (RSA) to the list of known hosts.
Building and pushing image for module [dupestores]
Updating module [dupestores]...-Deleted 
[https://www.googleapis.com/compute/v1/projects/bq-datapipeline/zones/us-central
1-f/instances/gae-builder-vm-20150806t084756].
Updating module [dupestores]...done.
Deployed module [dupestores] to 
[https://dupestores-dot-bq-datapipeline.appspot.com]

Please provide any additional information below.
(See above)

Thanks for your help.
Camilo.

Original issue reported on code.google.com by camilo.s...@citrix.com on 6 Aug 2015 at 3:58

GoogleCodeExporter commented 8 years ago
This looks like a duplicate of #195 (which came after this, but describes the 
issue in more detail).

Please follow updates there.

Original comment by z...@google.com on 10 Aug 2015 at 4:48