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

coreHTTP memory allocation failure with esp-idf 5.0 (CA-278) #170

Open
khuangCTS opened this issue Feb 23, 2023 · 0 comments
Open

coreHTTP memory allocation failure with esp-idf 5.0 (CA-278) #170

khuangCTS opened this issue Feb 23, 2023 · 0 comments

Comments

@khuangCTS
Copy link

Hello,

I am encountering and issue with porting over my application code to esp-idf v5.0.1 from v4.4.4. For context, I am using coreHTTP to connect and retrieve temporary security credentials from AWS IoT. With v4.4.4 I am able to successfully send a HTTP GET request to my credentials endpoint but with v5.0.1 I am encountering and issue specifically with esp-tls-mbedtls/esp-aes.c (in mbedtls/port/aes/). I have been experimenting with different allocation modes and have gotten memory allocation for each option.

mbed_crt failed
sues with each option.
This is with the internal memory option.
With other options allocation options I retrieve "esp-aes: memory allocation failed". I looked deeper into the source code and it appears to be failing to allocate memory for the output buffer.

Any help would be appreciated.

@github-actions github-actions bot changed the title coreHTTP memory allocation failure with esp-idf 5.0 coreHTTP memory allocation failure with esp-idf 5.0 (CA-278) Feb 23, 2023
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