This question has been flagged
4 Replies
5906 Views

Hi all!

After our "Partner" and Odoo could not really help us I turn to the comunity! As this is my first post I'd like to say thank you to all the help I already gained from reading here. Thank you!

Any help on the following issue is highly welcome!

Edition: enterprise
Version: 9.0

What are the steps to reproduce your issue? 

Use odoo. 

What is the current behavior that you observe? 

Messages, chat, interface in general is not updating live. We have to manually refresh the page. 
Workflow: 
=> 1 new message "@1" in menu bar. 
=> Klick on messages 
=> Mark message as read, symbol stays at "@1" 
=> Move around in odoo, Symbol stays at "@1" 
=> Refresh cmd+R the whole browser page. Only then the interface updates. 

What would be your expected behavior in this case? 

Same as the online demo on odoo.com. 
=> 1 new message "@1" in menu bar. 
=> Klick on messages 
=> Mark message as read, message disappears, symbol goes away or decreases live. 

OS: Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-72-generic x86_64) 
Server version: Apache/2.4.18 (Ubuntu) 
Databases: 
[1] mysql Ver 15.1 Distrib 10.1.22-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 
USED FOR ODOO: [2] psql (PostgreSQL) 9.5.6 

APACHE Loaded Modules: 
core_module (static) 
so_module (static) 
watchdog_module (static) 
http_module (static) 
log_config_module (static) 
logio_module (static) 
version_module (static) 
unixd_module (static) 
access_compat_module (shared) 
alias_module (shared) 
auth_basic_module (shared) 
authn_core_module (shared) 
authn_file_module (shared) 
authz_core_module (shared) 
authz_host_module (shared) 
authz_user_module (shared) 
autoindex_module (shared) 
deflate_module (shared) 
dir_module (shared) 
env_module (shared) 
filter_module (shared) 
headers_module (shared) 
mime_module (shared) 
mpm_prefork_module (shared) 
negotiation_module (shared) 
php7_module (shared) 
proxy_module (shared) 
proxy_http_module (shared) 
rewrite_module (shared) 
setenvif_module (shared) 
socache_shmcb_module (shared) 
ssl_module (shared) 
status_module (shared) 

Regards, 
Florian 

Avatar
Discard
Author

I dug much deeper a while ago. Maybe someone can help now:

In the end it seems to be:

File "/home/odoo/odoo/addons/bus/controllers/main.py", line 34, in poll

raise Exception("bus.Bus unavailable")

Exception: bus.Bus unavailable

Full Trace:

2017-07-25 21:45:01,886 25550 ERROR Testdatenbank_20170725 openerp.http: Exception during JSON request handling.

Traceback (most recent call last):

File "/home/odoo/odoo/openerp/http.py", line 648, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/home/odoo/odoo/openerp/http.py", line 685, in dispatch

result = self._call_function(**self.params)

File "/home/odoo/odoo/openerp/http.py", line 321, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/home/odoo/odoo/openerp/service/model.py", line 118, in wrapper

return f(dbname, *args, **kwargs)

File "/home/odoo/odoo/openerp/http.py", line 314, in checked_call

result = self.endpoint(*a, **kw)

File "/home/odoo/odoo/openerp/http.py", line 964, in __call__

return self.method(*args, **kw)

File "/home/odoo/odoo/openerp/http.py", line 514, in response_wrap

response = f(*args, **kw)

File "/home/odoo/odoo/addons/bus/controllers/main.py", line 34, in poll

raise Exception("bus.Bus unavailable")

Exception: bus.Bus unavailable

Author Best Answer

I found a solution. I think it is not the ultimate solution (as I did not know what I was doing. But have a look at the following setup walkthrough:
https://antiun.github.io/odoo-reverse-proxy-howto/

Especially I just rewrote my apache config with:
https://antiun.github.io/odoo-reverse-proxy-howto/files/apache2/odoo-ssl.conf

Avatar
Discard
Best Answer

This is most likely the redirection for port 8071 that is not well configured in your nginx

Avatar
Discard
Best Answer

Hello

I am also facing the same issue on my Odoo 10 community version. In my case channel and direct messages are also not updating live and user have to refresh their browser to check if their is any new message.

Any help from professional is highly appreciated.

Avatar
Discard