Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1669 Visualizzazioni

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?

Avatar
Abbandona
Risposta migliore

Same Issue When Using Workers in Conf 

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ago 25
507
3
ago 25
792
1
ago 25
315
0
ago 25
2
0
lug 25
2