Odoo Help


apache 502 proxy error after updating to 7th version

on 12/22/13, 2:09 AM 58,026 views

We don't use ssl connection, and connect through 80 port using apache. In 6th version everything worked well, but after upgrading it to 7th following error sometimes appear.

    XmlHttpRequestError Proxy Error

 <title>502 Proxy Error</title>
 <h1>Proxy Error</h1>
 <p>The proxy server received an invalid
 response from an upstream server.<br /> 
The proxy server could not handle the request <em><a href="/web/dataset/call_kw">POST /web/dataset/call_kw</a></em>.<p> 
Reason: <strong>Error reading from remote server</strong></p></p> 
 <address>Apache/2.2.22 (Ubuntu) Server at mydomain.com Port 80</address>

apache config:

<Virtualhost *:80>
    #  DocumentRoot "/home/monoserp/openerp-server/openerp"
      ServerName mydomain.com
      ServerAdmin aldar@gmail.com
    #  DirectoryIndex index.html index.php
      ProxyRequests On
      ProxyPreserveHost On
      ProxyVia full

      ProxyTimeout 18000

       <Directory />
                    Options FollowSymLinks
                    AllowOverride None
                    Order allow,deny
                    allow from all

        Order deny,allow
        Allow from all
      SetEnv proxy-nokeepalive 1
      ProxyPass        / connectiontimeout=500 timeout=18000
      ProxyPassReverse /

Solved! It's a bit complicated but it works

See here 



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: 12/22/13, 2:09 AM
Seen: 58026 times
Last updated: 3/16/15, 8:10 AM