Skip to Content
Menu
This question has been flagged
2 Replies
7852 Views

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'

Avatar
Discard
Best Answer

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

Avatar
Discard
Author

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

Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 23
1581
6
Sep 21
23752
4
Apr 19
4780
1
Mar 15
17937
1
Jan 25
1038