We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I try to send unsecured mqtt message to my broker, but receive esp-idf errors caused tls connection fails.
Why tls error occured for insecure publish? [E][mqtt.idf:162]: Last error code reported from esp-tls: 0x8008
[E][mqtt.idf:162]: Last error code reported from esp-tls: 0x8008
2024.4.2
Docker
No response
ESP32-IDF
mqtt
esphome: name: esp-xxx platformio_options: board_build.flash_mode: dio esp32: board: esp32-s3-devkitc-1 flash_size: 4MB framework: type: esp-idf sdkconfig_options: COMPILER_OPTIMIZATION_SIZE: y advanced: ignore_efuse_mac_crc: false variant: esp32s3 mqtt: broker: "iot.fr-par.scw.cloud" port: 1883 username: "my_user_id" password: "" topic_prefix: "test" skip_cert_cn_check: true
[14:09:41][V][mqtt.idf:119]: Event dispatched from event loop event_id=7 [14:09:41][V][mqtt.idf:122]: MQTT_EVENT_BEFORE_CONNECT [14:09:42][V][esp-idf:000]: E (206625) MQTT_CLIENT: mqtt_message_receive: transport_read() error: errno=128 [14:09:42] [14:09:42][V][esp-idf:000]: E (206628) MQTT_CLIENT: esp_mqtt_connect: mqtt_message_receive() returned -1 [14:09:42] [14:09:42][V][esp-idf:000]: E (206629) MQTT_CLIENT: MQTT connect failed [14:09:42] [14:09:42][V][mqtt.idf:119]: Event dispatched from event loop event_id=0 [14:09:42][E][mqtt.idf:160]: MQTT_EVENT_ERROR [14:09:42][E][mqtt.idf:162]: Last error code reported from esp-tls: 0x8008 [14:09:42][E][mqtt.idf:163]: Last tls stack error number: 0x0 [14:09:42][E][mqtt.idf:165]: Last captured errno : 0 (Success) [14:09:42][V][mqtt.idf:119]: Event dispatched from event loop event_id=2 [14:09:42][V][mqtt.idf:131]: MQTT_EVENT_DISCONNECTED [14:09:42][W][mqtt:323]: MQTT Disconnected: TCP disconnected. [14:09:42][I][mqtt:234]: Connecting to MQTT... [14:09:42][V][esp-idf:000]: I (206640) MQTT_CLIENT: Client asked to disconnect
The text was updated successfully, but these errors were encountered:
Is it because set(CONFIG_MQTT_TRANSPORT_SSL "y") in cmake?
set(CONFIG_MQTT_TRANSPORT_SSL "y")
Sorry, something went wrong.
No branches or pull requests
The problem
I try to send unsecured mqtt message to my broker, but receive esp-idf errors caused tls connection fails.
Why tls error occured for insecure publish?
[E][mqtt.idf:162]: Last error code reported from esp-tls: 0x8008
Which version of ESPHome has the issue?
2024.4.2
What type of installation are you using?
Docker
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP32-IDF
Board
No response
Component causing the issue
mqtt
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: