Hi everybody.
I'm teaching IoT to a class of students, which are experiencing a problem in the MQTT connection.
MQTT (mosca) node is not successfully connecting and is giving this error:
schemaerror: Expected "schema" to be an object or boolean
Apparently is related to jsonschema? We found this.
The interesting thing is that just 6 out of 20 are experiencing the issue, possibly unrelated to the version of npm or node js (nothing changed when updated)
Thanks in advance for your help!
Edit1: a quick fix found by a student is shifting to Aedes[1]
Hi Steve.
Thanks for the answer.
We did use aedes, yet everybody on his own node-red instance.
What we are trying to achieve are several interaction between a selfhosted Node-RED cloud and and Arduino MKR1010.
While Aedes is properly working within Node-RED, Arduino is having an hard time to connect to the broker.
I guess this problem is not related or addressed to this forum though.