Few days ago the TLS connection to my local Mosquitto MQTT broker stop working (mbedTLS error: -0x7780) and now all my Mongoose OS based devices are not connected anymore.
Did someone face the same issue? Do you have any idea or suggestion on how to investigate and fix the connection issue?
This is my WEMOS D1 Mini board
config_schema: - ["mqtt.enable", true] - ["mqtt.user", "<my_username>"] - ["mqtt.pass", "<my_password>"] - ["mqtt.server", "<my_loacal_IP_address>:8883"] - ["mqtt.ssl_ca_cert", "ca.pem"]
This is the error log of my WEMOS D1 Mini board:
[Sep 15 08:54:05.996] mgos_mqtt_conn.c:471 MQTT0 connecting to 192.168.1.254:8883 [Sep 15 08:54:06.020] mongoose.c:4912 0x3fff1574 is a fatal alert message (msg 40) [Sep 15 08:54:06.025] mongoose.c:4912 0x3fff1574 mbedtls_ssl_handle_message_type() returned -30592 (-0x7780) [Sep 15 08:54:06.034] mongoose.c:4912 0x3fff1574 mbedtls_ssl_read_record() returned -30592 (-0x7780) [Sep 15 08:54:06.040] mongoose.c:5088 0x3fff1574 mbedTLS error: -0x7780 [Sep 15 08:54:06.050] mgos_mqtt_conn.c:229 MQTT0 TCP connect error (-3) [Sep 15 08:54:06.050] mgos_mqtt_conn.c:256 MQTT0 Disconnect
This is the error log of my local Mosquitto MQTT broker:
1631689879: New connection from 192.168.1.15 on port 8883. 1631689879: OpenSSL Error: error:1417A0C1:SSL routines:tls_post_process_client_hello:no shared cipher 1631689879: Socket error on client <unknown>, disconnecting.
I would like to fix this as soon as possible because my home-automation based on Mongoose OS is now completely broken.
I thank you in advance for the support.