koalazak / dorita980

Unofficial iRobot Roomba and Braava (i7/i7+, 980, 960, 900, e5, 690, 675, m6, etc) node.js library (SDK) to control your robot
MIT License
964 stars 149 forks source link

Endpoint not found #166

Closed S54Mpower closed 1 year ago

S54Mpower commented 2 years ago

Not sure if this is still alive,

I have setup the rest980, running it as host, getting correct response from roomba when checking for password with 'npm run getpassword', I am running it on port 3001. But when going to http://myip:3001/metrics I am getting following error:

Error: Endpoint not found. at /home/ubuntu/rest980/app.js:62:13 at Layer.handle [as handle_request] (/home/ubuntu/rest980/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:328:13) at /home/ubuntu/rest980/node_modules/express/lib/router/index.js:286:9 at Function.process_params (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:346:12) at next (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:280:10) at /home/ubuntu/rest980/node_modules/express/lib/router/index.js:646:15 at next (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:265:14) at jsonParser (/home/ubuntu/rest980/node_modules/body-parser/lib/types/json.js:110:7) at Layer.handle [as handle_request] (/home/ubuntu/rest980/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:328:13) at /home/ubuntu/rest980/node_modules/express/lib/router/index.js:286:9 at Function.process_params (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:346:12) at next (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:280:10) at Function.handle (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:175:3) at router (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:47:12) at Layer.handle [as handle_request] (/home/ubuntu/rest980/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:328:13) at /home/ubuntu/rest980/node_modules/express/lib/router/index.js:286:9 at Function.process_params (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:346:12) at next (/home/ubuntu/rest980/node_modules/express/lib/router/index.js:280:10) at authHandler (/home/ubuntu/rest980/app.js:23:48)

Can anyone guide me in the right direction?