-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to make websocket works fine, especial for IM chat #4008
Comments
Based on the error message you provided, it seems that there is an issue with the WebSocket connection between the Nginx server and the Odoo server. This can happen if there is a misconfiguration in your Nginx server that prevents it from properly handling WebSocket connections. To fix this issue, you can try adding the following configuration to your Nginx server block: This configuration will tell Nginx to handle WebSocket connections by passing them to the Odoo chat server using long polling. After adding this configuration, you should restart your Nginx server and try accessing the Odoo chat feature again. If the issue persists, you may need to check your Nginx and Odoo server logs for more information about the problem. |
Hello @icoco, I tried to reproduce this issue with the provided steps/configuration file and everything works fine on my side. Also, could you please provide the response headers? Regards. |
thanks for reply, one thing, where can find the detail configure instruction that can make the LiveChat works perfectly ? I meaning easy follow the guide step by step deploy the chat feature as expected, thanks |
Hello @icoco, https://www.odoo.com/documentation/16.0/administration/install/deploy.html?highlight=nginx#https should be enough. Can you send be the response headers you are receiving for the |
Impacted versions:16
Steps to reproduce:
open discuss page , chat with someone, but can not instant chat at all .
trace the issue , find Nginx error bellows:
Current behavior:
open discuss page , chat with someone, but can not instant chat at all , the websocket not works as expected,
Expected behavior:
Hope easy setup the IM feature
Video/Screenshot link (optional):
Support ticket number submitted via odoo.com/help (optional):
maybe not bug or issue, but I think that the online document also too simply that not easy to follow and make the great feature available, if hard deploy I think that no user happy to choice
The text was updated successfully, but these errors were encountered: