Skip to content

[Bug]: Configuring mqtt broker with FQDN instead of IP makes ThinkNode M7 reboot #11364

Description

@motababravo

Category

Other

Hardware

Other

Is this bug report about any UI (https://meshtastic.org/docs/configuration/device-uis/) component firmware?

  • Meshtastic UI aka MUI
  • InkHUD
  • BaseUI

Firmware Version

2.7.26

Description

Using DN name (fqdn) for broker's host :

1 .can not resolve and connect.
2. makes the device reboot continuously.


[ 61545][E][WiFiGeneric.cpp:1583] hostByName(): DNS Failed for mqtt.meshtastic.org

assert failed: xEventGroupSetBits event_groups.c:596 (xEventGroup)

Backtrace: 0x40377faa:0x3fcb3800 0x403818bd:0x3fcb3820 0x40388e81:0x3fcb3840 0x40381e5a:0x3fcb3970 0x4201338b:0x3fcb3990 0x4209b6a3:0x3fcb39b0 0x4209b74f:0x3fcb39e0 0x4209be81:0x3fcb3a00 0x420a2961:0x3fcb3a60 0x420a58c7:0x3fcb3ab0 0x420a9542:0x3fcb3ae0 0x4209b3c1:0x3fcb3b00

ELF file SHA256: d85624186d244802

E (7941) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
���ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40377bb8
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
E (359) esp_core_dump_flash: No core dump partition found!
E (359) esp_core_dump_flash: No core dump partition found!
[ 361][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
��@INFO | ??:??:?? 0

//\ E S H T /\ S T / C


If broker configured with IP it works !


INFO | ??:??:?? 6 [mqtt] Use TLS-encrypted session
INFO | ??:??:?? 6 [mqtt] Connecting directly to MQTT server 15.204.60.243, port: 8883, username: meshdev, password: large4cats
[ 6838][D][ssl_client.cpp:176] start_ssl_client(): WARNING: Skipping SSL Verification. INSECURE!
INFO | ??:??:?? 7 [mqtt] MQTT connected

Relevant log output

[ 61545][E][WiFiGeneric.cpp:1583] hostByName(): DNS Failed for mqtt.meshtastic.org

assert failed: xEventGroupSetBits event_groups.c:596 (xEventGroup)


Backtrace: 0x40377faa:0x3fcb3800 0x403818bd:0x3fcb3820 0x40388e81:0x3fcb3840 0x40381e5a:0x3fcb3970 0x4201338b:0x3fcb3990 0x4209b6a3:0x3fcb39b0 0x4209b74f:0x3fcb39e0 0x4209be81:0x3fcb3a00 0x420a2961:0x3fcb3a60 0x420a58c7:0x3fcb3ab0 0x420a9542:0x3fcb3ae0 0x4209b3c1:0x3fcb3b00




ELF file SHA256: d85624186d244802

E (7941) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0
Rebooting...
���ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40377bb8
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x4bc
load:0x403c9700,len:0xbd8
load:0x403cc700,len:0x2a0c
entry 0x403c98d0
E (359) esp_core_dump_flash: No core dump partition found!
E (359) esp_core_dump_flash: No core dump partition found!
[   361][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
��@INFO  | ??:??:?? 0 

//\ E S H T /\ S T / C

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions