Webpy and cherrypy

29 views
Skip to first unread message

leone

unread,
Dec 29, 2008, 12:48:01 PM12/29/08
to cherrypy-users
Webpy uses cherrypy as default application server.
Sending from browser an https page to server
I debyg this error, and the connectio fails:
Error: [('SSL routines','SSL23_GET_CLIENT_HELLO','http request')]
Someone knows the origin of this?
In past mounths same application run wright.
I use python 2.5.2 and ubuntu 8.04.1
Thanks for your help

Robert Brewer

unread,
Dec 29, 2008, 2:07:15 PM12/29/08
to cherryp...@googlegroups.com

I believe this error means that you tried to talk HTTP to a server that
is only talking HTTPS.


Robert Brewer
fuma...@aminus.org

leone

unread,
Dec 30, 2008, 5:27:23 AM12/30/08
to cherrypy-users
I lost the 's' of https.
Thanks.
> fuman...@aminus.org

Dusty Phillips

unread,
Jan 29, 2009, 11:09:37 AM1/29/09
to cherrypy-users
Sorry to revive a month old thread; this discussion is coming up again
on the web.py list here:

http://groups.google.com/group/webpy/browse_thread/thread/1755ffad8f2b4d2a

Basically, while its true that the error indicates that the client
made an HTTP request to an HTTPS server, the correct action would be
to return 400 Bad Request. In debugging this problem, I noticed that
cherrypy is actually trying to send this correct response when the
given exception is thrown. Apparently, It identifies an HTTP request,
tries to respond that it only accepts HTTPS, but when it responds it
tries to speak HTTPS when it shouldn't be. Any advice would be
appreciated.

Thanks,

Dusty

Robert Brewer

unread,
Jan 30, 2009, 1:38:56 PM1/30/09
to cherryp...@googlegroups.com

Sounds like a bug worthy of a ticket.


Robert Brewer
fuma...@aminus.org

Reply all
Reply to author
Forward
0 new messages