pdmangel / node-red-contrib-openhab2

Other
20 stars 14 forks source link

ERROR {"type":"error","status":404} #26

Closed lsafelix75 closed 6 years ago

lsafelix75 commented 6 years ago

I am getting a lot of this error on DEBUG view. I suspect it has to do with openhab-in. I am running the latest contrib-openhab2 1.1.3 and my openhab is 2.2.0 stable. and my openhab-in state always remain "?". Any idea what's wrong? Here is the complete log:

Welcome to Node-RED

5 Mar 06:26:08 - [info] Node-RED version: v0.17.5 5 Mar 06:26:08 - [info] Node.js version: v8.9.4 5 Mar 06:26:08 - [info] Linux 3.4.113-sun8i arm LE 5 Mar 06:26:10 - [info] Loading palette nodes WARNING The program 'node' uses the Apple Bonjour compatibility layer of Avahi. WARNING Please fix your application to use the native API of Avahi! WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node WARNING The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi. WARNING Please fix your application to use the native API of Avahi! WARNING For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister 5 Mar 06:26:18 - [warn] ------------------------------------------------------ 5 Mar 06:26:18 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node 5 Mar 06:26:18 - [warn] ------------------------------------------------------ 5 Mar 06:26:18 - [info] Settings file : /home/pi/.node-red/settings.js 5 Mar 06:26:18 - [info] User directory : /home/pi/.node-red 5 Mar 06:26:18 - [info] Flows file : /home/pi/.node-red/flows_orangepilite.json 5 Mar 06:26:18 - [info] Server now running at http://127.0.0.1:1880/ 5 Mar 06:26:18 - [debug] loaded flow revision: a77a3a25efb997571847888408875557 5 Mar 06:26:18 - [debug] red/runtime/nodes/credentials.load : no user key present 5 Mar 06:26:18 - [debug] red/runtime/nodes/credentials.load : using default key 5 Mar 06:26:19 - [info] Starting flows 5 Mar 06:26:19 - [debug] red/nodes/flows.start : starting flow : global 5 Mar 06:26:19 - [debug] red/nodes/flows.start : starting flow : 9fef4731.10e258 5 Mar 06:26:19 - [debug] red/nodes/flows.start : starting flow : d6b26a22.c9ffe 5 Mar 06:26:19 - [info] [openhab2-controller:Openhab2] {"id":"78693fc3.5cc51","type":"openhab2-controller","z":"","name":"Openhab2","protocol":"http","host":"127.0.0.1","port":"8080","path":"","username":"","password":"","_users":["852f7a50.d1b578","b481e135.b34e5","1a006313.6eeead","df9fbc9c.4062d","5048fa3b.7c0bb4","75d5b9c.9686d48","5e48001e.a6ab7","f68ed811.43b148","e7435621.0a9ec8","5980d0af.c8bda","97d03e77.2464c"]} 5 Mar 06:26:19 - [info] Started flows 5 Mar 06:26:19 - [audit] {"event":"comms.open","level":98,"timestamp":1520202379357} 5 Mar 06:26:19 - [audit] {"event":"comms.auth","user":{"username":"admin","permissions":"*"},"level":98,"timestamp":1520202379383} 5 Mar 06:26:24 - [warn] [openhab2-controller:Openhab2] ERROR {"type":"error","status":404} 5 Mar 06:26:34 - [warn] [openhab2-controller:Openhab2] ERROR {"type":"error","status":404} 5 Mar 06:26:44 - [warn] [openhab2-controller:Openhab2] ERROR {"type":"error","status":404} 5 Mar 06:26:54 - [warn] [openhab2-controller:Openhab2] ERROR {"type":"error","status":404} 5 Mar 06:27:04 - [warn] [openhab2-controller:Openhab2] ERROR {"type":"error","status":404}

Cheers

lsafelix75 commented 6 years ago

Apparently this is a known issue in OpenHab.

https://community.openhab.org/t/cors-problem-at-rest-api/3712/11