I'm trying to use Bluemix Live Debug following this doc: https://www.ng.bluemix.net/docs/manageapps/bluemixlive.html#bluemixlivedebugger
This is my manifest.yml:
---
env:
ENABLE_BLUEMIX_DEV_MODE: "true"
This is my package.json:
{
"name": "myApp",
"version": "0.0.1",
"description": "Insert description here",
"dependencies": {
"url": "*",
"ibmbluemix": "*",
"ibmdata": "*"
},
"scripts": {
"start": "node app.js"
}
}
I can access the app like this:
http://<miApp>.mybluemix.net/
Then, according to the doc I should access the debugger using this url:
http://<miApp>.mybluemix.net/bluemix-debug/manage
But I'm getting this error:
404 Not Found: Requested route ('<miApp>.mybluemix.net') does not exist.
Am I missing something?
If you are getting "Requested route does not exist" error that means you can't even access the application under http://.mybluemix.net/. That usually means that there was a staging or some other error during deployment. Check your logs - run cf logs miApp --recent
.
But if I remove /bluemix-debug/manage
from the URL, I can access the app without problems.
Answer by mamacdon (486) | May 11, 2015 at 04:40 PM
I'm trying to determine why /bluemix-debug/manage
could return "Requested route ('miApp.mybluemix.net') does not exist" while the main URL for your app is up and running. Bluemix generates that error message when miApp.mybluemix.net
is unmapped or points to a stopped/crashed app. But since you managed to load the root URL of your app, then the route is clearly mapped and the app is running (at least some of the time).
A few troubleshooting suggestions:
Does the Bluemix Dashboard show any crashes for your app? Maybe you tried to access /bluemix-debug/manage
while the app was down. If you see any "out of memory" messages, increase the memory limit in your manifest.yml
, redeploy, and try again.
From the Dashboard, check if the route miApp.mybluemix.net
is bound to 2 different applications, or if your app is running with > 1 instances. When this happens, requests will get routed to different apps or instances, giving inconsistent results. Make sure that miApp.mybluemix.net
is only used by a single app having 1 instance.
The app might not be in dev mode. From the Dashboard, check its environment variables. Is ENABLE_BLUEMIX_DEV_MODE
correctly set to true
?
If your manifest.yml
contains a command
, remove it and try redeploying.
Answer by Poonam_Bluemix (1) | Jun 05, 2017 at 02:26 AM
HI , I had encountered a similar error ...When I checked the variable value on the dashboard it was shown as : ENABLE_BLUEMIX_DEV_MODE: "true" I removed it and added a new env variable as : ENABLE_BLUEMIX_DEV_MODE: true
And this worked ...
Regards, Poonam