On 2017-04-09 03:09, manohar b wrote: > Hi, > > I'm getting frequent timeout errors on rpc calls, but it is very > inconsistent and once in a while i'm getting below error: > > *jquery.min.js:4 POST http://xx.xxx.xxx.xxx:8004/ > net::ERR_CONNECTION_TIMED_OUT*
The time out must come from a bad network connectivity. > Traceback (most recent call last): > File "/trytond/wsgi.py", line 47, in dispatch_request > return endpoint(request, **request.view_args) > File "/trytond/protocols/dispatcher.py", line 41, in rpc > request, database_name, *request.rpc_params) > File "/trytond/wsgi.py", line 38, in auth_required > if request.user_id: > File "/werkzeug/utils.py", line 73, in __get__ > value = self.func(obj) > File "/trytond/protocols/wrappers.py", line 64, in user_id > database_name, auth.get('userid'), auth.get('session')) > File "/trytond/security.py", line 84, in check > transaction.commit() > File "/trytond/transaction.py", line 119, in __exit__ > self.connection, self.close) > File "/trytond/backend/postgresql/database.py", line 120, in > put_connection > self._connpool.putconn(connection, close=close) > File "/psycopg2/pool.py", line 171, in putconn > self._putconn(conn, key, close) > File "/psycopg2/pool.py", line 98, in _putconn > raise PoolError("trying to put unkeyed connection") > PoolError: trying to put unkeyed connection This one is very strange. Have you any custom module that modify the session management? It looks like some code put back the connection earlier. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/20170409122729.GB83023%40tetsuo.