YES ! this did it
Specifying the full path to the certificate solved the problem. It also 
runs a bit faster(not sure).
For others:
Instead of 
web2py.exe -c cert/ia.crt -k cert/ia.key -p 443

do (in my case):

C:\Dev\web\web2py_win\Web2py_2_14_6>web2py.exe -c 
C:\Dev\web\web2py_win\Web2py_2_14_6\cert/ia.crt -k
 C:\Dev\web\web2py_win\Web2py_2_14_6\cert/ia.key -p 443




On Saturday, August 6, 2016 at 9:13:59 AM UTC+2, Massimo Di Pierro wrote:
>
> Can you try specify full path for cert/ ?
>
> On Thursday, 4 August 2016 04:08:49 UTC-5, icodk wrote:
>>
>> Running web2py 2.14.6 with SSL and it starts fine. However  stop working 
>> after a while (sometimes just after login) with error:
>>
>> ERROR:Rocket.Errors.Port443:Traceback (most recent call last):
>>   File "C:\Dev\web\web2py_win\Web2py_2_14_6\gluon\rocket.py", line 590, 
>> in listen
>>     sock = self.wrap_socket(sock)
>>   File "C:\Dev\web\web2py_win\Web2py_2_14_6\gluon\rocket.py", line 542, 
>> in wrap_socket
>>     ssl_version=ssl.PROTOCOL_SSLv23)
>>   File "ssl.py", line 891, in wrap_socket
>>   File "ssl.py", line 509, in __init__
>> IOError: [Errno 2] No such file or directory
>>
>> I can press stop server and start server on the server dialog and it 
>> works again for a while
>>
>> my command line is:
>> web2py.exe -c cert/ia.crt -k cert/ia.key -p 443
>>
>> What am I missing ?
>>
>>
>>
>>

-- 
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