belyalov / tinyweb

Simple and lightweight HTTP async server for micropython
MIT License
252 stars 39 forks source link

Task exception wasn't retrieved #30

Closed Typwithoutname closed 3 years ago

Typwithoutname commented 4 years ago

Hi,

i am trying to run the hello_world.py of the example section and get the following error:

Task exception wasn't retrieved future: coro= <generator object '_tcp_server' at 3fff0510> Traceback (most recent call last): File "uasyncio/core.py", line 1, in run_until_complete File "tinyweb/server.py", line 619, in _tcp_server File "uasyncio/init.py", line 1, in getattr AttributeError: IORead

I also can't access the webpage. I included the required library's and also have a WIFI-Connection established. So how can i fix this error?

(I'm sorry if it's something simple. I'm pretty new to this server stuff.)

Any kind of help is highly appreciated!

Device and/or platform: M5StackGrey, which uses the ESP32

oerx commented 4 years ago

its not working with: esp32-idf3-20200902-v1.13.bin

its working with: esp32-idf3-20191220-v1.12.bin

maybe switching back to old micropython image meanwhile