Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1775 Tampilan

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
Buang
Jawaban Terbai

Same Issue When Using Workers in Conf 

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Agu 25
98
1
Agu 25
720
2
Agu 25
310
3
Agu 25
1053
1
Agu 25
614