MQTT Software extension odd behavior
-
I am very new to M5Stack, however have been working with ESP for quite some time and thought id give UiFlow 2 a go.
I have created a project that connects to my wifi (secured vlan) and I'm trying to set up MQTT to a local MQTT broker (not public one) the vlan with the M5Stack does not have internet access. I have pushed my code to the device and it loads as expected, however MQTT is failing and im seeing the following in the log:
E (3139) esp-tls: [sock=56] delayed connect error: Connection reset by peer
E (3140) transport_base: Failed to open a new connection: 32772
E (3143) mqtt_client: Error transport connectOn top of that, I can see the device trying to connect to a public IP on 1883 (the MQTT port), however my code is configured to use a local port for MQTT.
I'm not sure what underlying code is trying to connect to a public IP (104.208.113.224) but the fact i haven't coded the device to connect externally and its trying to is very suspicious, can anyone explain what could be happening here ?
-
@oracle_sod and your code is.....