Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 10 months ago.
AWS connectivity demonstration
Hi I am trying to run Demo APP in STM32L475 board. the app AWS connectivity demonstration (which comes with board).
In ubuntu16.04 with minicom I am trying. I am able to 1) connect to WIFI successfully 2) followed this link https://www.youtube.com/watch?v=PY32lLiauKk 3) Only change is I am using Ubuntu instead of Windows. I am getting an Error. to Copy Certs I used File Send ascii in minicom. Can some one help please
************** * STM32 IoT Discovery kit for STM32L475/STM32F413/STM32F769 MCU * * Cloud Connectivity Demonstration * * FW version 1.0.1 - Apr 12 2017, 15:39:49 * ****************
* AWS connectivity demonstration *
AWS IoT SDK Version 2.1.1- MQTT connection in progress: Attempt 1/3 ... C:\STM32_IoT_Cloud_Workspace_V1.0.1\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3969: is a fatal alert message (msg 40)
C:\STM32_IoT_Cloud_Workspace_V1.0.1\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3744: mbedtls_ssl_handle_message_type() returned -30592 (-0x7780)
C:\STM32_IoT_Cloud_Workspace_V1.0.1\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:1416: mbedtls_ssl_read_record() returned -30592 (-0x7780)
ERROR: iot_tls_connect L#303 failed ! mbedtls_ssl_handshake returned -0x7780 MQTT connection in progress: Attempt 2/3 ... C:\STM32_IoT_Cloud_Workspace_V1.0.1\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3969: is a fatal alert message (msg 40)
C:\STM32_IoT_Cloud_Workspace_V1.0.1\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3744: mbedtls_ssl_handle_message_type() returned -30592 (-0x7780)
C:\STM32_IoT_Cloud_Workspace_V1.0.1\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:1416: mbedtls_ssl_read_record() returned -30592 (-0x7780)
ERROR: iot_tls_connect L#303 failed ! mbedtls_ssl_handshake returned -0x7780 MQTT connection in progress: Attempt 3/3 ... C:\STM32_IoT_Cloud_Workspace_V1.0.1\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3969: is a fatal alert message (msg 40)
C:\STM32_IoT_Cloud_Workspace_V1.0.1\Middlewares\Third_Party\mbedTLS\library\ssl_tls.c:3744: mbedtls_ssl_handle_message_type() returned -30592 (-0x7780)
C:\STM32_IoT_Cloud_Workspace_V1.0.1\Middlewares\Third_Party\mbedTLS\library\ssl_cli.c:1416: mbedtls_ssl_read_record() returned -30592 (-0x7780)
ERROR: iot_tls_connect L#303 failed ! mbedtls_ssl_handshake returned -0x7780 ERROR: subscribe_publish_sensor_values L#273 Error(-4) connecting to ab8h4r6d05lc5.iot.ap-south-1.amazonaws.com:8883 Error connecting to Cloud!
Question relating to:
2 Answers
5 years, 10 months ago.
Hi Raghavn, Could you please confirm that you are cutting and pasting the credential files? The video emphasizes not to use Ctrl+V. Perhaps that corrupts it.
Please let us know if that helps.
Thanks,
Naveen
Team mbed
5 years, 7 months ago.
Hello Raghavan,
I have a similar problem. Did you solve the situation?
Regards