Closed dhylands closed 6 years ago
I tried disabling the thing-url-adapter on my gateway and I saw this in the gateway log:
2018-05-03 17:18:22.732 Unloading ThingURLAdapter 2018-05-03 17:18:22.758 thing-url: events.js:183 2018-05-03 17:18:22.759 thing-url: throw er; // Unhandled 'error' event 2018-05-03 17:18:22.759 thing-url: ^ 2018-05-03 17:18:22.759 thing-url: 2018-05-03 17:18:22.759 thing-url: Error: WebSocket was closed before the connection was established 2018-05-03 17:18:22.759 thing-url: at WebSocket.close (/home/pi/.mozilla-iot/addons/thing-url-adapter/node_modules/ws/lib/websocket.js:198:14) 2018-05-03 17:18:22.760 thing-url: at ThingURLDevice.closeWebsocket (/home/pi/.mozilla-iot/addons/thing-url-adapter/thing-url-adapter.js:139:15) 2018-05-03 17:18:22.761 thing-url: at ThingURLAdapter.unload (/home/pi/.mozilla-iot/addons/thing-url-adapter/thing-url-adapter.js:512:24) 2018-05-03 17:18:22.761 thing-url: at AddonManagerProxy.onMsg (/home/pi/mozilla-iot/gateway/src/plugin/addon-manager-proxy.js:129:17) 2018-05-03 17:18:22.762 thing-url: at IpcSocket.onData (/home/pi/mozilla-iot/gateway/src/plugin/ipc.js:151:10) 2018-05-03 17:18:22.762 thing-url: at emitOne (events.js:116:13) 2018-05-03 17:18:22.762 thing-url: at Socket.emit (events.js:211:7) 2018-05-03 17:18:22.767 thing-url: at addChunk (_stream_readable.js:263:12) 2018-05-03 17:18:22.767 thing-url: at readableAddChunk (_stream_readable.js:250:11) 2018-05-03 17:18:22.767 thing-url: at Socket.Readable.push (_stream_readable.js:208:10) 2018-05-03 17:18:22.781 Plugin: thing-url-adapter died, code = 1 restarting...
I tried disabling the thing-url-adapter on my gateway and I saw this in the gateway log: