Odoo Help

Welcome!

This community 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.

0

Live Chat not working on external site

By
Neil
on 11/9/15, 5:43 AM 702 views

Hi,

We've a problem setting up the live chat module on our website. It functions on the server Odoo is running. If we implement the code between the <head> </head> tags of our own, external, site however it doesn't show. Upon investigation of our odoo-server log, the following error appears:

2015-11-09 10:18:22,765 967 INFO None werkzeug: [ipaddr] - - [09/Nov/2015 10:18:22] "GET /im_livechat/available?session_id=9c40f628a3c27e80eadc611d6bcc7b89470deb22&jsonp=jQuery18306173892358783633_1447064302572&r={%22jsonrpc%22%3A%222.0%22%2C%22method%22%3A%22call%22%2C%22params%22%3A{%22db%22%3A%22[ourDB]%22%2C%22channel%22%3A1}%2C%22id%22%3A78963072}&session_id=9c40f628a3c27e80eadc611d6bcc7b89470deb22&_=1447064302717 HTTP/1.1" 200 -

2015-11-09 10:18:29,735 967 INFO [ourDB] werkzeug: [ipaddr] - - [09/Nov/2015 10:18:29] "GET /im_livechat/loader/[ourDB]/1 HTTP/1.1" 200 -

2015-11-09 10:18:29,794 967 INFO [ourDB] werkzeug: [ipaddr] - - [09/Nov/2015 10:18:29] "GET /gen_session_id?session_id=&jsonp=jQuery18305004295583348721_1447064309716&r={%22jsonrpc%22%3A%222.0%22%2C%22method%22%3A%22call%22%2C%22params%22%3A{}%2C%22id%22%3A719669864}&session_id=&_=1447064309754 HTTP/1.1" 200 -

2015-11-09 10:18:29,815 967 INFO [ourDB] werkzeug: [ipaddr] - - [09/Nov/2015 10:18:29] "GET /web/proxy/load?session_id=&jsonp=jQuery18305004295583348721_1447064309717&r={%22jsonrpc%22%3A%222.0%22%2C%22method%22%3A%22call%22%2C%22params%22%3A{%22path%22%3A%22%2Fim_chat%2Fstatic%2Fsrc%2Fxml%2Fim_chat.xml%22}%2C%22id%22%3A783281064}&session_id=&_=1447064309759 HTTP/1.1" 200 -

2015-11-09 10:18:29,879 967 INFO None werkzeug: [ipaddr] - - [09/Nov/2015 10:18:29] "GET /web/proxy/load?session_id=6cb65e67d0b14e11469976909f96ae695645045f&jsonp=jQuery18305004295583348721_1447064309716&r={%22jsonrpc%22%3A%222.0%22%2C%22method%22%3A%22call%22%2C%22params%22%3A{%22path%22%3A%22%2Fim_livechat%2Fstatic%2Fsrc%2Fxml%2Fim_livechat.xml%22}%2C%22id%22%3A725907993}&session_id=6cb65e67d0b14e11469976909f96ae695645045f&_=1447064309791 HTTP/1.1" 200 -

2015-11-09 10:18:29,920 967 ERROR None openerp.http: Exception during JSON request handling.

Traceback (most recent call last):

File "/opt/odoo/openerp/http.py", line 518, in _handle_exception

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

File "/opt/odoo/openerp/http.py", line 1358, in _dispatch_nodb

func, arguments = self.nodb_routing_map.bind_to_environ(request.httprequest.environ).match()

File "/usr/lib/python2.7/dist-packages/werkzeug/routing.py", line 1433, in match

raise NotFound()

NotFound: 404: Not Found


Any help is greatly appreciated :-)

0
Neil
On 11/10/15, 4:38 AM

O.k., our server was running two databases. Deleting one of them resolved the problem, additionally we enabled (=made active) the public user as well.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/9/15, 5:43 AM
Seen: 702 times
Last updated: 11/10/15, 4:38 AM