DEADLINE_EXCEEDED normally takes place when some part of the deploy process 
times out. It's not entirely clear from the console output why this is 
timing out. From the output above, the following seems to be happening:

   - Executing a npm deploy script
   - Script executes gcloud config set project datacabinet-backend && 
   gcloud preview app deploy app.yaml and fails
   - gcloud preview app deploy times out returning DEADLINE_EXCEEDED error
   - npm catches the exception and returns
   
If this is not the case, please clarify what your actual build/deploy steps 
are. If this is the case, I would suggest the --verbosity debug 
<https://cloud.google.com/sdk/gcloud/reference/#--verbosity> flag with the 
gcloud 
preview app deploy command for more informative gcloud output and 
separating the two gcloud commands:
> gcloud config set project datacabinet-backend
> gcloud preview app deploy app.yaml --verbosity debug

This may provide a better idea of where in the deploy process this timeout 
occurs. Please note that very often, timeout errors are best addressed with 
retries.

On Wednesday, April 6, 2016 at 12:01:46 AM UTC-4, pankaj kumar wrote:
>
> We have a custom runtime docker container that I deploy on google app 
> engine. While running the command "gcloud preview app deploy app.yaml", I 
> often get the following error but sometimes it goes through. I am not sure 
> what deadline gets exceeded.
> Where should I look to find the deadline that I am exceeding?
>
> Thanks
>
> ERROR: (gcloud.preview.app.deploy) Error Response: [4] DEADLINE_EXCEEDED
>
> npm ERR! Linux 3.19.0-51-generic
> npm ERR! argv "/nodejs/bin/node" "/nodejs/bin/npm" "run" "deploy"
> npm ERR! node v4.2.3
> npm ERR! npm  v3.8.5
> npm ERR! code ELIFECYCLE
> npm ERR! [email protected] deploy: ` gcloud config set project 
> datacabinet-backend && gcloud preview app deploy app.yaml`
> npm ERR! Exit status 1
> npm ERR! 
> npm ERR! Failed at the [email protected] deploy script ' gcloud config set 
> project datacabinet-backend && gcloud preview app deploy app.yaml'.
> npm ERR! Make sure you have the latest version of node.js and npm 
> installed.
> npm ERR! If you do, this is most likely a problem with the DataCabinet 
> package,
> npm ERR! not with npm itself.
> npm ERR! Tell the author that this fails on your system:
> npm ERR!      gcloud config set project datacabinet-backend && gcloud 
> preview app deploy app.yaml
> npm ERR! You can get information on how to open an issue for this project 
> with:
> npm ERR!     npm bugs DataCabinet
> npm ERR! Or if that isn't available, you can get their info via:
> npm ERR!     npm owner ls DataCabinet
> npm ERR! There is likely additional logging output above.
>
> npm ERR! Please include the following file with any support request:
> npm ERR!     /datacabinet-backend/npm-debug.log
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f13da571-5785-42f7-a415-ea82b7cc67f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to