Coder Social home page Coder Social logo

LiveChat is not working on version 8 about odoo HOT 14 CLOSED

odoo avatar odoo commented on June 22, 2024
LiveChat is not working on version 8

from odoo.

Comments (14)

nhomar avatar nhomar commented on June 22, 2024

Can you share with us how are you running the server?

Regards.

Written from my android
On May 24, 2014 11:57 AM, "BShawabkeh" [email protected] wrote:

I installed livechat for visitors, when I add the script livechat script
link on my openerp 8 website, I got the bellow errors:

2014-05-24 16:54:25,021 20081 INFO openerp werkzeug: 127.0.0.1 - -
[24/May/2014 16:54:25] "GET /web? HTTP/1.1" 404 -
2014-05-24 16:54:25,083 20081 INFO ? werkzeug: 127.0.0.1 - - [24/May/2014
16:54:25] "GET /im_livechat/static/ext/static/lib/requirejs/require.js
HTTP/1.1" 200 -
2014-05-24 16:54:25,121 20081 WARNING openerp openerp.osv.orm: No
field_values found for ids [2] in browse_record(im_livechat.channel, 2)
2014-05-24 16:54:25,257 20081 INFO openerp werkzeug: 127.0.0.1 - -
[24/May/2014 16:54:25] "GET
/im_livechat/loader?p=%7B%22db%22:%20%22openerp%22,%20%22channel%22:%202%7D
HTTP/1.1" 500 -
2014-05-24 16:54:25,315 20081 ERROR openerp werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line
177, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line
165, in execute
application_iter = app(environ, start_response)
File "/backup/odoo/openerp/service/server.py", line 273, in app
return self.app(e, s)
File "/backup/odoo/openerp/service/wsgi_server.py", line 215, in
application
return application_unproxied(environ, start_response)
File "/backup/odoo/openerp/service/wsgi_server.py", line 201, in
application_unproxied
result = handler(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1110, in call
return self.dispatch(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1087, in call
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579,
in call
return self.app(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1248, in dispatch
result = ir_http.

_dispatch() File "/backup/odoo/addons/website/models/ir_http.py", line 78,
in dispatch return super(ir_http, self)._dispatch() File
"/backup/odoo/openerp/addons/base/ir/ir_http.py", line 125, in _dispatch
return self._handle_exception(e) File
"/backup/odoo/addons/website/models/ir_http.py", line 186, in
_handle_exception return super(ir_http, self)._handle_exception(exception)
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 94, in
_handle_exception return request._handle_exception(exception) File
"/backup/odoo/openerp/addons/base/ir/ir_http.py", line 121, in _dispatch
result = request.dispatch() File "/backup/odoo/openerp/http.py", line 544,
in dispatch r = self._call_function(__self.params) File
"/backup/odoo/openerp/http.py", line 296, in _call_function return
checked_call(self.db, *args, *_kwargs) File
"/backup/odoo/openerp/service/model.py", line 113, in wrapper return
f(dbname, _args, *_kwargs) File "/backup/odoo/openerp/http.py", line 293,
in checked_call return self.endpoint(_a, _kw) File
"/backup/odoo/openerp/http.py", line 659, in __call

return self.method(_args, *_kw)
File "/backup/odoo/openerp/http.py", line 345, in response_wrap
response = f(_args, *_kw)
File "/backup/odoo/addons/im_livechat/im_livechat.py", line 55, in loader
info = reg.get('im_livechat.channel').get_info_for_chat_src(cr, uid,
channel)
File "/backup/odoo/addons/im_livechat/im_livechat.py", line 196, in
get_info_for_chat_src
'buttonText': chan.button_text,
File "/backup/odoo/openerp/osv/orm.py", line 505, in getattr
return self[name]
File "/backup/odoo/openerp/osv/orm.py", line 435, in getitem
raise KeyError('Field %s not found in %s'%(name, self))
AttributeError: Got KeyError('Field button_text not found in
browse_record(im_livechat.channel, 2)',) while trying to get attribute
button_text on a im_livechat.channel record.
2014-05-24 16:54:25,684 20081 INFO openerp werkzeug: 127.0.0.1 - -
[24/May/2014 16:54:25] "GET /web/css/web.assets_common HTTP/1.1" 200 -
2014-05-24 16:54:25,800 20081 INFO openerp werkzeug: 127.0.0.1 - -
[24/May/2014 16:54:25] "GET /logo.png HTTP/1.1" 200 -


Reply to this email directly or view it on GitHubhttps://github.com//issues/190
.

from odoo.

BShawabkeh avatar BShawabkeh commented on June 22, 2024

Hi,

I download latest copy of openerp8 and run using the bellow command (after installing all dependencies):

./openerp-server.py –addons-path=/backup/odoo/addons

Please note that I added the extension (.py) to the openerp-server file

I tried many time, each time I remove/reinstall openerp database schema (each time I install new database, I use the bellow command so I don't get internal server error:
./openerp-server.py -d openerp -u all –addons-path=/backup/odoo/addons
)

Then, I installed LiveChat dependencies found in the bellow website (like python-gevent ...):
https://www.odoo.com/forum/Help-1/question/How-to-activate-chat-im-in-v8-trunk-22521

Finally, I add the bellows lines within the tag in the /addons/website/views/website_templates.xml file (under bootstrap.js script link) as shown bellow:

<script type="text/javascript" src="http://localhost:8069/im_livechat/static/ext/static/lib/requirejs/require.js"></script> <script type="text/javascript" src='http://localhost:8069/im_livechat/loader?p={"db": "openerp", "channel": 2}'></script>

Please let me know if I missing something here?

Thanks in advance,
Bader

from odoo.

nhomar avatar nhomar commented on June 22, 2024

Run it with --workers=4.

Written from my android
On May 24, 2014 4:52 PM, "BShawabkeh" [email protected] wrote:

Hi,

I download latest copy of openerp8 and run using the bellow command (after
installing all dependencies):

./openerp-server.py –addons-path=/backup/odoo/addons

Please note that I added the extension (.py) to the openerp-server file

I tried many time, each time I remove/reinstall openerp database schema
(each time I install new database, I use the bellow command so I don't get
internal server error:
./openerp-server.py -d openerp -u all –addons-path=/backup/odoo/addons
)

Then, I installed LiveChat dependencies found in the bellow website (like
python-gevent ...):

https://www.odoo.com/forum/Help-1/question/How-to-activate-chat-im-in-v8-trunk-22521

Finally, I add the bellows lines within the
tag in the /addons/website/views/website_templates.xml file (under
bootstrap.js script link) as shown bellow:

Please let me know if I missing something here?

Thanks in advance,
Bader


Reply to this email directly or view it on GitHubhttps://github.com//issues/190#issuecomment-44100822
.

from odoo.

BShawabkeh avatar BShawabkeh commented on June 22, 2024

Hi,

I just re-created openerp database, then run:
bader@Debian:/backup/odoo$ ./openerp-server.py -d openerp -u all --addons-path=/backup/odoo/addons –workers=4

and installed live chat, website builder (after added the livechat lines within the tag) but I still getting the same error... please see bellow:

2014-05-24 22:15:31,241 27462 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 22:15:31] "POST /web/action/load HTTP/1.1" 200 -
2014-05-24 22:15:31,484 27461 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 22:15:31] "GET / HTTP/1.1" 200 -
2014-05-24 22:15:31,547 27463 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 22:15:31] "GET /logo.png HTTP/1.1" 200 -
2014-05-24 22:15:31,550 27462 WARNING openerp openerp.osv.orm: No field_values found for ids [2] in browse_record(im_livechat.channel, 2)
2014-05-24 22:15:31,561 27462 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 22:15:31] "GET /im_livechat/loader?p=%7B%22db%22:%20%22openerp%22,%20%22channel%22:%202%7D HTTP/1.1" 500 -
2014-05-24 22:15:31,586 27462 ERROR openerp werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
application_iter = app(environ, start_response)
File "/backup/odoo/openerp/service/wsgi_server.py", line 215, in application
return application_unproxied(environ, start_response)
File "/backup/odoo/openerp/service/wsgi_server.py", line 201, in application_unproxied
result = handler(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1110, in call
return self.dispatch(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1087, in call
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in call
return self.app(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1087, in call
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in call
return self.app(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1087, in call
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in call
return self.app(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1248, in dispatch
result = ir_http._dispatch()
File "/backup/odoo/addons/website/models/ir_http.py", line 78, in _dispatch
return super(ir_http, self)._dispatch()
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 125, in _dispatch
return self._handle_exception(e)
File "/backup/odoo/addons/website/models/ir_http.py", line 186, in _handle_exception
return super(ir_http, self)._handle_exception(exception)
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 94, in _handle_exception
return request._handle_exception(exception)
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 121, in _dispatch
result = request.dispatch()
File "/backup/odoo/openerp/http.py", line 544, in dispatch
r = self._call_function(*_self.params)
File "/backup/odoo/openerp/http.py", line 296, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/backup/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/backup/odoo/openerp/http.py", line 293, in checked_call
return self.endpoint(_a, *_kw)
File "/backup/odoo/openerp/http.py", line 659, in call
return self.method(_args, *_kw)
File "/backup/odoo/openerp/http.py", line 345, in response_wrap
response = f(_args, *_kw)
File "/backup/odoo/addons/im_livechat/im_livechat.py", line 55, in loader
info = reg.get('im_livechat.channel').get_info_for_chat_src(cr, uid, channel)
File "/backup/odoo/addons/im_livechat/im_livechat.py", line 196, in get_info_for_chat_src
'buttonText': chan.button_text,
File "/backup/odoo/openerp/osv/orm.py", line 505, in getattr
return self[name]
File "/backup/odoo/openerp/osv/orm.py", line 435, in getitem
raise KeyError('Field %s not found in %s'%(name, self))
AttributeError: Got KeyError('Field button_text not found in browse_record(im_livechat.channel, 2)',) while trying to get attribute button_text on a im_livechat.channel record.
2014-05-24 22:15:31,758 27464 INFO openerp werkzeug: 127.0.0.1 - - [24/May/2014 22:15:31] "POST /web/webclient/translations HTTP/1.1" 200 -

I also notice more process are running after adding –workers=4

root@Debian:/backup/odoo/addons# ps -ef | grep openerp
postgres 27369 27220 0 23:11 ? 00:00:00 postgres: openerp postgres ::1(35208) idle
postgres 27388 27220 0 23:11 ? 00:00:00 postgres: openerp openerp ::1(35227) idle
bader 27389 11116 7 23:11 pts/1 00:00:23 python ./openerp-server.py -d openerp -u all --addons-path=/backup/odoo/addons --workers=4
bader 27461 27389 3 23:13 pts/1 00:00:09 python ./openerp-server.py -d openerp -u all --addons-path=/backup/odoo/addons --workers=4
bader 27462 27389 0 23:13 pts/1 00:00:01 python ./openerp-server.py -d openerp -u all --addons-path=/backup/odoo/addons --workers=4
bader 27463 27389 0 23:13 pts/1 00:00:01 python ./openerp-server.py -d openerp -u all --addons-path=/backup/odoo/addons --workers=4
bader 27464 27389 2 23:13 pts/1 00:00:05 python ./openerp-server.py -d openerp -u all --addons-path=/backup/odoo/addons --workers=4
bader 27465 27389 0 23:13 pts/1 00:00:00 python ./openerp-server.py -d openerp -u all --addons-path=/backup/odoo/addons --workers=4
bader 27466 27389 0 23:13 pts/1 00:00:00 python ./openerp-server.py -d openerp -u all --addons-path=/backup/odoo/addons --workers=4
bader 27467 27389 0 23:13 pts/1 00:00:00 python ./openerp-gevent --addons-path=/backup/odoo/addons --workers=4
postgres 27536 27220 2 23:13 ? 00:00:04 postgres: bader openerp [local] idle
postgres 27537 27220 0 23:13 ? 00:00:00 postgres: bader openerp [local] idle

Thanks in advance,
Bader

from odoo.

BShawabkeh avatar BShawabkeh commented on June 22, 2024

Hi,

Please let me know if I missing something here? Is it a bug ?

Thanks,
Bader

from odoo.

BShawabkeh avatar BShawabkeh commented on June 22, 2024

Hi,

I tried to start the server (and recreate openerp database), but got the bellow error:

bader@Debian:/backup/odoo$ ./openerp-gevent.py -d openerp --addons-path=/backup/odoo/addons –workers=4
Usage: openerp-gevent.py [options]

openerp-gevent.py: error: unrecognized parameters: '–workers=4'
bader@Debian:/backup/odoo$

So I remove --workers command and tried again, but got the same error again:

./openerp-gevent.py -d openerp --addons-path=/backup/odoo/addons

(longpolling) running on 0.0.0.0:8072
DeprecationWarning: BeautifulSoup 3 or earlier is deprecated; install bs4 instead
2014-05-25 12:11:27,130 31023 WARNING ? openerp.addons.report.models.report: Upgrade wkhtmltopdf to (at least) 0.12.0
2014-05-25 12:11:27,178 31023 WARNING ? openerp.addons.website_event.controllers.main: Please install GeoIP python module to use events localisation.
2014-05-25 12:11:27,240 31023 INFO ? openerp.http: HTTP Configuring static files
2014-05-25 12:11:27,273 31023 INFO openerp openerp.modules.loading: loading 1 modules...
2014-05-25 12:11:27,307 31023 INFO openerp openerp.modules.loading: loading 24 modules...
2014-05-25 12:11:27,356 31023 INFO openerp openerp.modules.loading: Modules loaded.
2014-05-25 12:11:27,357 31023 INFO openerp openerp.addons.base.ir.ir_http: Generating routing map
127.0.0.1 - - [2014-05-25 12:11:27] "GET / HTTP/1.1" 200 11680 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36"
2014-05-25 12:11:27,605 31023 WARNING openerp openerp.osv.orm: No field_values found for ids [2] in browse_record(im_livechat.channel, 2)
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/gevent/wsgi.py", line 114, in handle
result = self.server.application(env, self.start_response)
File "/backup/odoo/openerp/service/wsgi_server.py", line 215, in application
return application_unproxied(environ, start_response)
File "/backup/odoo/openerp/service/wsgi_server.py", line 201, in application_unproxied
result = handler(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1110, in call
return self.dispatch(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1087, in call
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in call
return self.app(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1248, in dispatch
result = ir_http._dispatch()
File "/backup/odoo/addons/website/models/ir_http.py", line 78, in _dispatch
return super(ir_http, self)._dispatch()
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 125, in _dispatch
return self._handle_exception(e)
File "/backup/odoo/addons/website/models/ir_http.py", line 186, in _handle_exception
return super(ir_http, self)._handle_exception(exception)
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 94, in _handle_exception
return request._handle_exception(exception)
File "/backup/odoo/openerp/http.py", line 272, in _handle_exception
raise
AttributeError: Got KeyError('Field button_text not found in browse_record(im_livechat.channel, 2)',) while trying to get attribute button_text on a im_livechat.channel record.
: Failed to handle request:
request = <http_request "GET /im_livechat/loader?p=%7B%22db%22:%20%22openerp%22,%20%22channel%22:%202%7D HTTP/1.1" 127.0.0.1:58995>
application = <function application at 0x33bac08>

127.0.0.1 - - [2014-05-25 12:11:27] "GET /im_livechat/loader?p=%7B%22db%22:%20%22openerp%22,%20%22channel%22:%202%7D HTTP/1.1" 500 21 "http://localhost:8072/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36"
127.0.0.1 - - [2014-05-25 12:11:27] "GET /logo.png HTTP/1.1" 200 3643 "http://localhost:8072/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36"
127.0.0.1 - - [2014-05-25 12:11:28] "POST /web/webclient/translations HTTP/1.1" 200 228 "http://localhost:8072/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36"

Please advice;

Thanks,
Bader

from odoo.

BShawabkeh avatar BShawabkeh commented on June 22, 2024

Kindly, let me know if I missed anything here?

from odoo.

dcorio avatar dcorio commented on June 22, 2024

just tried and found no problems. you sure you're using up-to-date code and dependencies?

from odoo.

BShawabkeh avatar BShawabkeh commented on June 22, 2024

Hi,

These are the dependencies I installed to run livechat on odoo ver 8
:

  1. apt-get install python-gevent
  2. apt-get install psycogreen
  3. apt-get install greenlet
  4. apt-get install python-all-dev
  5. apt-get install libevent-dev
  6. apt-get install python-psycopg2
  7. setup IM module
  8. And run server: ./server/openerp-gevent --addons =....

Then I added the bellow lines in  /addons/website/views/website_templates.xml :

<script type="text/javascript" src="http://www.wellsautogroup.com/im_livechat/static/ext/static/lib/requirejs/require.js"></script> <script type="text/javascript" src='http://www.wellsautogroup.com/im_livechat/loader?p={"db": "openerp", "channel": 1}'></script>

but got bellow Warning/Errors:

2014-05-26 16:42:30,740 16571 INFO openerp werkzeug: 127.0.0.1 - - [26/May/2014 16:42:30] "GET /logo.png HTTP/1.1" 200 -
2014-05-26 16:42:30,741 16571 WARNING openerp openerp.osv.orm: No field_values found for ids [2] in browse_record(im_livechat.channel, 2)
2014-05-26 16:42:30,750 16571 INFO openerp werkzeug: 127.0.0.1 - - [26/May/2014 16:42:30] "GET /im_livechat/loader?p=%7B%22db%22:%20%22openerp%22,%20%22channel%22:%202%7D HTTP/1.1" 500 -
2014-05-26 16:42:30,767 16571 ERROR openerp werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
application_iter = app(environ, start_response)
File "/backup/odoo/openerp/service/server.py", line 273, in app
return self.app(e, s)
File "/backup/odoo/openerp/service/wsgi_server.py", line 215, in application
return application_unproxied(environ, start_response)
File "/backup/odoo/openerp/service/wsgi_server.py", line 201, in application_unproxied
result = handler(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1110, in call
return self.dispatch(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1087, in call
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in call
return self.app(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1087, in call
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in call
return self.app(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1087, in call
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in call
return self.app(environ, start_response)
File "/backup/odoo/openerp/http.py", line 1248, in dispatch
result = ir_http._dispatch()
File "/backup/odoo/addons/website/models/ir_http.py", line 78, in _dispatch
return super(ir_http, self)._dispatch()
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 125, in _dispatch
return self._handle_exception(e)
File "/backup/odoo/addons/website/models/ir_http.py", line 186, in _handle_exception
return super(ir_http, self)._handle_exception(exception)
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 94, in _handle_exception
return request._handle_exception(exception)
File "/backup/odoo/openerp/addons/base/ir/ir_http.py", line 121, in _dispatch
result = request.dispatch()
File "/backup/odoo/openerp/http.py", line 544, in dispatch
r = self._call_function(*_self.params)
File "/backup/odoo/openerp/http.py", line 296, in _call_function
return checked_call(self.db, *args, *_kwargs)
File "/backup/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, _args, *_kwargs)
File "/backup/odoo/openerp/http.py", line 293, in checked_call
return self.endpoint(_a, *_kw)
File "/backup/odoo/openerp/http.py", line 659, in call
return self.method(_args, *_kw)
File "/backup/odoo/openerp/http.py", line 345, in response_wrap
response = f(_args, *_kw)
File "/backup/odoo/addons/im_livechat/im_livechat.py", line 55, in loader
info = reg.get('im_livechat.channel').get_info_for_chat_src(cr, uid, channel)
File "/backup/odoo/addons/im_livechat/im_livechat.py", line 196, in get_info_for_chat_src
'buttonText': chan.button_text,
File "/backup/odoo/openerp/osv/orm.py", line 505, in getattr
return self[name]
File "/backup/odoo/openerp/osv/orm.py", line 435, in getitem
raise KeyError('Field %s not found in %s'%(name, self))
AttributeError: Got KeyError('Field button_text not found in browse_record(im_livechat.channel, 2)',) while trying to get attribute button_text on a im_livechat.channel record.
2014-05-26 16:42:31,148 16571 INFO openerp werkzeug: 127.0.0.1 - - [26/May/2014 16:42:31] "POST /web/webclient/translations HTTP/1.1" 200 -

Do I need to install any other dependencies?

Thanks,
Bader

from odoo.

PCatinean avatar PCatinean commented on June 22, 2024

The livechat script apparently tries to login with the user 'public' with password 'public'.If you turn the public user active (not active by default) and set the password to public it might have an impact

So try: update res_users set active = True where login = 'public' then set the password to 'public' and try again.Also add the public user to the channel you created

from odoo.

citec avatar citec commented on June 22, 2024

I was following all the instructions here and in other threads and nothing, but then I discovered that I need to:

1 - Activate the public user

2 - Set its password as 'public'

Then chat started working in the website and external websites :D

from odoo.

BShawabkeh avatar BShawabkeh commented on June 22, 2024

It worked like a charm!
Thank you so much for all your help I really appreciate it.

from odoo.

aksanaivanova avatar aksanaivanova commented on June 22, 2024

Hello i was following all the steps:

  1. Install gevent
  2. install psycopg2
  3. run as openerp-gevent
  4. Activate the public user
  5. set its password to public

I can have a live chat in the webpage when i access the site from internal network. When i use external network livechat is not appears.

from odoo.

ryang3d avatar ryang3d commented on June 22, 2024

Had the same problem and found a couple possible solutions. The one that worked for me was to go into Settings > Parameters > System Parameters, and edited the value of "web.base.url". In my case everything was correct, except the "s" in "https" was missing. Either way, this needs to be the exact/full address of your website.

Hope this helps!

from odoo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.