You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and keeps coming up with the following error. Any idea how to fix this?
Thanks
Failed to load c++ bson extension, using pure JS version
{"name":"mosca","hostname":"raspberrypi","pid":21357,"level":30,"port":1883,"msg":"server started","time":"2014-06-15T11:26:56.813Z","v":0}
Skynet MQTT server started on port 3000
TypeError: Cannot call method 'toString' of undefined
at EventEmitter.authenticate (/home/pi/skynet/mqtt-server.js:43:82)
at Client.handleConnect (/home/pi/skynet/node_modules/mosca/lib/client.js:292:15)
at MqttServerClient.<anonymous> (/home/pi/skynet/node_modules/mosca/lib/client.js:142:10)
at MqttServerClient.g (events.js:180:16)
at MqttServerClient.EventEmitter.emit (events.js:95:17)
at MqttServerClient.Connection._write (/home/pi/skynet/node_modules/mqtt/lib/connection.js:187:12)
at doWrite (_stream_writable.js:221:10)
at writeOrBuffer (_stream_writable.js:211:5)
at MqttServerClient.Writable.write (_stream_writable.js:180:11)
at write (_stream_readable.js:583:24)
The text was updated successfully, but these errors were encountered:
Hi,
Tried running the broker as
node mqtt-server.js
and keeps coming up with the following error. Any idea how to fix this?
Thanks
The text was updated successfully, but these errors were encountered: