-
Notifications
You must be signed in to change notification settings - Fork 97
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
Not compatible with Micropython 1.21.0? #99
Comments
Is this still the case after the recent commits? |
I tried recent commits and Micropython 1.22.1 。 Sever not closed but still can not open the html page. as below: |
Same here. Breaking commit is 2f1e982. The server starts and hangs on Micropython versions tested: 1.22.2 and all in between the latest master |
Hello and thank you for your feedback. |
With StartManaged(2) the server hangs and even CTRL+C does not work Here is the output when I stop it with CTRL+C MWS2-INFO> Server listening on 0.0.0.0:80. hit 5-10 times CTRL+C MWS2-INFO> Server 0.0.0.0:80 closed. I'd like to help you debug it, but I do not know where to start. |
Same problem here. Server starts but cannot get to any routes. (1.22.0 here too) update: Not that I am running this on an ESP32-Wroom in embedded mode. So I can confirm what @ekondayan was saying about the commit breaking things. |
I've been testing the latest commit (4a7f599) - it is still not working reliably but this time with a twist. This time I am able to get the index.html a few times in a row(using If you give me a modified XAsyncSockets.py, stuffed with debug |
Hmm, thank you @ekondayan. |
mws2 = MicroWebSrv2()
mws2.RootPath = '/www'
mws2.SetEmbeddedConfig() # For embedded MicroPython, use a very light configuration,
mws2.DisableSSL()
mws2.NotFoundURL = '/' # All pages not found will be redirected to the home '/',
mws2.StartManaged() My environment is:
|
I've tested the latest commit and it still does not work on esp32 with micropython |
Are there any updates regarding compatibility in the meantime? |
MWS2-INFO> Server listening on 0.0.0.0:80.
MWS2-INFO> Starts the managed pool to wait for I/O events.
MWS2-INFO> Server 0.0.0.0:80 closed.
MWS2-INFO> Stops the managed pool.
Anyone bump into this problem also?
The text was updated successfully, but these errors were encountered: