The mosca broker will broke by the TypeError: Cannot convert undefined or null to object error message. It occurs with the code snippet var subs = Object.keys(subscriptions);
It seems that the subscriptions is null or undefined, which means that the following function in the abstract.js does not work well :
Hi, I use a mqtt client to connect to mosca broker with the following options:
The mosca broker will broke by the
TypeError: Cannot convert undefined or null to object
error message. It occurs with the code snippetvar subs = Object.keys(subscriptions);
It seems that the
subscriptions
is null or undefined, which means that the following function in the abstract.js does not work well :Is any idea ? Thanks a lot.