Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1609 Widoki

Traceback (most recent call last):

  File "/opt/odoo18/addons/bus/websocket.py", line 914, in open_connection

    socket = request.httprequest._HTTPRequest__environ['socket']

KeyError: 'socket'


The above exception was the direct cause of the following exception: 

Traceback (most recent call last):

  File "/opt/odoo18/odoo/http.py", line 2366, in __call__

    response = request._serve_db()

  File "/opt/odoo18/odoo/http.py", line 1894, in _serve_db

    return self._transactioning(

  File "/opt/odoo18/odoo/http.py", line 1957, in _transactioning

    return service_model.retrying(func, env=self.env)

  File "/opt/odoo18/odoo/service/model.py", line 137, in retrying

    result = func()

  File "/opt/odoo18/odoo/http.py", line 1924, in _serve_ir_http

    response = self.dispatcher.dispatch(rule.endpoint, args)

  File "/opt/odoo18/odoo/http.py", line 2084, in dispatch

    return self.request.registry['ir.http']._dispatch(endpoint)

  File "/opt/odoo18/odoo/addons/base/models/ir_http.py", line 329, in _dispatch

    result = endpoint(**request.params)

  File "/opt/odoo18/odoo/http.py", line 727, in route_wrapper

    result = endpoint(self, *args, **params_ok)

  File "/opt/odoo18/addons/bus/controllers/websocket.py", line 20, in websocket

    return WebsocketConnectionHandler.open_connection(request, version)

  File "/opt/odoo18/addons/bus/websocket.py", line 927, in open_connection

    raise RuntimeError(

RuntimeError: Couldn't bind the websocket. Is the connection opened on the evented port (8072)?


While enabling workers, above error came. How to solve this?

Awatar
Odrzuć
Najlepsza odpowiedź

Same Issue When Using Workers in Conf 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 25
252
0
sie 25
2
0
lip 25
2
0
lip 25
3
2
lip 25
493