On Sunday, April 9, 2017 at 6:00:08 PM UTC+5:30, Cédric Krier wrote:
>
> 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. 
>

 I don't have any custom module related to session management apart from 
tryton modules added from pip package.


Thanks,
Manohar.

-- 
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/5194cfc4-10d4-4e4f-b846-25302e6a6b72%40googlegroups.com.

Reply via email to