Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4691 Lượt xem

Hello Odooers,

Getting this Trackback on Terminal. it's not popping out on Web interface.

Using: Odoo15CE on Cent.



2022-10-31 15:00:45,117 7624 INFO D1-INV werkzeug: 105.33.62.100 - - [31/Oct/2022 15:00:45] "POST /longpolling/im_status HTTP/1.1" 200 - 4 0.001 0.004
2022-10-31 15:00:47,913 7624 DEBUG D1-INV odoo.modules.registry: Multiprocess signaling check: [Registry - 28 -> 28] [Cache - 366 -> 366]
2022-10-31 15:00:47,914 7624 ERROR D1-INV odoo.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/opt/odoo/odoo15/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/opt/odoo/odoo15/odoo/http.py", line 687, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo15/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo15/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo15/odoo/http.py", line 348, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo15/odoo/http.py", line 916, in __call__
return self.method(*args, **kw)
File "/opt/odoo/odoo15/odoo/http.py", line 535, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo15/addons/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 "/opt/odoo/odoo15/odoo/http.py", line 643, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo15/odoo/http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
Exception: bus.Bus unavailable



Why is this Error Happening, and how to fix that ?


Thank you.





Ảnh đại diện
Huỷ bỏ

Hi.

Did you missed to configure long polling port in odoo conf file ?

Thanks

Câu trả lời hay nhất

If you are using any reverseproxy, make sure you have set the longpolling/ odoochat settings correctly. In my case  my upstream settings in nginx configuration was not correct.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

You need to pass proxy_mode = True in odoo conf file.

Regards

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you for your reply.
Proxy Mode was Already Enabled.

*****
log_handler= ["[':INFO']"]
log_level= debug
longpolling_port = ****
logrotate = True
list_db = False
**proxy_mode = True**
limit_memory_hard = 1677721600
limit_memory_soft = 629145600
limit_request = 8192
limit_time_cpu = 600
limit_time_real = 1200
max_cron_threads = 1
workers = 8
******

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 22
2171
2
thg 4 24
3629
0
thg 7 22
3926
2
thg 10 25
2543
1
thg 9 25
2539