Deploying twitter sample: App is not running in Bluemix
Accepted answer
When I checked the logs, it said:
bluemix-sample-tia-node: mongo: url: mongodb://localhost:27017/bluemix-sample-tia-node
bluemix-sample-tia-node: connecting...
bluemix-sample-tia-node: error connecting; err: Error: failed to connect to [localhost:27017]
bluemix-sample-tia-node: PLEASE ENSURE THAT MONGODB IS STARTED AND BOUND TO YOUR APP BEFORE STARTING ON BLUEMIX.
bluemix-sample-tia-node: error initializing mongodb: Error: failed to connect to [localhost:27017]
The manifest doesn't reference mongo, so I suspect there's a missing dependency somewhere. Not sure how the example code got broken, but I'll mention it to the developers
Comments
Thx much
How could I have checked the logs ? Bluemix did not give me a link...
I got this instead
BXNUI2034E: Error while getting instances resource. Cloud Foundry issued the following message: "File error: Request failed for app: tia_node, instance: 0 and path: / as the instance is not found." To get help, refer to the Troubleshooting topic in the IBM Bluemix Documentation.
Added Mongo DB as service in my IBM Bluemix project -> success
I used the "logs" link in the web IDE: