Odoo Help


Getting a session expired error after web call

Steve Allan
on 3/1/16, 5:14 PM 525 views


I'm writing an angularJS front end that connects to an Odoo system. Inconsistently a call via call_kw to return some data fails with the error "session expired". The data being returned doesn't appear to have anything to do with causing the error and the error very seldom occurs when a user first logs in but more often when refreshing a page or moving between screens.

I've tracked it down to the setup_db method in the http.py file. The check to see if httprequest.session.db exists fails for reasons unknown.

Has anybody else had this happen or know what the cause would be?

Thank you.

Hi, Do you know where the session is stored? is there any physical file or anywhere in odoo, the login session is stored. Thanks,

on 10/3/16, 8:34 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/1/16, 5:14 PM
Seen: 525 times
Last updated: 3/1/16, 5:42 PM