Probably the best option is to switch to a production quality web server 
(e.g., Nginx + uWSGI).

On Tuesday, August 1, 2017 at 3:03:37 PM UTC-4, Fabiano Faver wrote:
>
> environment: Debian 7.11; python 2.7.3; web2py 2.14.5 running on rocket
>
> background:
> An application that have many clients periodically sending data, some are 
> http posts some others json. 
>
> About 2 month ago it started to eventually throwing this error on console:
>
> 2017-08-01 15:50:37,966 - Rocket.Errors.Thread-8 - ERROR - Tried to send 
> "400 Bad Request" to client but received socket error
>
> But it got much more frequent and now it is like every 5 minutes and 
> sometimes it crashes rocket server, then I need to restart it.
>
> I have no idea what's causing this or where I can get a better traceback.
>
> Someone have a idea what is this problem or hint i can follow?
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to