Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
3035 Ansichten

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
Verwerfen
Autor Beste Antwort

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Apr. 25
830
0
Nov. 24
1209
0
Mai 24
20
0
Feb. 24
1189
2
Feb. 24
2386