You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue while using the tls.py example code with a library. I've configured the ca, cert, and key fields as per thing in AWS iot core. When attempting to connect to the server, I'm getting the following error: OSError: (-17168, 'MBEDTLS_ERR_RSA_PRIVATE_FAILED+MBEDTLS_ERR_MPI_ALLOC_FAILED')
OUTPUT:
Checking WiFi integrity.
Got reliable connection
Connecting to broker.
Traceback (most recent call last):
File "<stdin>", line 136, in <module>
File "asyncio/core.py", line 1, in run
File "asyncio/core.py", line 1, in run_until_complete
File "asyncio/core.py", line 1, in run_until_complete
File "<stdin>", line 111, in main
File "mqtt_as.py", line 655, in connect
File "mqtt_as.py", line 284, in _connect
OSError: (-17168, 'MBEDTLS_ERR_RSA_PRIVATE_FAILED+MBEDTLS_ERR_MPI_ALLOC_FAILED')
please help me in this issue
I am using ESPwroom32 hardware.
The text was updated successfully, but these errors were encountered:
meet1227
changed the title
Trying to connect with AWS iot Core using mqtt_as library but geting error
Trying to connect with AWS iot Core using mqtt_as library but getting error
Jul 17, 2024
The devices I work on also connect to AWS IoT core. We most often see this error when there is not enough (continuous) memory to allocate to storing some of the SSL things in memory. I think MicroPython v1.21 was the most problematic version, and more recent versions don't have this issue.
Try checking how much memory is used/available before you attempt to connect.
I'm encountering an issue while using the tls.py example code with a library. I've configured the ca, cert, and key fields as per thing in AWS iot core. When attempting to connect to the server, I'm getting the following error:
OSError: (-17168, 'MBEDTLS_ERR_RSA_PRIVATE_FAILED+MBEDTLS_ERR_MPI_ALLOC_FAILED')
OUTPUT:
I am using ESPwroom32 hardware.
The text was updated successfully, but these errors were encountered: