Page 1 of 1

POST error (-17040, 'MBEDTLS_ERR_RSA_PUBLIC_FAILED+MBEDTLS_ERR_MPI_ALLOC_FAILED')

Posted: Tue Nov 02, 2021 10:10 am
by Witeklab
Hello everybody, I'm currently working with the board ESP32 with a MySQL Database.
I'm trying to do a Post but it evokes an error without solution.
I tried gc.collect() as a solution to see if there's no memory space but my free memory is: 102016.
The memory used is: 9152.

Im working with BLE to connect my board to an app that I'm building. Maybe the BLE is not helping.

My code:
-------------
data_ = {'MAC':mac,'Datos':'10','Fecha':"",'idSensor':"2"}
try:
response = requests.post('https://sv.chatugo.com/access/htp/inser ... ,data=data_)
response.close()

except OSError as e:
print(e)

Error:
-------------
(-17040, 'MBEDTLS_ERR_RSA_PUBLIC_FAILED+MBEDTLS_ERR_MPI_ALLOC_FAILED')