MQTT connection error/does not work with WiFi Manager
Posted: Tue Mar 26, 2019 6:24 pm
Hi,
I am trying to integrate tcp mqtt example from ESP IDF
https://github.com/espressif/esp-mqtt/t ... s/mqtt_tcp
and this wifi manager : https://github.com/tonyp7/esp32-wifi-manager
If I run the example individually, it connects and sends data, there is no issue. But as I had integrated it, after the wifi connection to my router is established, I am unable to connect to MQTT broker. The broker is same for all the cases and router also same. there is no issue. But I am unable to connect it. It shows E (47630) MQTT_CLIENT: Error transport connect always
I saw there is an issue here https://github.com/tonyp7/esp32-wifi-manager/issues/6
It says DNS issue might be there. But in this case how can it run if only mqtt is used, not wifi manager altogether.
Can anyone please help me on this matter ?
I am trying to integrate tcp mqtt example from ESP IDF
https://github.com/espressif/esp-mqtt/t ... s/mqtt_tcp
and this wifi manager : https://github.com/tonyp7/esp32-wifi-manager
If I run the example individually, it connects and sends data, there is no issue. But as I had integrated it, after the wifi connection to my router is established, I am unable to connect to MQTT broker. The broker is same for all the cases and router also same. there is no issue. But I am unable to connect it. It shows E (47630) MQTT_CLIENT: Error transport connect always
I saw there is an issue here https://github.com/tonyp7/esp32-wifi-manager/issues/6
It says DNS issue might be there. But in this case how can it run if only mqtt is used, not wifi manager altogether.
Can anyone please help me on this matter ?