Hi,
I am facing a repeated “bus.Bus unavailable” exception in my Odoo 15 instance running on localhost. The error appears during JSON request handling, especially when notifications or chat features trigger server requests.
2025-10-27 12:18:28,520 49937 ERROR test_backup01 odoo.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/home/user/uday_sankar_k/odoo15/odoo/odoo/addons/base/models/ir_http.py", line 242, in _dispatch
result = request.dispatch()
File "/home/user/uday_sankar_k/odoo15/odoo/odoo/http.py", line 702, in dispatch
result = self._call_function(**self.params)
File "/home/user/uday_sankar_k/odoo15/odoo/odoo/http.py", line 368, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/user/uday_sankar_k/odoo15/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/home/user/uday_sankar_k/odoo15/odoo/odoo/http.py", line 357, in checked_call
result = self.endpoint(*a, **kw)
File "/home/user/uday_sankar_k/odoo15/odoo/odoo/http.py", line 925, in __call__
return self.method(*args, **kw)
File "/home/user/uday_sankar_k/odoo15/odoo/odoo/http.py", line 546, in response_wrap
response = f(*args, **kw)
File "/home/user/uday_sankar_k/odoo15/odoo/odoo15core-master/bus/controllers/main.py", line 28, in poll
raise Exception("bus.Bus unavailable")
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/user/uday_sankar_k/odoo15/odoo/odoo/http.py", line 658, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/user/uday_sankar_k/odoo15/odoo/odoo/http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
Exception: bus.Bus unavailable
- Conf file includes:
- workers = 2
- longpolling_port = 8072
- proxy_mode = True
Hello,
Hello,
If you are working in a local environment, you don’t need to set proxy_mode = True.
Also, remove longpolling_port if you are not using any custom modules that rely on longpolling or real-time notifications.
Hope it helps.