Skip to content

Instantly share code, notes, and snippets.

@bsommardahl
Created May 17, 2018 12:23
Show Gist options
  • Save bsommardahl/52ead987ff0b4e5c177cd2e46ae8852b to your computer and use it in GitHub Desktop.
Save bsommardahl/52ead987ff0b4e5c177cd2e46ae8852b to your computer and use it in GitHub Desktop.
Mosca Output at Error
Mosca server is up and running
{"pid":6798,"hostname":"byron-virtual-machine","name":"mosca","level":30,"time":1526558598890,"msg":"authentication denied","client":"mqttjs_5679f3cb","v":1}
{"pid":6798,"hostname":"byron-virtual-machine","name":"mosca","level":30,"time":1526558598893,"msg":"authentication denied","client":"mqttjs_11a65328","v":1}
events.js:167
throw er; // Unhandled 'error' event
^
Error: Connection refused: Not authorized
at MqttClient._handleConnack (/home/byron/node-typescript-boilerplate/node_modules/mqtt/lib/client.js:893:15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment