8000 ussl within urequests causes memory problems · Issue #8662 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content

ussl within urequests causes memory problems #8662

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

Closed
MATTYGILO opened this issue May 13, 2022 · 1 comment
Closed

ussl within urequests causes memory problems #8662

MATTYGILO opened this issue May 13, 2022 · 1 comment

Comments

@MATTYGILO
Copy link

I am running a program on an esp32.

I run a https request early on in the code, then later run some resource intensive neural networks.

I get this error

Guru Meditation Error: Core 1 panic'ed (InstrFetchProhibited). Exception was unhandled.

I first mentioned this problem in these questions:
https://github.com/mocleiri/tensorflow-micropython-examples/issues/84
https://github.com/espressif/esp-idf/issues/8856

I have since found the root of the problem, but do not know how to fix it

When I comment out all the lines of code including ussl within the urequests file

https://github.com/micropython/micropython-lib/blob/master/python-ecosys/urequests/urequests.py

s = ussl.wrap_socket(s, server_hostname=host)
etc.

The program doesn't crash. However, I require https requests. All help is much appreciated.

@MATTYGILO MATTYGILO changed the title ussl within urequests causes memory problems Guru Meditation Error: Core 1 panic'ed (InstrFetchProhibited). Exception was unhandled. ussl within urequests causes memory problems May 13, 2022
@jimmo
Copy link
Member
jimmo commented Jul 21, 2022

This issue is now being tracked in #8940.

@jimmo jimmo closed this as completed Jul 21, 2022
tannewt pushed a commit to tannewt/circuitpython that referenced this issue Nov 28, 2023
…n-main

Translations update from Hosted Weblate
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

2 participants
0