MQTT真机异常
我们通过花生壳将MQTT的8084端口映射到外网,开发工具测试无异常,真机测试和上线版本测试无法连接MQTT服务, Cannot read property 'isConnected' of null;at "pages/message/message" page lifeCycleMethod onShow function TypeError: Cannot read property 'isConnected' of null at ye.noticeSubscribe (weapp:///pages/message/message.js:190:34) at ye.onShow (weapp:///pages/message/message.js:80:10) at ye.<anonymous> ([publib]:1:1240797) at ye.p.__callPageLifeTime__ ([publib]:1:1240542) at Tt ([publib]:1:1255097) at [publib]:1:1258442 at It ([publib]:1:1258519) at Function.<anonymous> ([publib]:1:1261479) at i.<anonymous> ([publib]:1:1231795) at i.emit ([publib]:1:401418) 错误信息我们的理解是因为真机没有连接到MQTT服务器,所以导致的出现以上报错信息,应该怎么解决呢?