Odoo - 长进程导致 XmlHttpRequestError BAD REQUEST 错误

Odoo - Long process leads to XmlHttpRequestError BAD REQUEST error

在 odoo 中,当我正在执行任何长过程时,例如从中获取数据 亚马逊并在 odoo 中处理这些数据,5-10 分钟后我得到 这个错误不知道为什么会这样。

XmlHttpRequestError BAD REQUEST
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>400 Bad Request</title>
<h1>Bad Request</h1>
Invalid JSON data: ''

该进程似乎 运行 在服务器的后台运行,但我每次都遇到此错误。这会导致用户误入歧途。

我想知道为什么我总是收到这个错误?这是正常行为吗?

即使得到这个,数据处理也会正常进行 错误,所以我不明白为什么这个错误只出现在 漫长的过程。

Web 服务器是否发生超时问题?

我需要注意哪些地方?

UPDATE

I have did this process from different system and it seems everything working fine over there.

So what my guess is "It is something related to browser end only"

May be browser is not able to manage such idle requests (may be any request time out settings needs to be updated)

解法:

起初并不清楚,但跟踪告诉我确切的问题是什么“cookie”

The problem was due to a cookie that has become corrupted. Not sure how it got that way but it seems that the last time it was generated something went wrong. The easy solution is to delete all your cookies of that particular domain or should do this from private window (incognito mode).