Odoo Help

1
4 Answers
1
Stephen Levenhagen
12/30/15, 1:13 PM

I Had exactly the same problem,  but chat work fine not using poxy.

I found after much trial an error if I placed the longpolling proxies after the xmlrpc ports in my virtual host it works,


also I did not include /longpolling/ after the server address.



<VirtualHost *:80>

ServerName myserver.com

<Proxy *>

Order deny,allow

Allow from all

</Proxy>

ProxyPreserveHost off

ProxyPass / http://127.0.0.1:8900/

ProxyPassReverse / http://127.0.0.1:8900/

ProxyPass /longpolling/ http://127.0.0.1:8901/

ProxyPassReverse /longpolling/ http://127.0.0.1:8901/


</VirtualHost>

1 Comment
Anas ea
1/5/16, 6:45 AM

thank you for your answer this got rid of that error but I got the classic error raise Exception("bus.Bus unavailable") Only thing that made it go away was to use the xmlrpc_interface = 127.0.0.1 and netrpc_interface = 127.0.0.1 and have the nginx/apache in the same server as odoo

0
Mahmoud
4/17/19, 10:35 AM

is it ProxyPassReverse /longpolling/ http://127.0.0.1:8901/
or ProxyPassReverse /longpolling/ http://127.0.0.1:8901/longpolling/

0
Anas ea
1/5/16, 6:50 AM

managed to get rid of the error by:

  • changing the order in the proxy configuration as Stephen Levenhagen mesntioned

  • Have the proxy in the same machine as odoo server

  • put xmlrpc_interface and netrpc_interface to 127.0.0.1


    There are no errors now in the odoo log, But Chat is still unresponsive (no AJAX behaviour)

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now