- Mailing Lists
- Contributors
- [Odoo CE 17.0] Discuss channel's chat does not update in SSL connection
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Looking for an Alternative to Odoo.sh for the Community Version
Stock Intercompany Delivery-Reception
[Odoo CE 17.0] Discuss channel's chat does not update in SSL connection
by Alejandro Párraga Alcázar - 10:25 - 2 Oct 2024
Follow-Ups
-
RE: [Odoo CE 17.0] Discuss channel's chat does not update in SSL connection
Dear Alejandro,
Odoo and Windows server is not really a good mix, we have history (Odoo 8, 11) using windows server. Odoo python libraries have differences and any faced issue in Odoo would be a pain to troubleshoot because of the ecosystem. Also nginx with IIS is another layer of configuration to proxy from IIS to nginx, unless your domain is needed to use nginx directly instead of IIS.
Most softwares are optimized for linux, so running on windows is really a pain.
I would suggest something we did for some internal services in our company. Install ubuntu (or any linux distro of your comfort) to be installed in Windows server virtual machine with (nginx, certbot, odoo, postgres) all in that virtual machine. If your domain is set in IIS then it need to be proxy’ed to the virtual machine where nginx would handle the rest.
This way you have performance and ecosystem of linux while still having windows server doing its other services.
Sincerely,
Hussain Al-Hammad | Engineering Manager
M +966 55 438 2968 | hussain.hammad@dexberts.com
From: Redes Sociales JLBBERP <notifications@odoo-community.org>
Sent: Monday, October 7, 2024 9:53 AM
To: Contributors <contributors@odoo-community.org>
Subject: Re: [Odoo CE 17.0] Discuss channel's chat does not update in SSL connectionHello everyone,
After trying to apply the fix suggested by Fernando, I forgot to mention that the problem I'm having is in a Windows Operative System, Windows Server 2022, and from my experience, I know how to use NGINX on Debian, but not on Windows. Also, I have my domain configured with IIS.
I need someone who could be able to help me with NGINX on Windows. I already downloaded it, but I don't know how to configure NGINX on Windows for my domain.
Thanks for the help.
El 03/10/2024 8:13 CEST Redes Sociales JLBBERP <redes_sociales@jlbberp.com> escribió:
Hello Fernando,
I have read your message, and I would like to thank you for answering. I will try your fix right now.
El 02/10/2024 12:42 CEST Fernando Infinity Draw <notifications@odoo-community.org> escribió:
Hi Alejandro
I have had that problem in the past, in my personal configuration. The problem was in the configuration of NGINX and how it routes the chat packets. I am not an expert on the subject and it may be something else, but I can tell you that after a lot of searching and consulting on the internet, what I discovered is that the main thing for the chat and chat notifications to work correctly via SSL, NGINX has to be configured correctly.
Taking into account that the version of NGINX that you have installed also influences to apply this configuration, I can't tell you, this one works, and this one doesn't. Since it is not the same for NGINX version 1.18 than for NGINX 1.26, but for 1.26 which is the one I currently have running, the settings that work are this bit. Logically you will have to adapt the "proxy_pass" for your specific configuration.
Trozo de "ENGINX"
# Redirect websocket requests to the odoo gevent port for part of the chat notifications to work.
location /websocket {
proxy_pass http://your_odoo_domain_running_chat_here;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
I am assuming that the odoo configuration settings in your "*.conf" file are correctly set.
I hope this helped you.El 02/10/2024 a las 10:27, Redes Sociales JLBBERP escribió:
Hello everyone,
I'm experiencing a problem in where if I connect to an Odoo CE website through their IP (HTTP connection), the discuss channel's chat live-update when someone is writing and when someone sends a message.
But if I enter through a domain with a SSL certificate (HTTPS connection), the live-update function doesn't work anymore, and neither I'm able to see who is writing on the chat.
The only temporal fix I was able to find was refreshing the website, that way the new messages appear on the chat.
Thanks in advance for the help.
Have a great day.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Hussain Hammad - 11:26 - 8 Oct 2024 -
Re: [Odoo CE 17.0] Discuss channel's chat does not update in SSL connection
Hello everyone,After trying to apply the fix suggested by Fernando, I forgot to mention that the problem I'm having is in a Windows Operative System, Windows Server 2022, and from my experience, I know how to use NGINX on Debian, but not on Windows. Also, I have my domain configured with IIS.I need someone who could be able to help me with NGINX on Windows. I already downloaded it, but I don't know how to configure NGINX on Windows for my domain.Thanks for the help.El 03/10/2024 8:13 CEST Redes Sociales JLBBERP <redes_sociales@jlbberp.com> escribió:Hello Fernando,I have read your message, and I would like to thank you for answering. I will try your fix right now.El 02/10/2024 12:42 CEST Fernando Infinity Draw <notifications@odoo-community.org> escribió:Hi Alejandro
I have had that problem in the past, in my personal configuration. The problem was in the configuration of NGINX and how it routes the chat packets. I am not an expert on the subject and it may be something else, but I can tell you that after a lot of searching and consulting on the internet, what I discovered is that the main thing for the chat and chat notifications to work correctly via SSL, NGINX has to be configured correctly.
Taking into account that the version of NGINX that you have installed also influences to apply this configuration, I can't tell you, this one works, and this one doesn't. Since it is not the same for NGINX version 1.18 than for NGINX 1.26, but for 1.26 which is the one I currently have running, the settings that work are this bit. Logically you will have to adapt the "proxy_pass" for your specific configuration.
Trozo de "ENGINX"
# Redirect websocket requests to the odoo gevent port for part of the chat notifications to work.
location /websocket {
proxy_pass http://your_odoo_domain_running_chat_here;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
I am assuming that the odoo configuration settings in your "*.conf" file are correctly set.
I hope this helped you.
El 02/10/2024 a las 10:27, Redes Sociales JLBBERP escribió:Hello everyone,I'm experiencing a problem in where if I connect to an Odoo CE website through their IP (HTTP connection), the discuss channel's chat live-update when someone is writing and when someone sends a message.But if I enter through a domain with a SSL certificate (HTTPS connection), the live-update function doesn't work anymore, and neither I'm able to see who is writing on the chat.The only temporal fix I was able to find was refreshing the website, that way the new messages appear on the chat.Thanks in advance for the help.Have a great day._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Alejandro Párraga Alcázar - 08:50 - 7 Oct 2024 -
Re: [Odoo CE 17.0] Discuss channel's chat does not update in SSL connection
Hello Fernando,I have read your message, and I would like to thank you for answering. I will try your fix right now.El 02/10/2024 12:42 CEST Fernando Infinity Draw <notifications@odoo-community.org> escribió:Hi Alejandro
I have had that problem in the past, in my personal configuration. The problem was in the configuration of NGINX and how it routes the chat packets. I am not an expert on the subject and it may be something else, but I can tell you that after a lot of searching and consulting on the internet, what I discovered is that the main thing for the chat and chat notifications to work correctly via SSL, NGINX has to be configured correctly.
Taking into account that the version of NGINX that you have installed also influences to apply this configuration, I can't tell you, this one works, and this one doesn't. Since it is not the same for NGINX version 1.18 than for NGINX 1.26, but for 1.26 which is the one I currently have running, the settings that work are this bit. Logically you will have to adapt the "proxy_pass" for your specific configuration.
Trozo de "ENGINX"
# Redirect websocket requests to the odoo gevent port for part of the chat notifications to work.
location /websocket {
proxy_pass http://your_odoo_domain_running_chat_here;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
I am assuming that the odoo configuration settings in your "*.conf" file are correctly set.
I hope this helped you.
El 02/10/2024 a las 10:27, Redes Sociales JLBBERP escribió:Hello everyone,I'm experiencing a problem in where if I connect to an Odoo CE website through their IP (HTTP connection), the discuss channel's chat live-update when someone is writing and when someone sends a message.But if I enter through a domain with a SSL certificate (HTTPS connection), the live-update function doesn't work anymore, and neither I'm able to see who is writing on the chat.The only temporal fix I was able to find was refreshing the website, that way the new messages appear on the chat.Thanks in advance for the help.Have a great day._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Alejandro Párraga Alcázar - 08:15 - 3 Oct 2024 -
Re: [Odoo CE 17.0] Discuss channel's chat does not update in SSL connection
Hi Alejandro
I have had that problem in the past, in my personal configuration. The problem was in the configuration of NGINX and how it routes the chat packets. I am not an expert on the subject and it may be something else, but I can tell you that after a lot of searching and consulting on the internet, what I discovered is that the main thing for the chat and chat notifications to work correctly via SSL, NGINX has to be configured correctly.
Taking into account that the version of NGINX that you have installed also influences to apply this configuration, I can't tell you, this one works, and this one doesn't. Since it is not the same for NGINX version 1.18 than for NGINX 1.26, but for 1.26 which is the one I currently have running, the settings that work are this bit. Logically you will have to adapt the "proxy_pass" for your specific configuration.
Trozo de "ENGINX"
# Redirect websocket requests to the odoo gevent port for part of the chat notifications to work.
location /websocket {
proxy_pass http://your_odoo_domain_running_chat_here;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
I am assuming that the odoo configuration settings in your "*.conf" file are correctly set.
I hope this helped you.
El 02/10/2024 a las 10:27, Redes Sociales JLBBERP escribió:
Hello everyone,I'm experiencing a problem in where if I connect to an Odoo CE website through their IP (HTTP connection), the discuss channel's chat live-update when someone is writing and when someone sends a message.But if I enter through a domain with a SSL certificate (HTTPS connection), the live-update function doesn't work anymore, and neither I'm able to see who is writing on the chat.The only temporal fix I was able to find was refreshing the website, that way the new messages appear on the chat.Thanks in advance for the help.Have a great day._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Fernando - 12:41 - 2 Oct 2024