harmony-api icon indicating copy to clipboard operation
harmony-api copied to clipboard

list commands ok but 404 on GET

Open mcnahum opened this issue 7 years ago • 2 comments

since few weeks my implementation of harmony-api stop working

I'm using http request to do all: http://192.168.1.1:8282/hubs/harmonyhub/devices/vivitek-projecteur/commands/ give me the correct commands but as soon as I post any command after it's not working and give me a 404 e.g. Cannot GET /hubs/harmonyhub/devices/vivitek-projecteur/commands/menu

that was perfectly working few weeks ago, the hamorny app still working correctly .... where did I missed something...?

edit: I also tried put it on a Pi (brand new) to test and it's the same...

mcnahum avatar Oct 21 '18 11:10 mcnahum

What node controller are you using for the harmony-api? If you are using PM2, try taking a look at the logs using "pm2 logs [name of app]". That should give you a bit more info to troubleshoot with.

code-in-progress avatar Oct 27 '18 11:10 code-in-progress

the only information I see on logs is: '[2018-11-04T22:57:11.584Z] - ::ffff:192.168.1.240 - GET /hubs/harmonyhub/devices/vivitek-projecteur/commands/select 404 0.954 m s - 197b'

but before I have a: '[2018-11-04T22:57:02.550Z] - ::ffff:192.168.1.240 - GET /hubs/harmonyhub/devices/vivitek-projecteur/commands/ 200 1.305 ms - 592b'

mcnahum avatar Nov 04 '18 22:11 mcnahum