"exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1445905878} 2015-10-26T17:31:28.96-0700 [API/1] OUT App instance exited with guid 9e587ed8-84c8-4913-883d-ffb50105f492 payload: {"cc_partition"=>"default", "droplet"=>"9e587ed8-84c8-4913-883d-ffb50105f492", "version"=>"2adf8894-83a9-4eb5-a033-7aa9fda7e5db", "instance"=>"611c799b1aaf4f97855b848b9708c9d0", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1445905840} 2015-10-26T17:31:54.21-0700 [DEA/43] OUT Starting app instance (index 0) with guid 9e587ed8-84c8-4913-883d-ffb50105f492 2015-10-26T17:31:58.22-0700 [App/0] OUT 2015-10-26T17:31:58.22-0700 [App/0] OUT > predix-seed@1.1.2 start /home/vcap/app 2015-10-26T17:31:58.22-0700 [App/0] OUT > grunt serve 2015-10-26T17:31:58.22-0700 [App/0] ERR sh: 1: grunt: not found 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! Linux 3.19.0-25-generic 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! argv "/home/vcap/app/vendor/node/bin/node" "/home/vcap/app/vendor/node/bin/npm" "start" 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! node v0.12.2 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! npm v2.7.4 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! code ELIFECYCLE 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! predix-seed@1.1.2 start: grunt serve
2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! Exit status 127 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! Failed at the predix-seed@1.1.2 start script 'grunt serve'. 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! This is most likely a problem with the predix-seed package, 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! not with npm itself. 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! Tell the author that this fails on your system: 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! grunt serve 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! You can get their info via: 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! npm owner ls predix-seed 2015-10-26T17:31:58.23-0700 [App/0] ERR npm ERR! There is likely additional logging output above. 2015-10-26T17:31:58.24-0700 [App/0] ERR npm ERR! Please include the following file with any support request: 2015-10-26T17:31:58.24-0700 [App/0] ERR npm ERR! /home/vcap/app/npm-debug.log 2015-10-26T17:31:58.26-0700 [DEA/43] ERR Instance (index 0) failed to start accepting connections 2015-10-26T17:31:58.26-0700 [API/2] OUT App instance exited with guid 9e587ed8-84c8-4913-883d-ffb50105f492 payload: {"cc_partition"=>"default", "droplet"=>"9e587ed8-84c8-4913-883d-ffb50105f492", "version"=>"2adf8894-83a9-4eb5-a033-7aa9fda7e5db", "instance"=>"4b099cf60d2648b185061c7aca07b2d6", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1445905918}
Answer by Greg Stroup · Oct 27, 2015 at 04:54 PM
Hi, Are you trying to start the Reference App, or the Seed App? Seems like you're trying to run "grunt serve" in cloud foundry? That's probably not what you want to do. We use "grunt serve" to run a local node web server for development, on your laptop. But when you run in cloud foundry, we use nginx as the web server. Can you share your manifest.yml file?