Skip to content
New issue

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

mbedTLS error: -0x7780 #6

Open
fbalestrini opened this issue Sep 15, 2021 · 0 comments
Open

mbedTLS error: -0x7780 #6

fbalestrini opened this issue Sep 15, 2021 · 0 comments

Comments

@fbalestrini
Copy link

Starting from few weeks ago, all my Mongoose OS based IoT devices fail connecting to the local Mosquitto MQTT broker. Everything worked fine since a couple of weeks ago.

This is my WEMOS D1 Mini board yml configuration:

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[0]: error:1417A0C1:SSL routines:tls_post_process_client_hello:no shared cipher
1631689879: Socket error on client <unknown>, disconnecting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant