Hello Joao,

Thanks for your reply.
I tried it, disabled Windows defender but I am still getting the same
error...
It does not happen with Python 2.7 though.
Maybe Python 3 socket module could be causing the issue?

I am open to all suggestions. Thanks,
Clara

On Tue, Apr 23, 2019, 5:52 AM João Matos <[email protected]> wrote:

> Try disabling the antivirus.
>
>
> segunda-feira, 22 de Abril de 2019 às 11:33:40 UTC+1, clara escreveu:
>>
>> Hello,
>>
>> I am trying to run Web2py 2.18.5 on Windows 10. I am using Python 3.6.5
>>
>> python web2py.py -a passw -k server.key -c server.crt -p 443 -i 0.0.0.0
>>
>> Upon loading a web2py page, I get socket errors continuously, and pages
>> do not load. This is the trace:
>>
>> -p 443 -c server.crt -k server.key -a passwException in thread Thread-2:
>> Traceback (most recent call last):
>>   File "c:\Python36\Lib\threading.py", line 916, in _bootstrap_inner
>>     self.run()
>>   File "C:\Users\Clara\projects\connectcap2\web2py\gluon\rocket.py",
>> line 1268, in run
>>     conn = Connection(*conn)
>>   File "C:\Users\Clara\projects\connectcap2\web2py\gluon\rocket.py",
>> line 105, in __init__
>>     self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [WinError 10038] An operation was attempted on something that is
>> not a socket
>>
>> Exception in thread Thread-4:
>> Traceback (most recent call last):
>>   File "c:\Python36\Lib\threading.py", line 916, in _bootstrap_inner
>>     self.run()
>>   File "C:\Users\Clara\projects\connectcap2\web2py\gluon\rocket.py",
>> line 1268, in run
>>     conn = Connection(*conn)
>>   File "C:\Users\Clara\projects\connectcap2\web2py\gluon\rocket.py",
>> line 105, in __init__
>>     self.socket.settimeout(SOCKET_TIMEOUT)
>> OSError: [WinError 10038] An operation was attempted on something that is
>> not a socket
>>
>> I tried running Python 2.7 and pages load, so the issue is aparently
>> strictly related to python 3.6...
>>
>> Has anyone been able to run SSL on windows with Python 3.6? Any help will
>> be appreciated.
>>
>> Regards,
>>
>> Clara
>>
>>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/46rk8csbASY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to