Contributors mailing list archives

contributors@odoo-community.org

Re: Exception("bus.Bus unavailable") in a docker image

by
SYLEAM SARL, Sylvain Garancher
- 11/10/2016 07:43:13
This error is often caused by a wokers mode, without any reverse-proxy.
The "/longpolling" URL should be redirected to the 8072 (by default) port, instead of 8069, Odoo doesn't do that for you.

Cordialement,
--



2016-10-11 9:38 GMT+02:00 robert rottermann <robert@redcor.ch>:
Hi there,

I have odoo 9.0 running in a docker container.

It creates the following error in a high cadence:

2016-10-11 07:21:58,698 12 ERROR afbsdemo openerp.http: Exception during 
JSON request handling.
Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 647, in 
_handle_exception
     return super(JsonRequest, self)._handle_exception(exception)
   File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 684, in 
dispatch
     result = self._call_function(**self.params)
   File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 320, in 
_call_function
     return checked_call(self.db, *args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", 
line 118, in wrapper
     return f(dbname, *args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 313, in 
checked_call
     result = self.endpoint(*a, **kw)
   File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 963, in 
__call__
     return self.method(*args, **kw)
   File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 513, in 
response_wrap
     response = f(*args, **kw)
   File 
"/usr/lib/python2.7/dist-packages/openerp/addons/bus/controllers/main.py", 
line 34, in poll
     raise Exception("bus.Bus unavailable")
Exception: bus.Bus unavailable

what could be the reason/fix?


thanks

robert

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe



********************************************************************************
Ce message et toutes les pièces jointes (ci-après le "message") sont établis à
l'intention exclusive de ses destinataires et sont confidentiels. Si vous
recevez ce message par erreur, merci de le détruire et d'en avertir
immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa
destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer
l'intégrité de ce message, SYLEAM décline toute responsabilité au titre de ce
message, dans l'hypothèse où il aurait été modifié.

This message and any attachments (the "message") is intended solely for the
addressees and is confidential. If you receive this message in error, please
delete it and immediately notify the sender. Any use not in accord with its
purpose, any dissemination or disclosure, either whole or partial, is prohibited
except after formal approval. The internet can not guarantee the integrity of
this message. SYLEAM cannot therefore be liable for the message if modified.
********************************************************************************