-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
ESP32 OSError: [Errno 12] ENOMEM urequests #8628
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
Comments
OK this actually seems to be due to the espidf version and not the micropython version. Any suggestions on how I can get the extra micropython memory while still being able to use urequests and ble? |
I think your last question is better placed at the micropython forum to be honest. It's not really a fix and resulted in a "magic variable", so use it as a last resort. |
i think i have same issue regarding ble on esp32-c3 port. |
This issue is now being tracked in #8940. |
Turns out we already have one duplicate, so I 'endorsed' it, but probably one should be reassigned. Closes: adafruit#8628
edit urequest.py. It does not close the connection at the end of request function. Too many sockets opened. |
長時間動作してると urequests.py がエラーで止まるため micropython/micropython#8628 (comment)
|
I met the similar error today, I finally found that it was the insufficiency of power cause it : |
Uh oh!
There was an error while loading. Please reload this page.
I am getting the ENOMEM error when trying to use urequests to get data from our https api server. The error only occurs if BLE is also active at the same time. This didn't occur in 1.17 but using 1.18 now its happening. I needed the extra memory that 1.18 gives so in a bit of a bind. I am using the esp32-c3-wroom-2 (4MB RAM).
Error:
This error occurs only occurs on esp32c3-20220117-v1.18.bin but on esp32c3-20210902-v1.17.bin is works without error.
If I disable BLE it also works on 1.18 but I need it enabled all the time for my application.
I want to use 1.18 as 1.17 only enabled half the memory that 1.18 does and my application requires more memory.
Any help is really appreciated.
The text was updated successfully, but these errors were encountered: