This happens when users drop connections (like close the broser or tab
duing a slow download).

There is not much that we can do. The web server logs it. Probably
web2py logs it too.

Massimo

On Jun 4, 2:54 pm, Jose <[email protected]> wrote:
> Hello,
>
> From the applicative not see any mistake or problem, but I think that
> is not normal, but in the error log Cherokee appears thousands of
> times the following error:
>
> Unhandled exception in thread started by <bound method Connection.run
> of <gluon.contrib.gateways.fcgi.Connection object at 0x8071515d0>>
> Traceback (most recent call last):
>   File "/usr/home/web2py/gluon/contrib/gateways/fcgi.py", line 664, in
> run
>     self.process_input()
>   File "/usr/home/web2py/gluon/contrib/gateways/fcgi.py", line 700, in
> process_input
>     self._do_params(rec)
>   File "/usr/home/web2py/gluon/contrib/gateways/fcgi.py", line 799, in
> _do_params
>     self._start_request(req)
>   File "/usr/home/web2py/gluon/contrib/gateways/fcgi.py", line 783, in
> _start_request
>     req.run()
>   File "/usr/home/web2py/gluon/contrib/gateways/fcgi.py", line 592, in
> run
>     self._flush()
>   File "/usr/home/web2py/gluon/contrib/gateways/fcgi.py", line 599, in
> _flush
>     self.stdout.close()
>   File "/usr/home/web2py/gluon/contrib/gateways/fcgi.py", line 358, in
> close
>     self._conn.writeRecord(rec)
>   File "/usr/home/web2py/gluon/contrib/gateways/fcgi.py", line 715, in
> writeRecord
>     rec.write(self._sock)
>   File "/usr/home/web2py/gluon/contrib/gateways/fcgi.py", line 552, in
> write
>     self._sendall(sock, header)
>   File "/usr/home/web2py/gluon/contrib/gateways/fcgi.py", line 529, in
> _sendall
>     sent = sock.send(data)
> socket.error: [Errno 32] Broken pipe
>
> How to solve this?
>
> Jose

Reply via email to