On Tuesday, August 1, 2017 at 12:03:37 PM UTC-7, 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? >
I have no idea. I run Rocket on AWS without problem, but the traffic is low. I also run Rocket on W10, and sometimes I see "waiting for socket" appear, but that only seems to affect speed, and traffic is also low (more but shorter requests than the AWS environment, but easily 1 minute or more between requests). I suspect that "sleeping" the W10 when I go to bed causes some problems with the socket, but that wouldn't apply to you. There may be file locks involved in Rocket, but that's just a WAG (no 'S'). /dps -- 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.