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

Odoo Real Time Connection and Windows IIS

Subscribe

Get notified when there's activity on this post

This question has been flagged
2 Replies
1315 Views
Avatar
Colin Harleman

Can someone please help me configure IIS to allow the Odoo Real Time Connection to work? I have a yellow box around the screen and the message Real Time Connection Lost. I can not use the messages application at all when this message exists.

0
Avatar
Discard
Colin Harleman
Author
<system.webServer> <handlers> <add name="WebSocketHandler" path="*" verb="*" type="System.Web.Http.WebSocketHandler" resourceType="Unspecified" requireAccess="Script" /> </handlers> <webSocket enabled="true" /> </system.webServer>

This does not work. I now get a 500 error for "The requested page cannot be accessed because the related configuration data for the page is invalid." And it does not understand what "<handlers>" is. It says " This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false"." What should I do with this?

Avatar
Md. Naim Hasan Khan Jeshad
Best Answer

It sounds like the Odoo Real Time Connection is not working due to WebSocket issues, which is likely caused by IIS (Internet Information Services) not properly handling WebSocket connections. Here’s how you can configure IIS to allow WebSockets for Odoo:

Step-by-Step IIS Configuration for Odoo Real Time Connection

  1. Enable WebSockets in IIS
    • Open Server Manager → Click on Manage → Select Add Roles and Features.
    • Go to Server Roles → Expand Web Server (IIS) → Expand Application Development.
    • Check WebSocket Protocol and install it if not already enabled.
    • Restart IIS after the installation.
  2. Configure WebSocket Module in IIS
    • Open IIS Manager.
    • Select your site (the one hosting Odoo).
    • Click on Modules → Ensure that the WebSocket Module is installed and enabled.
  3. Modify Request Filtering
    • In IIS Manager, go to your Odoo site.
    • Open Request Filtering → Click on Edit Feature Settings.
    • Uncheck Allow double escaping if checked.
  4. Allow WebSockets in Web.config
    • Locate your Odoo site’s Web.config file (typically under C:\inetpub\wwwroot\Odoo or wherever your Odoo instance is installed).
    • Add the following inside the <system.webServer> section:

      <system.webServer> <handlers> <add name="WebSocketHandler" path="*" verb="*" type="System.Web.Http.WebSocketHandler" resourceType="Unspecified" requireAccess="Script" /> </handlers> <webSocket enabled="true" /> </system.webServer>

  5. Check IIS Application Pool Settings
    • Open IIS Manager.
    • Go to Application Pools.
    • Select your Odoo application pool → Click on Advanced Settings.
    • Under Process Model, set Idle Time-out (minutes) to 0 (prevents auto shutdown).
  6. Restart IIS
    • Open Command Prompt as Administrator.
    • Run:

      iisreset

Verify the Fix

  • Open Odoo in your browser and check if the yellow "Real Time Connection Lost" warning disappears.
  • Test the Messaging App and other real-time features to confirm WebSockets are working.

If the issue persists, check your firewall settings and ensure that WebSockets are allowed on port 8069 (or your Odoo instance’s port). Let me know if you need further assistance! 🚀

or Check Documentation: https://www.odoo.com/documentation/master/administration/on_premise/packages.html

0
Avatar
Discard
Avatar
Ray Carnes (ray)
Best Answer

https://www.odoo.com/documentation/master/administration/on_premise/packages.html

(You will also get better performance running a Virtual Machine within a Windows host).

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
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