-
Notifications
You must be signed in to change notification settings - Fork 90
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
'module' object has no attribute 'SSLSocket' #95
Comments
I have the exact same issue on a ESP32 chip and I think that there is a bug there on line 830. Maybe this RFC have something in common: micropython/micropython#8915 Changing ssl.SSLSocket to ssl.SSLContext on line 830 fixes the issue. |
You can see a PR here: #98 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, firstly - thank you for the great job writing this library, it's very easy to use. I used it in some of my projects before.
However I have encountered a problem in my recent project, trying to run this server on ESP32, or to be more precise - Wemos S2 mini.
In my main.py i run standard setup:
It is initialized correctly, but when I try to access device's IP via browser an exception is raised:
it points to those lines of code from XAsyncSockets.py
when I add debugging print statement to this method
that's the result:
Unfortunately I don't have a knowledge to figure out if ssl module is valid and why there's 'SSLSocket' attribute missing. Can you help me?
EDIT:
I also tried deleting second condition from "and" expression to see what happens next
But i got an error futher in this part of the same file:
The text was updated successfully, but these errors were encountered: