MQTT example not working

Ceranthor
Posts: 7
Joined: Tue Jul 12, 2022 9:51 am

MQTT example not working

Postby Ceranthor » Thu Oct 06, 2022 1:32 pm

Hi i am trying to use mqtt example from esp-mdf -> functioning_demo -> mwifi and its not working I spend hours trying to check if everything is ok i put my router ssid and password everything is connected to the internet by I still get errors
Kconfig

Code: Select all

config MQTT_URL
    string "MQTT broker URL"
    default "mqtt://iot.eclipse.org"
    help
        URL of the broker to connect to
Error

Code: Select all

E (14721) esp-tls: [sock=54] select() timeout
E (14722) TRANSPORT_BASE: Failed to open a new connection: 32774
E (14722) MQTT_CLIENT: Error transport connect
What can I do next?

ESP_YJM
Posts: 300
Joined: Fri Feb 26, 2021 10:30 am

Re: MQTT example not working

Postby ESP_YJM » Mon Oct 10, 2022 8:54 am

You may need change a Broker URL, it seems `mqtt://iot.eclipse.org` is unavailable.

Who is online

Users browsing this forum: No registered users and 42 guests