tkurki / signalk-mqtt-gw

Signal K server plugin that provides gateway functionality between Signal K and MQTT
Apache License 2.0
14 stars 7 forks source link

mqtt server not starting #19

Closed yumminova closed 4 years ago

yumminova commented 4 years ago

When i create a listener it runs ok, but when i try to start it as server it fails.

Nov 21 09:41:24 error starting plugin: SchemaError: Expected schema to be an object or boolean Nov 21 09:41:24 SchemaError: Expected schema to be an object or boolean at Validator.validate (/home/martin/.signalk/node_modules/jsonschema/lib/validator.js:110:11) at Object.validate (/home/martin/.signalk/node_modules/mosca/lib/options.js:264:26) at new Server (/home/martin/.signalk/node_modules/mosca/lib/server.js:104:34) at startLocalServer (/home/martin/.signalk/node_modules/signalk-mqtt-gw/index.js:163:14) at Object.plugin.start (/home/martin/.signalk/node_modules/signalk-mqtt-gw/index.js:105:7) at doPluginStart (/usr/local/lib/node_modules/signalk-server/lib/interfaces/plugins.js:251:20) at err (/usr/local/lib/node_modules/signalk-server/lib/interfaces/plugins.js:387:21) at /usr/local/lib/node_modules/signalk-server/node_modules/graceful-fs/graceful-fs.js:61:14 at FSReqWrap.args [as oncomplete] (fs.js:140:20) Nov 21 09:41:24 POST /skServer/plugins/signalk-mqtt-gw/config 200 0.948 ms - 46

tkurki commented 4 years ago

I’d guess this is the same as #18 . You can downgrade or wait for a fix. Closing this as seems duplicate.