简体   繁体   English

上载Node.js应用程序时的IBM Bluemix问题

[英]IBM Bluemix issue in uploading nodejs app

An instance of the app crashed: failed to accept connections within health check timeout exit status: 1, CRASHED 应用实例崩溃:在运行状况检查超时退出状态内无法接受连接:1,已崩溃

The detailed log is - 2015-05-12T16:44:58.69-0700 [API/10]     OUT App instance exited with guid 4887f
db9-8549-4aa1-b803-cb064e2ff407 payload: {"cc_partition"=>"default", "droplet"=>
"4887fdb9-8549-4aa1-b803-cb064e2ff407", "version"=>"ec5e927e-937e-477d-8b8b-442f
9ff2ec54", "instance"=>"5d1eecbb9cfc46d4af4edba7c731ddf1", "index"=>0, "reason"=
>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections
within health check timeout", "crash_timestamp"=>1431474298}

This is probably because your code is not setup to listen on the Bluemix assigned port. 这可能是因为您的代码未设置为侦听Bluemix分配的端口。 Because of this, Bluemix notices that your app is not accepting connections, and so it stops (crashes) the app. 因此,Bluemix注意到您的应用程序不接受连接,因此它停止(崩溃)了该应用程序。

more details are below: 更多详细信息如下:

https://developer.ibm.com/answers/questions/22585/pushing-nodejs-app.html https://developer.ibm.com/answers/questions/22585/pushing-nodejs-app.html

This indicates a problem with your application. 这表明您的应用程序有问题。 It failed to start. 它无法启动。

cf logs <app name> --recent

This command will give you the logs which should help you. 此命令将为您提供日志,这将对您有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM