openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #01018
Re: [Question #196580]: error: [Errno 104] Connection reset by peer
Question #196580 on OpenERP Server changed:
https://answers.launchpad.net/openobject-server/+question/196580
Status: Open => Answered
nfrey proposed the following answer:
Hello Jacara,
I am facing the same kind of problems using an Android client (no GUi,
just a data proxy). But I don't think this is Java related (in my case)
because I use wireless and detected that it disconnects in a cyclic way.
For now I think there is two reasons : the hardware is of bad quality
(Archos tablet) or I made a mistake in my code and connections are not
well-closed / cleaned and some stack is overflowed.
One thing I am sure of : if I disconnect manually the wire or the wifi
the "connection reset" message eventually appears (but not for all 120
active connections). You should begin to test the connection stability.
I hape this will help you and I am eager to have the leads you receive
for resolving this problem.
Best regards
Nicolas
On 09. 05. 12 06:10, Jacara wrote:
> New question #196580 on OpenERP Server:
> https://answers.launchpad.net/openobject-server/+question/196580
>
> I'm using openerp v6.0 on ubuntu server 11.11 with PostgreSQL 9.1
>
> I often using my own developed java client program under XML-RPC library.
>
> But sometimes my java-client has delaying (interrupting) long time (once in 3 minute avg). And same time when i checking server log and getting this error messages :
>
> Traceback (most recent call last):
> File "/home/app/openerp-server/service/websrv_lib.py", line 528, in _handle_request2
> self.process_request(request, client_address)
> File "/usr/lib/python2.6/SocketServer.py", line 309, in process_request
> self.finish_request(request, client_address)
> File "/usr/lib/python2.6/SocketServer.py", line 322, in finish_request
> self.RequestHandlerClass(request, client_address, self)
> File "/home/monoserp/openerp-server/service/websrv_lib.py", line 246, in __init__
> SocketServer.StreamRequestHandler.__init__(self,request,client_address,server)
> File "/usr/lib/python2.6/SocketServer.py", line 617, in __init__
> self.handle()
> File "/usr/lib/python2.6/BaseHTTPServer.py", line 331, in handle
> self.handle_one_request()
> File "/home/app/openerp-server/service/websrv_lib.py", line 391, in handle_one_request
> self.raw_requestline = self.rfile.readline()
> File "/usr/lib/python2.6/socket.py", line 444, in readline
> data = self._sock.recv(self._rbufsize)
> error: [Errno 104] Connection reset by peer
>
> So i do restart my application server every time when faced this errors.
>
> How can i solve this error completely?
>
> Thanks for your help.
>
--
You received this question notification because you are a member of
OpenERP Committers, which is an answer contact for OpenERP Server.