Included the fix in 2.15.3 but please check it in case I got it wrong.
On Friday, 4 August 2017 11:18:45 UTC-5, José Leite wrote:
>
> Thanks, just submitted the issue.
>
> sexta-feira, 4 de Agosto de 2017 às 16:58:14 UTC+1, Leonel Câmara escreveu:
>>
>> Still, probably a bug if it still doesn't
If I import ssl directly in the main.py module I get the following error:
Traceback (most recent call last):
File "C:\web2py\web2py.py", line 21, in
import gluon.widget
File "C:\web2py\gluon\widget.py", line 26, in
from gluon import main, newcron
File "C:\web2py\gluon\main.py",
Actual Rocket code:
# Import System Modules
import sys
import time
import socket
try:
import ssl
has_ssl = True
except ImportError:
has_ssl = False
# Import Package Modules
# package imports removed in monolithic build
#
I did as you asked and in a shell did
import ssl
ssl.RAND_status() is 1L
sábado, 5 de Agosto de 2017 às 01:15:21 UTC+1, Dave S escreveu:
>
>
>
> On Friday, August 4, 2017 at 3:57:29 PM UTC-7, José Leite wrote:
>>
>> Admin console information:
>>
>> 2.15.2-stable+timestamp.2017.07.19.12.18.41
>>
On Friday, August 4, 2017 at 3:57:29 PM UTC-7, José Leite wrote:
>
> Admin console information:
>
> 2.15.2-stable+timestamp.2017.07.19.12.18.41
> (A correr em Rocket 1.2.6, Python 2.7.13)
>
Just to be way too into verification, can you open a regular python shell,
and do "import ssl" and
Admin console information:
2.15.2-stable+timestamp.2017.07.19.12.18.41
(A correr em Rocket 1.2.6, Python 2.7.13)
sexta-feira, 4 de Agosto de 2017 às 23:35:11 UTC+1, José Leite escreveu:
>
> Python 2.7.11 worked fine before the web2py upgrade. But I even tried to
> update the version to the new
Python 2.7.11 worked fine before the web2py upgrade. But I even tried to
update the version to the new 2.7.13 (all 32bit - the machine is 64).
sexta-feira, 4 de Agosto de 2017 às 23:27:03 UTC+1, José Leite escreveu:
>
> It doesn't print that information but the admin console says its Python
>
It doesn't print that information but the admin console says its Python
2.7.11 and after my upgrade 2.7.13
sexta-feira, 4 de Agosto de 2017 às 22:57:53 UTC+1, Dave S escreveu:
>
>
>
> On Friday, August 4, 2017 at 2:48:19 PM UTC-7, José Leite wrote:
>>
>> Sorry I meant from source not .exe
>>
>>
On Friday, August 4, 2017 at 2:48:19 PM UTC-7, José Leite wrote:
>
> Sorry I meant from source not .exe
>
>
When you start web2py, it will print not only its own version but the
version of python it is using. Can you confirm that information here?
/dps
> sexta-feira, 4 de Agosto de 2017 às
Sorry I meant from source not .exe
sexta-feira, 4 de Agosto de 2017 às 22:47:07 UTC+1, José Leite escreveu:
>
> Yes I am running on a windows machine and run web2py from the .exe file
> not from source.
>
> The command line is:
>
> C:\web2py\web2py.py -a admin -i 192.168.8.100 -p 443 -c
Yes I am running on a windows machine and run web2py from the .exe file not
from source.
The command line is:
C:\web2py\web2py.py -a admin -i 192.168.8.100 -p 443 -c server.crt -k
server.key -Y
but it doesn't start the https version of the site and all https://* calls
to externeal services
On Friday, August 4, 2017 at 8:54:52 AM UTC-7, José Leite wrote:
>
> Well Leonel,
>
> before I upgraded to web2py 2.15.2 Python was working fine with ssl even
> locally.
> I have python 2.7.11 exactly because I needed the newest ssl protocols to
> work with PayPal.
> Strange...!?!?!?!!?
>
If
Thanks, just submitted the issue.
sexta-feira, 4 de Agosto de 2017 às 16:58:14 UTC+1, Leonel Câmara escreveu:
>
> Still, probably a bug if it still doesn't work with the has_ssl change,
> submit an issue.
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Still, probably a bug if it still doesn't work with the has_ssl change,
submit an issue.
--
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
But you are right maybe I don't need it locally.
sexta-feira, 4 de Agosto de 2017 às 16:54:52 UTC+1, José Leite escreveu:
>
> Well Leonel,
>
> before I upgraded to web2py 2.15.2 Python was working fine with ssl even
> locally.
> I have python 2.7.11 exactly because I needed the newest ssl
Well Leonel,
before I upgraded to web2py 2.15.2 Python was working fine with ssl even
locally.
I have python 2.7.11 exactly because I needed the newest ssl protocols to
work with PayPal.
Strange...!?!?!?!!?
sexta-feira, 4 de Agosto de 2017 às 16:44:20 UTC+1, Leonel Câmara escreveu:
>
> You are
You are running a python version that was not compiled with ssl support.
Since this is a development environment you could simply not demand https
if the request is_local.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
Ok Leonel,
correction done but the rocket server can not provide a secure connection
anyway. Is it a missing feature in the new version or am I doing something
wrong?
Este site não consegue fornecer uma ligação segura
*127.0.0.1* enviou uma resposta inválida.
- Experimente executar o
That's actually a bug. It should be
elif not rocket.has_ssl:
You can fix it directly in your gluon/main.py to solve your problem until a
version with the fix is released.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
19 matches
Mail list logo