跳至内容
菜单
此问题已终结
2 回复
7833 查看

Hello guys i have the below error in my server and i dont know what really is. I think is related to the mailing service, because after a payment ( using demo payment ) stacks on proccess the payment. Any help would be appreciated on this error.


Traceback (most recent call last)File "/usr/lib/python3/dist-packages/odoo/http.py", line 1988, in __call__    response = request._serve_db()  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1584, in _serve_db    return service_model.retrying(self._serve_ir_http, self.env)  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 134, in retrying    result = func()  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1611, in _serve_ir_http    response = self.dispatcher.dispatch(rule.endpoint, args)  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1724, in dispatch    return self.request.registry['ir.http']._dispatch(endpoint)  File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_http.py", line 235, in _dispatch    response = super()._dispatch(endpoint)  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 154, in _dispatch    result = endpoint(**request.params)  File "/usr/lib/python3/dist-packages/odoo/http.py", line 699, in route_wrapper    result = endpoint(self, *args, **params_ok)  File "/usr/lib/python3/dist-packages/odoo/addons/bus/controllers/websocket.py", line 23, in websocket    return WebsocketConnectionHandler.open_connection(request)  File "/usr/lib/python3/dist-packages/odoo/addons/bus/websocket.py", line 814, in open_connection    Websocket(request.httprequest.environ['socket'], request.session),KeyError: 'socket'

形象
丢弃
最佳答案

Hi,

You have to update your nginx file with following block of lines:

location /websocket {
        proxy_redirect off;
        proxy_pass http://odoochat; (need upstream 127.0.0.1:8072) and not :8069 port
        }


Thanks

形象
丢弃
编写者

I haven't initialised and nginx image on docker compose, you have suggestion to do it? This config in the files of nginx service?

最佳答案

I have exactly the same error with my new docker container ...

形象
丢弃
相关帖文 回复 查看 活动
0
11月 23
1573
6
9月 21
23740
4
4月 19
4776
1
3月 15
17924
1
1月 25
1027