Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Community Edition - Mixed content Blocker

Naroči se

Get notified when there's activity on this post

This question has been flagged
2 Odgovori
1848 Prikazi
Avatar
David Soden

My setup

  • Docker
    • I have tried the local windows installer - same core issue with Mixed Content
  • 2 different proxy have been tried with the same Mixed Content issue.
    • Cloudflare
      • Install the agent
      • configure the agent in the web configurator to http:localhost:8069
    • Nginx Proxy Manager
      • Poke a hole in my firewall for ports 80/443
      • Use a script to update my dns locally (configured with my data)
      • create the cert for app.omnistreamerp.com and force SSL
      • create a proxy host app.omnistreamerp.com and point it to the static IP inside my container to the odoo webserver (docker compose setup)
  • odoo.conf
    • add these entries and restart the odoo web container to apply settings
      • proxy_mode = True
      • list_db = False
  • In the database for table public.ir_config_parameter (or in the web UI settings enable dev mode > Technical > System Parameters)
    • web.base.url = https://app.omnistreamerp.com
    • web.base.url.freeze = True

When I then log into the web UI app.omnistreamerp.com and in APPS and when I activate "Website" all is good till I pick a theme/template - the page NEVER LOADS - the console shows mixed content. In another browser if I just hit app.omnistreamerp.com and do not log in (view it as a public user) the site loads perfectly FINE.


MIXED CONTENT only shows when picking a template/theme on initial setup AND/OR when one tries to edit the website then BAM you get MIXED CONTENT errors and chrome BLOCKS the site. This is NOT a proxy error this seams to be an Odoo application error with the community edition specifically. 


seams to me the proxy_mode = True setting is NOT doing its job.


if I hit view-source:https://app.omnistreamerp.com/ directly like this I can see the HTTP references - oddly this is ONLY a problem when you're either setting this up or you're trying to edit the site while being logged in - normal nonauthenticated browsing does not trigger this MIXED CONTENT problem - this IMO/IME does not seem like a proxy issue at all - given this behavior. Obviously you can add an exception to Chrome  / Edge to allow mixed content from app.omnistreamerp.com but that is not an acceptable workaround given this is an ERP system and it needs to be secure and work securely.


Setting the website domain in Configuration > Websites > selecting "My Website" has NO impact and the error also remains the same unchanged behavior. The only way to get this to work is allowing mixed content for this specific domain app.omnistreamerp.com in Chrome or Edge


0
Avatar
Opusti
David Soden
Avtor

This post I made above. No responses yet. I find it hard to believe I am the only one experiencing this. Can someone confirm if this is normal behavior or if a bug... and/or how your configuration is where this is not happening?

VENBA INFORMATION TECHNOLOGY PRIVATE LIMITED

Am facing exactly similar issue with my CE18. Any solutions would be appreciated.

Avatar
Sean Craig
Best Answer

Hello. Try setting your SSL certificate to Full or Full Strict. This is typically done in your DNS host platform. 

0
Avatar
Opusti
Avatar
David Soden
Avtor Best Answer

I finally heard from Odoo support where this had to be escalated to the supervisor level. The answer is both shocking and very disappointing with the key take away of use the CE version at your own risk because it is INSECURE. If you want security shell out the $300.00 as the problem does not exist there.

I asked my leader. He told me the reason for this situation is that the web editor function of Odoo needs to access the website using the HTTP protocol and create an iframe. However, when SSL/TLS encryption is enabled (such as using nginx), the server will block the insecure HTTP protocol, resulting in an error. You can try accessing it directly via IP using the HTTP protocol. Alternatively, you can add two parameters in the system settings of Odoo: web.base.url=your domain, and web.base.url.freeze=true. I hope this information is helpful to you. Also, don't forget to include proxy_mode and workers in the odoo.conf file.I hope it's useful for you. 

This is crazy. Just use http and basically ignore the fact it's insecure. 🤦‍♂️

0
Avatar
Opusti
Zhao Yipeng

Hi,David.I am not an Odoo support personnel, I am just a user of Odoo. I am trying to set up my company's Odoo service, and my leader also found a solution through trial and error. I posted a help request in the Odoo community before, so when my issue is resolved, I want to share my solution with you. My English is not very good, so I wonder if there has been a misunderstanding?

David Soden
Avtor

Hi Zhao,

The email that came in looked like the support emails I get, so... I thought you were finally answering my question as Odoo Support. I did not see the differentiation till your call out. Well, anyway, seems this is... not something that folks should use in a production scenario. Pay the $300. The CE is insecure.

apologies for the confusion

Enjoying the discussion? Don't just read, join in!

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

Prijavi
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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