Skip to content

Trying to connect with AWS iot Core using mqtt_as library but getting error #146

@meet-simform

Description

@meet-simform

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions