Skip to Content
Menú
This question has been flagged
2 Respostes
8027 Vistes

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
Descartar
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
Descartar
Autor

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
Descartar
Related Posts Respostes Vistes Activitat
0
de nov. 23
1676
6
de set. 21
23835
4
d’abr. 19
4890
1
de març 15
18072
1
de gen. 25
1177