Skip to Content
Menu
This question has been flagged
2 Replies
1833 Views

confuse this feature, I know odoo15 can chat with a web visitor while he/she visit our web page, but seem odoo16 is hard to show the chat view although operator is online ( open the admin panel ) 


anyone help is appreciated ! thanks!  

Avatar
Discard
Author Best Answer

Thanks FM, 

I read the document also check the process at least three times, but still not got inform from admin panel ( discuss page),  1) I open firefox then navigate to my odoo site, not login just start chat with the Welcomebot,  2) I open Chrome and then navigate to my odoo site, login with admin also open discuss page, waiting the message, but nothing received , of course, I typing continue from firefox . 


................


I think I found the reason, I got the tips form online document :


LiveChat
The second problematic subsystem for WSGI deployments is the LiveChat: where most HTTP connections are relatively short and quickly free up their worker process for the next request, LiveChat require a long-lived connection for each client in order to implement near-real-time notifications.

This is in conflict with the process-based worker model, as it will tie up worker processes and prevent new users from accessing the system. However, those long-lived connections do very little and mostly stay parked waiting for notifications.

The solutions to support livechat/motifications in a WSGI application are:

Deploy a threaded version of Odoo (instead of a process-based preforking one) and redirect only requests to URLs starting with /websocket/ to that Odoo, this is the simplest and the websocket URL can double up as the cron instance.

Deploy an evented Odoo via odoo-gevent and proxy requests starting with /websocket/ to the gevent port.



------------------------


still face problem, anyone can show  a Nginx config example that works fine on websocket (especial for IM chat) ?


thanks all!

Avatar
Discard
Best Answer

Dear,

Conversations initiated by visitors pop up as a direct message, and are shown in Discuss. Therefore, inquiries can be answered wherever you are in Odoo.

Please refer this documentation for further clarification.
https://www.odoo.com/documentation/16.0/applications/websites/livechat/overview/get_started.html

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 24
117
0
May 24
20
0
Feb 24
285
2
Feb 24
611
2
Dec 22
2768