Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Community Edition - Mixed content Blocker

Odoberať

Get notified when there's activity on this post

This question has been flagged
2 Replies
1847 Zobrazenia
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
Zrušiť
David Soden
Autor

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
Zrušiť
Avatar
David Soden
Autor 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
Zrušiť
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
Autor

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!

Registrácia
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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