콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1838 화면

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?

아바타
취소
베스트 답변

Same Issue When Using Workers in Conf 

아바타
취소
관련 게시물 답글 화면 활동
1
8월 25
838
2
8월 25
325
2
8월 25
448
3
8월 25
1218
1
8월 25
669