occasionally get 408s with web.py from GIT

8 views
Skip to first unread message

tommed

unread,
Feb 14, 2010, 6:13:55 AM2/14/10
to web.py
Hi Guys,

I'm pretty new to web.py; I downloaded it from the GIT repository and
integrated it into my project.

I am running the web.py server on port 8089 and then running a
ReverseProxy virtualhost in Apache to make this server available to
the outside world.

However occasionally I get 408s returned by web.py. I can see them in
the Apache log, they happen instantly (IOW as soon as the request is
made) and there are no errors coming from web.py (unless there is a
way of turning up the logging?).

I thought that it might be too much load on the server, (even though
it's only me using it and about 4 request are happening during a page
load)... so I load-balanced 3 instances of my web.py project; but this
did not prevent th3 408 errors.

I'm just wondering if this is a known issue or was there someway I
could turn up the loggin in webpy to investigate myself further? Any
ideas you guys can think of would be most appreciated.

Many Thanks,
tommed

Anand Chitipothu

unread,
Feb 14, 2010, 6:32:45 AM2/14/10
to we...@googlegroups.com

Looks like it is the problem in CherryPy webserver used in web.py.

http://groups.google.com/group/cherrypy-users/browse_thread/thread/e751976da1d01390

Can you try the fix suggested there and confirm it?

In general, it is not a good idea to use the webserver provided in
web.py for production. I suggest switching to fastcgi or wsgi.

Anand

Wan Li

unread,
Feb 16, 2010, 11:33:57 AM2/16/10
to we...@googlegroups.com
Are you using python 2.5 on win32? How about try dos2unix your files first?
Reply all
Reply to author
Forward
0 new messages