trying to use MQTT code in react native from the example provided
const options = {
host: 'broker.emqx.io',
port: 8083,
path: '/testTopic',
id: 'id_' + parseInt(Math.random()*100000)
};
Its returning me the error
Connect failed!
{"errorCode": 7, "errorMessage": "AMQJS0007E Socket error:undefined.", "invocationContext": undefined}
what could be the issue ?