Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
This is something very interesting and very useful for all the users of OpenERP.
I have experienced getting 502 bad gateway error , When I try to access the OpenERP application sometimes. I have not found the root cause of it till now though I try to look into the logs and others. The only thing I find is that the OpenERP server is stopped for some unknown reason and It is resolved if I restart the OpenERP server.
It is very difficult to manage at situation when the OpenERP is already live, the client is not able to access the system and the client is unable to contact the support person during night times.
1) What are the reasons for which this 502 bad gateway can occur when we are using OpenERP 2) How to avoid these problems and manage the difficult situations
Thanks in advance
The problem i mentioned is not about the OpenERP server for Q/A. It is about our own OpenERP production server. But as Sven Boudesseul said, even OpenERP SA is experiencing the same problem.
I have guessed a few reasons for this 502 problem. They are:
1) The OpenERP server stops working, when it encounters a critical issue during the runtime.
2) The OpenERP server stops working, when python workload is very high to extend of not being able to process it further.
The solution that I have found is :
1) To write a cron job in linux / a scheduler in windows that keeps checking whether the python/openerp process is running or not. It can be once in 30 sec or a min. once it finds that the openerp server is not running or python process is not running, the responsive action of the cron job/scheduler is to start the process.
I have been using this solution for many months without any problem. My client is also happy that OpenERP server is up all the time except the few minutes when it stops working.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/8/13, 9:06 AM|
|Seen: 3584 times|
|Last updated: 3/16/15, 8:10 AM|