在cosole得到以下错误。有什么想法发生在这里?
NotFound: 404: Not Found
2018-06-12 09:59:38,732 47742 INFO ? werkzeug: 127.0.0.1 - - [12/Jun/2018 09:59:38] "POST /longpolling/poll HTTP/1.1" 200 -
2018-06-12 10:00:04,722 47742 ERROR ? openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/home/git/odoo/openerp/http.py", line 648, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/git/odoo/openerp/http.py", line 1631, in _dispatch_nodb
func, arguments = self.nodb_routing_map.bind_to_environ(request.httprequest.environ).match()
File "/usr/lib/python2.7/dist-packages/werkzeug/routing.py", line 1433, in match
答案 0 :(得分:1)
你的odoo是否在域名下运行? Odoo使用默认端口8072的loongpooling。我猜这个端口已关闭。只需为该端口添加反向代理。