firmware or hardware limitation, or just bad code? run a http web server while making http/https requests?
pastebin: https://pastebin.com/gRuitf4Z
i have a project where i would like to use an esp32 to collect http and https status codes from various domains and IPs, and i also want a web access panel to run, to let a user change settings and view logs.
even when using uasyncio and making sure none of my functions are blocking, i can only get status code checking OR the web server to run, but not at the "same time"
at first i was using urequests but then i realized it was blocking.
so i tried uaiohttpclient works but it only supports http, not https.
aiohttp works for only http but crashes both my esp32 and a spare esp8266 if i make a https request, as in i get a memory dump in the relp and then a reboot.
so then i tried using uasyncio.open_connection() but all i get is either domains and IPs all timing out, or i get the -202 or 0x0101 errors. there is no pattern to what i get.
eventually i gave up and dumped the code into claude AI and it tweaked some things but in the end ive had no luck. AI didnt help.
it just doesnt work....and ive been at this for weeks now and no luck.
ive been tracking the memory usage and i have plenty of memory.
im starting to wonder if im running up on a firmware or hardware limitation? is it possible to simultaniously run a web server while also making http requests at the same time?
i think im going to try to see if i can get something to work with usockets but im not hopeful.