Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

no real-time update in discuss

Subscribe

Get notified when there's activity on this post

This question has been flagged
realtimediscuss
4 Replies
6385 Views
Avatar
Nerevar

I installed the current community build of odoo 17 (followed the documentation) and got nginx running on port 443 with a let's encrypt certificate (YT tutorials hVYQd7A7PQ and HxbhC9mTMHI).


Everything seems to work but the real-time update of the dicuss module. Chat messages are only readable after refreshing the page.


Audio an video are not getting shown in meetings at all.


I've found multiple people having this issue (Starting from odoo 8 up until 17) and no working solution yet. There are some people saying to add

workers = X

to the odoo.conf where X has to be >0, but unfortunately that doesn't seem to help aswell.


Would be great to get it working.

Thank you in advance!

0
Avatar
Discard
Avatar
Cesar Ortegon
Best Answer
If you don't have the answer yet, I think 4 months is very long, I have been able to configure it after several weeks of trying everything, the truth is that the step of this issue is not clear.

The first thing is to know if you have everything in a docker. Anyway it should work if you are not in Docker.

The first thing is to configure the vhost of the server. For this case you must add to your vhost (depending on how you have it configured) for this case I am going to send configuration for ngixn: 

Edit the ngixn vhost and insert this:  

#odoo server
odoo upstream {
server 127.0.0.1:8069;
}
odoochat upstream {
server 127.0.0.1:8072;
}

map $http_upgrade $connection_upgrade {
default update;
'' near;
}

after your configuration:

server {
        listen *:80;
        listen [::]:80;
        listen *:443 ssl http2;

That's how I have it. insert this:

proxy_read_timeout 720s;
proxy_connect_timeout 720s;
proxy_send_timeout 720s;
At the end insert this:

location / {
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;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
proxy_pass http://odoo;
}

location /websocket {
proxy_pass http://odoochat;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
# proxy_set_header Upgrade "websocket";
# proxy_set_header Connection "Upgrade";
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;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect off;
}

gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
gzip on;

client_body_in_file_only clean;
client_body_buffer_size 32K;
client_max_body_size 500M;
sendfile on;
send_timeout 600s;
keepalive_timeout 300;
}

in the odoo.config configuration
you must add this:

limit_memory_hard = 2415919104
limit_memory_soft = 2013265920
limit_request = 8192
limit_time_cpu = 360
limit_real_time = 3600
limit_time_real_cron = 2
gevent_port=8072
http_port =
max_cron_threads = 1
workers = 3
websocket_keep_alive_timeout = 600
websocket_rate_limit_burst = 10
websocket_rate_limit_delay = 0.2
xmlrpc = True
xmlrpc_interface =
xmlrpc_port = 8069
xmlrpcs = True
xmlrpcs_interface =
xmlrpcs_port = 8071
proxy_mode = True

This works for me.



0
Avatar
Discard
Avatar
Kayes
Best Answer

Hi Nerevar

Did you solve this problem? I am having the same issue, and I was looking for a solution too. 

0
Avatar
Discard
Avatar
Nerevar
Author Best Answer

So I only now realized that using audio/video meetings is not implemented in the odoo package and is an external service by Twilio. Found the documentation for that. Thank you for hinting in that direction!

But what are the neccessary "server settings" that you speak of for the real time update for chat messages?

0
Avatar
Discard
Avatar
Technology Pill Business Solution
Best Answer
  1. For Real-time Chat:

    • Check if your server settings allow instant updates. It might be a setup issue with how your server communicates with Odoo.
    • Make sure your web browser isn’t blocking these updates. Sometimes, browser settings can interfere.


  2. For Audio/Video in Meetings:

    • Ensure your server has the necessary tools to handle audio/video. Some missing software might be causing the problem.
    • Check if your browser allows audio/video. Browser settings could be blocking this feature.
    ​
0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Is there a way to import chat details in discuss odoo 16
discuss
Avatar
Avatar
Avatar
2
Nov 23
3610
DISCUSS MODULE ERROR- "PLEASE WAIT"
discuss
Avatar
Avatar
1
Feb 23
3918
Remove or hide Discuss module
discuss
Avatar
Avatar
Avatar
2
Dec 22
8924
Delete/edit messages in Discuss module
discuss
Avatar
1
Mar 21
4140
Is there a way to reply on messages in both discuss or in the document chatter? Solved
discuss
Avatar
Avatar
1
Mar 24
5765
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now