communication error and socket error

23 views
Skip to first unread message

szimszon

unread,
Jun 26, 2009, 3:54:37 AM6/26/09
to web2py Web Framework
Hi!

I wonder if somebody could help me.

web2py Version 1.64.4 (2009-06-24 00:40:36)

If I try to edit controllers remote (from Internet through vpn (just
UMTS) -- slow connection) I just get communication error after save :
( (no traceback on server side)

From local network I get communication error just sometimes and
sometimes I see:

Exception in thread CP WSGIServer Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in
__bootstrap_inner
self.run()
File "/usr/local/web2py/web2py/gluon/wsgiserver.py", line 1003, in
run
conn.communicate()
File "/usr/local/web2py/web2py/gluon/wsgiserver.py", line 948, in
communicate
format_exc())
File "/usr/local/web2py/web2py/gluon/wsgiserver.py", line 643, in
simple_response
self.sendall(''.join(buf))
File "/usr/local/web2py/web2py/gluon/wsgiserver.py", line 808, in
ssl_method_wrapper
raise socket.error(errnum)
error: 32


There is no proxy. I run web2py with:

python2.5 web2py.py -i 192.168.55.2 -s zm.kopaszhegy -c /etc/ssl/certs/
ssl-cert-snakeoil.pem -k /etc/ssl/private/ssl-cert-snakeoil.key

Thank you!

todor_k

unread,
Jun 26, 2009, 2:13:25 PM6/26/09
to web2py Web Framework
I have the same issue.

as I have understood - error: 32 refers to pipe broken and this
results in hanging up the corresponding thread in which this happened.
May be after some timeout the thread is released. But if we have lower
quantity of allowed threads (for embedded system for example) and this
error happens to often the server can be blocked and to stop to
respond if all threads are used.

Any help will be appreciated.

mdipierro

unread,
Jun 27, 2009, 1:33:19 AM6/27/09
to web2py Web Framework
This is an issue with the cherrypy wsgiserver. I suggest you bring it
up on the cherrypy mailing list.

Massimo

todor_k

unread,
Jun 27, 2009, 4:17:43 AM6/27/09
to web2py Web Framework
Thanks,

I will try to do it with reference to this thread.

Regards,
Todor

todor_k

unread,
Jun 27, 2009, 8:12:50 AM6/27/09
to web2py Web Framework
Reply all
Reply to author
Forward
0 new messages