Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Debug Node.js app on Bluemix

270006FKDX gravatar image
Question by Cesar Orozco  (299) | May 08, 2015 at 01:52 PM node.jsibmclouddebugdebugging

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?

People who like this

  0   Show 2
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
110000B1QW gravatar image Jarek Gawor (851)   May 08, 2015 at 03:00 PM 0
Share

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.

270006FKDX gravatar image Cesar Orozco (299) Jarek Gawor (851)   May 11, 2015 at 09:39 AM 0
Share

But if I remove /bluemix-debug/manage from the URL, I can access the app without problems.

2 answers

  • Sort: 
060001WYGB gravatar image

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.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
50V9XJ0QAH gravatar image

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

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

55 people are following this question.

Answers

Answers & comments

Related questions

Problem when deploying Node.JS apps to Bluemix 0 Answers

Unable to use the bluemix-debug tools on a nodejs application 4 Answers

When I try to debug my Node.js application I get prompted for a login/password 1 Answer

How do you debug a failure in a node.js app? 2 Answers

Newbie needs pointers in debugging buildpack compilation failure for node.js/express app, default buildpack 3 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges