【问题标题】:The proxy server received an invalid response from an upstream server in odoo代理服务器从 odoo 中的上游服务器收到无效响应
【发布时间】:2016-10-14 05:57:08
【问题描述】:

在本地 odoo 服务器的工资模块下生成报告时 - 我收到以下错误:

Odoo

XmlHttpRequestError Proxy Error

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<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_button">POST&nbsp;/web/dataset/call_button</a></em>.<p>
Reason: <strong>Error reading from remote server</strong></p></p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at 192.168.111.188 Port 80</address>
</body></html>

【问题讨论】:

    标签: apache proxy xmlhttprequest openerp reverse-proxy


    【解决方案1】:

    当我尝试创建新数据库时遇到同样的问题 odoo 8.0.17 / bitnami 堆栈

    > XmlHttpRequestError Proxy Error <!DOCTYPE HTML PUBLIC "-//IETF//DTD
    > HTML 2.0//EN"> <html><head> <title>502 Proxy Error</title>
    > </head><body> <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/database/create">POST&nbsp;/web/database/create</a></em>.<p>
    > Reason: <strong>Error reading from remote server</strong></p></p>
    > </body></html>
    

    【讨论】:

      【解决方案2】:

      尝试这些步骤来解决 XmlHttpRequestError 代理错误:

      • 这只是与浏览器端有关的东西,所以使用私人窗口
      • 清除浏览器 cookie,因为有时 cookie 已损坏
      • 有时页面实际加载但请求超时
      • It Works For Me 试试这个,您必须使用空打印语句或其他内容更新您的操作模块代码(例如 - model:employee.fine),现在再次尝试该操作,它可以工作!

      【讨论】:

        猜你喜欢
        • 2012-04-07
        • 2015-10-09
        • 2023-03-17
        • 2019-03-17
        • 1970-01-01
        • 1970-01-01
        • 2018-06-09
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多