MQTT: Connect ESP RAINMAKER device to custom MQTT host instead of AWS

Madhav
Posts: 8
Joined: Fri Dec 07, 2018 12:04 pm

MQTT: Connect ESP RAINMAKER device to custom MQTT host instead of AWS

Postby Madhav » Fri Jun 24, 2022 10:39 am

Greetings!

We are developing ESP32 based OnOff Controller. We want to connect it to our custom MQTT host instead of MQTT on AWS Rainmaker Cloud.

While claiming the device I provided the certificate for connect to Custom MQTT. But it didn't get connected. Here it's log.

Code: Select all

[0;31mE (6725) esp-tls-mbedtls: mbedtls_x509_crt_parse returned -0x2780[0m
[0;31mE (6725) esp-tls-mbedtls: Failed to set client pki context[0m
[0;31mE (6725) esp-tls-mbedtls: Failed to set client configurations, returned [0x8015] (ESP_ERR_MBEDTLS_X509_CRT_PARSE_FAILED)[0m
[0;31mE (6745) esp-tls: create_ssl_handle failed[0m
[0;31mE (6745) esp-tls: Failed to open new connection[0m
[0;31mE (6755) TRANSPORT_BASE: Failed to open a new connection[0m
[0;31mE (6755) MQTT_CLIENT: Error transport connect[0m
[0;31mE (6765) esp_mqtt_glue: MQTT_EVENT_ERROR[0m
[0;33mW (6765) esp_mqtt_glue: MQTT Disconnected. Will try reconnecting in a while...[0m
[0;32mI (6775) app_main: MQTT Disconnected.[0m
[0;32mI (8435) esp_rmaker_time: SNTP Synchronised.[0m
[0;32mI (8435) esp_rmaker_time: The current time is: Tue Jun 21 21:10:26 2022 +0800[CST], DST: No.[0m
W (8535) wifi:<ba-add>idx:1 (ifx:0, 0c:b6:d2:1c:4a:68), tid:6, ssn:0, winSize:64
[0;31mE (12225) esp-tls-mbedtls: mbedtls_x509_crt_parse returned -0x2780[0m
Request you to guide us and help to implement it.

Regards,

Madhav Lohar
Gladiance Automation(India) Pvt.Ltd.

18262286775
Posts: 1
Joined: Fri Sep 23, 2022 8:29 am

Re: MQTT: Connect ESP RAINMAKER device to custom MQTT host instead of AWS

Postby 18262286775 » Sat Feb 18, 2023 2:44 am

I have the same problem

Who is online

Users browsing this forum: cdollar, ericchile, Google [Bot] and 114 guests