我有一个问题,所有客户端都无法使用端口8070连接到openERP服务器6.0.4。
这种情况有时在一段时间内发生(4-6个月)。我想知道有什么问题,我检查了网络流量,处理器,服务器的内存,没有任何问题,但它只是发生了几次。
当我检查服务器日志时,每次遇到此问题时,错误都是相同的,如下所示:
错误:web:netrpc:无法向客户端回溯传递异常消息(最近一次调用):"/opt/openerp/server/bin/service/netrpc_server.py",行89,在ts.mysend(e,exception=True,traceback=tb_s)文件"/opt/openerp/server/bin/tiny_socket.py“中,第64行在mysend self.sock.sendall中(‘%8d%s%s’%‘% (len(msg) )异常和"1“或"0",msg) File "/usr/lib/python2.7/socket.py",第224行,在meth返回getattr(self._sock,name)(*args)错误: Errno 32断管 2013-04-23 13:45:56,273错误:http:未能运行do_POST回溯(最近一次调用):_handle_one_foreign方法()_handle_one_foreign方法()_handle_one_foreign "/usr/lib/python2.7/SimpleXMLRPCServer.py",第519行,do_POST self.send_response(200) File "/usr/lib/python2.7/BaseHTTPServer.py",第396行在“/usr/lib/python2.7/socket.py”文件( send_response (self.protocol_version,code,message)文件“/usr/lib/python2.7/socket.py”中,第324行"/usr/lib/python2.7/socket.py",第303行,在刷新send_response错误中: Errno 104连接由对等方重置,2013-04-23 13:45:56,647错误:http:code 500,消息内部错误2013-04-23 13:45:56,650错误:init:服务器请求中的错误('192.168.0.132',1880):回溯(最近一次调用): 文件"/opt/openerp/server/bin/service/websrv_lib.py",第528行,在_handle_request2 self.process_request(request,client_address) File "/usr/lib/python2.7/SocketServer.py“中,第310行,在process_request self.finish_request(request,client_address) File "/usr/lib/python2.7/SocketServer.py”中,第323行,在finish_request self.RequestHandlerClass(request,client_address,文件"/opt/openerp/server/bin/service/websrv_lib.py",第246行,在init SocketServer.StreamRequestHandler.init(self,request,client_address,server) File "/usr/lib/python2.7/SocketServer.py",第641行,init self.finish() File "/usr/lib/python2.7/SocketServer.py",第694行,在finish self.wfile.flush() self.wfile.flush文件"/usr/lib/python2.7/socket.py“中,第303行,刷新self.wfile.flush错误: Errno 32断管
有人能帮我吗?
发布于 2013-05-01 21:36:58
断管错误是一种典型的套接字相关错误.如果从互联网连接到服务器的速度较慢的话,可能会有问题。
我建议使用apache代理将本地服务器提供给internet。使用apache中的www.wxample.net:9000设置将本地服务器LOCALHOST:8069映射到VirtualHost。可能对你有用。
有关更多信息,请查看以下链接:https://bugs.launchpad.net/openerp-web/+bug/927793
这可能对你有帮助。
https://stackoverflow.com/questions/16330523
复制相似问题