Sorry Massimo I forgot the cert/cert switches on the commandline shortcut
after upgrading- so this was due to my mistake.

For testing purposes I just now ran the following line without errors:

Web2py.exe -c cert.crt -k cert.key -p p

And I was able to run ssl on port 80 with no issues.

I tried to recreate possible errors that others might have but the only
thing I could do was to remove the s from https and then got a short error
message in the console (rocket.errors.port800) which is to be expected I
suppose.

Resuming the https, everything worked fine - server keept running without
issue. I am not doing anything fancy with routes or anything.

Win7-64, python 2.7.2, web2py 1.99.1, self signed cert, rocket/web2py web
server



-----Original Message-----
From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of
Massimo Di Pierro
Sent: Sunday, September 25, 2011 2:22 AM
To: web2py-users
Subject: [web2py] Re: 1.99.1 and ssl/https

Can you help us debug this? Do you get this error with 1.99.1 and not with
1.98.2? Could it be related to this:
http://stackoverflow.com/questions/2538723/ssl-received-a-record-that-exceed
ed-the-maximum-permissible-length-error-code

Massimo

On Sep 24, 9:47 pm, "Cameron" <came...@gwnetworks.com> wrote:
> Just tried ssl via the admin console.
>
> Running windows 7 64 with 32 bit (I think) python 2.7.2.
>
> Got this in firefox version 6.x:
> ""
> Secure Connection Failed
> An error occurred during a connection to 127.0.0.1:8000.
> SSL received a record that exceeded the maximum permissible length.
> (Error code: ssl_error_rx_record_too_long) ""
>
> Got this in chrome:
> ""
> Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.
> ""
>
> Opera just sits with the hour glass running.
>
> IE doesn't say much of anything, but the site doesn't come up.
>
> Works great without ssl.
>
> Can't find any error log entry in the admin app error page. I'm a 
> beginner with web2py but I can do a packet capture if you tell me where to
send it.
>
>
>
>
>
>
>
> -----Original Message-----
> From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On 
> Behalf Of
>
> Massimo Di Pierro
> Sent: Saturday, September 24, 2011 8:02 PM
> To: web2py-users
> Subject: [web2py] 1.99.1 and ssl/https
>
> Has anybody tried 1.99.1 with https (other thank Dirk)? We have a 
> strange error logged and we cannot get to the bottom of it. Perhaps if 
> you have tried on other OSes/Python version it can help us narrow it 
> downs.  It seems to work even if the error is logged.
>
> Massimo

Reply via email to