Hello … Today I have a problem with /api/devices. Pimatic works very well. The only problem is when I try to use Pimate (ios) and Pimatic Location (ios).
The only user is admin.
"error [pimatic]: Error on incoming http request to /api/devices: User not
found "
"11:02:35.041 [pimatic] error: Error on incoming http request to /api/devices: User not found
11:02:35.076 [pimatic] debug: Error: User not found
11:02:35.076 [pimatic] debug:> at UserManager.hasPermission (/home/pi/pimatic-app/node_modules/pimatic/lib/users.coffee:60:15)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/lib/framework.coffee:975:50
11:02:35.076 [pimatic] debug:> at Layer.handle [as handle_request] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/layer.js:95:5)
11:02:35.076 [pimatic] debug:> at next (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/route.js:137:13)
11:02:35.076 [pimatic] debug:> at Route.dispatch (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/route.js:112:3)
11:02:35.076 [pimatic] debug:> at Layer.handle [as handle_request] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/layer.js:95:5)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:281:22
11:02:35.076 [pimatic] debug:> at Function.process_params (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:335:12)
11:02:35.076 [pimatic] debug:> at next (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:275:10)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/lib/framework.coffee:323:18
11:02:35.076 [pimatic] debug:> at Layer.handle [as handle_request] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/layer.js:95:5)
11:02:35.076 [pimatic] debug:> at trim_prefix (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:317:13)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:284:7
11:02:35.076 [pimatic] debug:> at Function.process_params (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:335:12)
11:02:35.076 [pimatic] debug:> at next (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:275:10)
11:02:35.076 [pimatic] debug:> at _cookieSession (/home/pi/pimatic-app/node_modules/pimatic/node_modules/cookie-session/index.js:126:5)
11:02:35.076 [pimatic] debug:> at Layer.handle [as handle_request] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/layer.js:95:5)
11:02:35.076 [pimatic] debug:> at trim_prefix (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:317:13)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:284:7
11:02:35.076 [pimatic] debug:> at Function.process_params (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:335:12)
11:02:35.076 [pimatic] debug:> at next (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:275:10)
11:02:35.076 [pimatic] debug:> at jsonParser (/home/pi/pimatic-app/node_modules/pimatic/node_modules/body-parser/lib/types/json.js:103:7)
11:02:35.076 [pimatic] debug:> at Layer.handle [as handle_request] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/layer.js:95:5)
11:02:35.076 [pimatic] debug:> at trim_prefix (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:317:13)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:284:7
11:02:35.076 [pimatic] debug:> at Function.process_params (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:335:12)
11:02:35.076 [pimatic] debug:> at next (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:275:10)
11:02:35.076 [pimatic] debug:> at urlencodedParser (/home/pi/pimatic-app/node_modules/pimatic/node_modules/body-parser/lib/types/urlencoded.js:91:7)
11:02:35.076 [pimatic] debug:> at Layer.handle [as handle_request] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/layer.js:95:5)
11:02:35.076 [pimatic] debug:> at trim_prefix (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:317:13)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:284:7
11:02:35.076 [pimatic] debug:> at Function.process_params (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:335:12)
11:02:35.076 [pimatic] debug:> at next (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:275:10)
11:02:35.076 [pimatic] debug:> at cookieParser (/home/pi/pimatic-app/node_modules/pimatic/node_modules/cookie-parser/index.js:56:14)
11:02:35.076 [pimatic] debug:> at Layer.handle [as handle_request] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/layer.js:95:5)
11:02:35.076 [pimatic] debug:> at trim_prefix (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:317:13)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:284:7
11:02:35.076 [pimatic] debug:> at Function.process_params (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:335:12)
11:02:35.076 [pimatic] debug:> at next (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:275:10)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/lib/framework.coffee:264:9
11:02:35.076 [pimatic] debug:> at Layer.handle [as handle_request] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/layer.js:95:5)
11:02:35.076 [pimatic] debug:> at trim_prefix (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:317:13)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:284:7
11:02:35.076 [pimatic] debug:> at Function.process_params (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:335:12)
11:02:35.076 [pimatic] debug:> at next (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:275:10)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/connect-timeout/index.js:70:5
11:02:35.076 [pimatic] debug:> at Layer.handle [as handle_request] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/layer.js:95:5)
11:02:35.076 [pimatic] debug:> at trim_prefix (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:317:13)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:284:7
11:02:35.076 [pimatic] debug:> at Function.process_params (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:335:12)
11:02:35.076 [pimatic] debug:> at next (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:275:10)
11:02:35.076 [pimatic] debug:> at methodOverride (/home/pi/pimatic-app/node_modules/pimatic/node_modules/method-override/index.js:65:14)
11:02:35.076 [pimatic] debug:> at Layer.handle [as handle_request] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/layer.js:95:5)
11:02:35.076 [pimatic] debug:> at trim_prefix (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:317:13)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:284:7
11:02:35.076 [pimatic] debug:> at Function.process_params (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:335:12)
11:02:35.076 [pimatic] debug:> at next (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:275:10)
11:02:35.076 [pimatic] debug:> at expressInit (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/middleware/init.js:40:5)
11:02:35.076 [pimatic] debug:> at Layer.handle [as handle_request] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/layer.js:95:5)
11:02:35.076 [pimatic] debug:> at trim_prefix (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:317:13)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:284:7
11:02:35.076 [pimatic] debug:> at Function.process_params (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:335:12)
11:02:35.076 [pimatic] debug:> at next (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:275:10)
11:02:35.076 [pimatic] debug:> at query (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/middleware/query.js:44:5)
11:02:35.076 [pimatic] debug:> at Layer.handle [as handle_request] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/layer.js:95:5)
11:02:35.076 [pimatic] debug:> at trim_prefix (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:317:13)
11:02:35.076 [pimatic] debug:> at /home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:284:7
11:02:35.076 [pimatic] debug:> at Function.process_params (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:335:12)
11:02:35.076 [pimatic] debug:> at next (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:275:10)
11:02:35.076 [pimatic] debug:> at Function.handle (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/router/index.js:174:3)
11:02:35.076 [pimatic] debug:> at EventEmitter.handle (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/application.js:174:10)
11:02:35.076 [pimatic] debug:> at Server.app (/home/pi/pimatic-app/node_modules/pimatic/node_modules/express/lib/express.js:38:9)
11:02:35.076 [pimatic] debug:> at emitTwo (events.js:87:13)
11:02:35.076 [pimatic] debug:> at Server.emit (events.js:172:7)
11:02:35.076 [pimatic] debug:> at HTTPParser.parserOnIncoming [as onIncoming] (_http_server.js:536:12)
11:02:35.076 [pimatic] debug:> at HTTPParser.parserOnHeadersComplete (_http_common.js:103:23)"
I tried http://admin:pass@External IP/api/devices . The same error.
Thanks in advance for answers.