Odoo Help

1

0
4 答案
1
Stephen Levenhagen 美国
2015/12/30 下午1:13

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 备注
Anas ea 芬兰
2016/1/5 上午6:45

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 埃及

--Mahmoud--
Mahmoud Dot Com
http://www.mah007.com
895
| 1 2 5
Cairo, 埃及
--Mahmoud--

the odoo man

Mahmoud 埃及
2019/4/17 上午10:35

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

0
Anas ea 芬兰
2016/1/5 上午6:50

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)

提问
Writer
Keep Informed
1 关注者(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